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
-
public class EmfmodelAddMeasurementToDataSeriesSwitch extends ExperimentDataSwitch<Boolean>
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
Constructors Constructor Description EmfmodelAddMeasurementToDataSeriesSwitch(MeasurementsDaoRegistry daoRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Q extends javax.measure.quantity.Quantity>
BooleancaseDoubleBinaryMeasurements(DoubleBinaryMeasurements<Q> object)
Returns the result of interpreting the object as an instance of ' Double Binary Measurements'.Boolean
caseIdentifierBasedMeasurements(IdentifierBasedMeasurements object)
Returns the result of interpreting the object as an instance of ' Identifier Based Measurements'.Boolean
caseJSXmlMeasurements(JSXmlMeasurements object)
Returns the result of interpreting the object as an instance of 'JS Xml Measurements '.Boolean
caseLongBinaryMeasurements(LongBinaryMeasurements object)
Returns the result of interpreting the object as an instance of ' Long Binary Measurements'.Object
getMeasurementToAdd()
void
setMeasurementToAdd(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 Detail
-
EmfmodelAddMeasurementToDataSeriesSwitch
public EmfmodelAddMeasurementToDataSeriesSwitch(MeasurementsDaoRegistry daoRegistry)
-
-
Method Detail
-
caseIdentifierBasedMeasurements
public Boolean caseIdentifierBasedMeasurements(IdentifierBasedMeasurements object)
Description copied from class:ExperimentDataSwitch
Returns 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:
caseIdentifierBasedMeasurements
in 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:
doSwitch(EObject)
-
caseJSXmlMeasurements
public Boolean caseJSXmlMeasurements(JSXmlMeasurements object)
Description copied from class:ExperimentDataSwitch
Returns 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:
caseJSXmlMeasurements
in 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:
doSwitch(EObject)
-
caseDoubleBinaryMeasurements
public <Q extends javax.measure.quantity.Quantity> Boolean caseDoubleBinaryMeasurements(DoubleBinaryMeasurements<Q> object)
Description copied from class:ExperimentDataSwitch
Returns 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:
caseDoubleBinaryMeasurements
in 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:
doSwitch(EObject)
-
caseLongBinaryMeasurements
public Boolean caseLongBinaryMeasurements(LongBinaryMeasurements object)
Description copied from class:ExperimentDataSwitch
Returns 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:
caseLongBinaryMeasurements
in 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:
doSwitch(EObject)
-
getMeasurementToAdd
public Object getMeasurementToAdd()
- Returns:
- the measurementToAdd
-
setMeasurementToAdd
public void setMeasurementToAdd(javax.measure.Measure<?,?> measurementToAdd)
- Parameters:
measurementToAdd
- the measurementToAdd to set
-
-