Class EmfmodelAddMeasurementToDataSeriesSwitch
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.edp2.models.ExperimentData.util.ExperimentDataSwitch<Boolean>
org.palladiosimulator.edp2.util.visitors.EmfmodelAddMeasurementToDataSeriesSwitch
Switch class to add a provided measurement to a data series.
-
Field Summary
Fields inherited from class org.palladiosimulator.edp2.models.ExperimentData.util.ExperimentDataSwitch
modelPackage -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescription<Q extends javax.measure.quantity.Quantity>
BooleanReturns the result of interpreting the object as an instance of 'Double Binary Measurements'.Returns the result of interpreting the object as an instance of 'Identifier Based Measurements'.Returns the result of interpreting the object as an instance of 'JS Xml Measurements'.Returns the result of interpreting the object as an instance of 'Long Binary Measurements'.voidsetMeasurementToAdd(javax.measure.Measure<?, ?> measurementToAdd) Methods inherited from class org.palladiosimulator.edp2.models.ExperimentData.util.ExperimentDataSwitch
caseAggregatedMeasurements, caseAggregationStatistics, caseDataSeries, caseEComparable, caseEStringtoEObjectMapEntry, caseExperimentGroup, caseExperimentGroupRun, caseExperimentRun, caseExperimentSetting, caseFixedIntervals, caseFixedWidthAggregatedMeasurements, caseIdentifier, caseIJSDuration, caseMeasurement, caseMeasurementRange, caseMeasuringType, caseNumericalIntervalStatistics, caseNumericalMassDistribution, caseNumericalNominalStatistics, caseNumericalOrdinalStatistics, caseNumericalPercentile, caseNumericalRatioStatistics, casePropertyable, caseRawMeasurements, caseRun, caseTextualMassDistribution, caseTextualNominalStatistics, caseTextualOrdinalStatistics, defaultCase, doSwitch, isSwitchFor
-
Constructor Details
-
EmfmodelAddMeasurementToDataSeriesSwitch
-
-
Method Details
-
caseIdentifierBasedMeasurements
Description copied from class:ExperimentDataSwitchReturns the result of interpreting the object as an instance of 'Identifier Based Measurements'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseIdentifierBasedMeasurementsin classExperimentDataSwitch<Boolean>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Identifier Based Measurements'.
- See Also:
-
caseJSXmlMeasurements
Description copied from class:ExperimentDataSwitchReturns the result of interpreting the object as an instance of 'JS Xml Measurements'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseJSXmlMeasurementsin classExperimentDataSwitch<Boolean>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'JS Xml Measurements'.
- See Also:
-
caseDoubleBinaryMeasurements
public <Q extends javax.measure.quantity.Quantity> Boolean caseDoubleBinaryMeasurements(DoubleBinaryMeasurements<Q> object) Description copied from class:ExperimentDataSwitchReturns the result of interpreting the object as an instance of 'Double Binary Measurements'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseDoubleBinaryMeasurementsin classExperimentDataSwitch<Boolean>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Double Binary Measurements'.
- See Also:
-
caseLongBinaryMeasurements
Description copied from class:ExperimentDataSwitchReturns the result of interpreting the object as an instance of 'Long Binary Measurements'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseLongBinaryMeasurementsin classExperimentDataSwitch<Boolean>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Long Binary Measurements'.
- See Also:
-
getMeasurementToAdd
- Returns:
- the measurementToAdd
-
setMeasurementToAdd
public void setMeasurementToAdd(javax.measure.Measure<?, ?> measurementToAdd) - Parameters:
measurementToAdd- the measurementToAdd to set
-