Class ExperimentDataSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.edp2.models.ExperimentData.util.ExperimentDataSwitch<T>
- Direct Known Subclasses:
DAOFromBelowRawMeasurementSwitch
,EmfmodelAddMeasurementToDataSeriesSwitch
,EmfmodelDataSeriesFromReferenceSwitch
,EmfmodelExtensionSwitch
The Switch for the model's inheritance hierarchy.
It supports the call
doSwitch(object)
to invoke the caseXXX
method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
- See Also:
- Generated class or method.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Aggregated Measurements'.Returns the result of interpreting the object as an instance of 'Aggregation Statistics'.caseDataSeries
(DataSeries object) Returns the result of interpreting the object as an instance of 'Data Series'.<Q extends javax.measure.quantity.Quantity>
TReturns the result of interpreting the object as an instance of 'Double Binary Measurements'.caseEComparable
(Comparable object) Returns the result of interpreting the object as an instance of 'EComparable'.Returns the result of interpreting the object as an instance of 'EStringto EObject Map Entry'.caseExperimentGroup
(ExperimentGroup object) Returns the result of interpreting the object as an instance of 'Experiment Group'.Returns the result of interpreting the object as an instance of 'Experiment Group Run'.caseExperimentRun
(ExperimentRun object) Returns the result of interpreting the object as an instance of 'Experiment Run'.Returns the result of interpreting the object as an instance of 'Experiment Setting'.caseFixedIntervals
(FixedIntervals object) Returns the result of interpreting the object as an instance of 'Fixed Intervals'.Returns the result of interpreting the object as an instance of 'Fixed Width Aggregated Measurements'.caseIdentifier
(de.uka.ipd.sdq.identifier.Identifier object) Returns the result of interpreting the object as an instance of 'Identifier'.Returns the result of interpreting the object as an instance of 'Identifier Based Measurements'.caseIJSDuration
(javax.measure.quantity.Duration object) Returns the result of interpreting the object as an instance of 'IJS Duration'.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'.caseMeasurement
(Measurement object) Returns the result of interpreting the object as an instance of 'Measurement'.caseMeasurementRange
(MeasurementRange object) Returns the result of interpreting the object as an instance of 'Measurement Range'.caseMeasuringType
(MeasuringType object) Returns the result of interpreting the object as an instance of 'Measuring Type'.Returns the result of interpreting the object as an instance of 'Numerical Interval Statistics'.Returns the result of interpreting the object as an instance of 'Numerical Mass Distribution'.Returns the result of interpreting the object as an instance of 'Numerical Nominal Statistics'.Returns the result of interpreting the object as an instance of 'Numerical Ordinal Statistics'.Returns the result of interpreting the object as an instance of 'Numerical Percentile'.Returns the result of interpreting the object as an instance of 'Numerical Ratio Statistics'.casePropertyable
(Propertyable object) Returns the result of interpreting the object as an instance of 'Propertyable'.caseRawMeasurements
(RawMeasurements object) Returns the result of interpreting the object as an instance of 'Raw Measurements'.Returns the result of interpreting the object as an instance of 'Run'.Returns the result of interpreting the object as an instance of 'Textual Mass Distribution'.Returns the result of interpreting the object as an instance of 'Textual Nominal Statistics'.Returns the result of interpreting the object as an instance of 'Textual Ordinal Statistics'.defaultCase
(EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor
(EPackage ePackage) Checks whether this is a switch for the given package.
-
Field Details
-
modelPackage
The cached model package- Generated class or method.
-
-
Constructor Details
-
ExperimentDataSwitch
public ExperimentDataSwitch()Creates an instance of the switch.- Generated class or method.
-
-
Method Details
-
isSwitchFor
Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classSwitch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated class or method.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result. -
caseAggregatedMeasurements
Returns the result of interpreting the object as an instance of 'Aggregated Measurements'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Aggregated Measurements'.
- See Also:
- Generated class or method.
-
caseMeasurementRange
Returns the result of interpreting the object as an instance of 'Measurement Range'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Measurement Range'.
- See Also:
- Generated class or method.
-
casePropertyable
Returns the result of interpreting the object as an instance of 'Propertyable'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Propertyable'.
- See Also:
- Generated class or method.
-
caseEStringtoEObjectMapEntry
Returns the result of interpreting the object as an instance of 'EStringto EObject Map Entry'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EStringto EObject Map Entry'.
- See Also:
- Generated class or method.
-
caseRawMeasurements
Returns the result of interpreting the object as an instance of 'Raw Measurements'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Raw Measurements'.
- See Also:
- Generated class or method.
-
caseDataSeries
Returns the result of interpreting the object as an instance of 'Data Series'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Data Series'.
- See Also:
- Generated class or method.
-
caseNumericalNominalStatistics
Returns the result of interpreting the object as an instance of 'Numerical Nominal Statistics'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Numerical Nominal Statistics'.
- See Also:
- Generated class or method.
-
caseNumericalMassDistribution
Returns the result of interpreting the object as an instance of 'Numerical Mass Distribution'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Numerical Mass Distribution'.
- See Also:
- Generated class or method.
-
caseFixedWidthAggregatedMeasurements
Returns the result of interpreting the object as an instance of 'Fixed Width Aggregated Measurements'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Fixed Width Aggregated Measurements'.
- See Also:
- Generated class or method.
-
caseFixedIntervals
Returns the result of interpreting the object as an instance of 'Fixed Intervals'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Fixed Intervals'.
- See Also:
- Generated class or method.
-
caseTextualNominalStatistics
Returns the result of interpreting the object as an instance of 'Textual Nominal Statistics'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Textual Nominal Statistics'.
- See Also:
- Generated class or method.
-
caseTextualMassDistribution
Returns the result of interpreting the object as an instance of 'Textual Mass Distribution'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Textual Mass Distribution'.
- See Also:
- Generated class or method.
-
caseExperimentGroup
Returns the result of interpreting the object as an instance of 'Experiment Group'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Experiment Group'.
- See Also:
- Generated class or method.
-
caseExperimentSetting
Returns the result of interpreting the object as an instance of 'Experiment Setting'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Experiment Setting'.
- See Also:
- Generated class or method.
-
caseExperimentRun
Returns the result of interpreting the object as an instance of 'Experiment Run'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Experiment Run'.
- See Also:
- Generated class or method.
-
caseMeasurement
Returns the result of interpreting the object as an instance of 'Measurement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Measurement'.
- See Also:
- Generated class or method.
-
caseMeasuringType
Returns the result of interpreting the object as an instance of 'Measuring Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Measuring Type'.
- See Also:
- Generated class or method.
-
caseAggregationStatistics
Returns the result of interpreting the object as an instance of 'Aggregation Statistics'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Aggregation Statistics'.
- See Also:
- Generated class or method.
-
caseDoubleBinaryMeasurements
public <Q extends javax.measure.quantity.Quantity> T caseDoubleBinaryMeasurements(DoubleBinaryMeasurements<Q> object) 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.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Double Binary Measurements'.
- See Also:
- Generated class or method.
-
caseNumericalIntervalStatistics
Returns the result of interpreting the object as an instance of 'Numerical Interval Statistics'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Numerical Interval Statistics'.
- See Also:
- Generated class or method.
-
caseNumericalOrdinalStatistics
Returns the result of interpreting the object as an instance of 'Numerical Ordinal Statistics'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Numerical Ordinal Statistics'.
- See Also:
- Generated class or method.
-
caseNumericalPercentile
Returns the result of interpreting the object as an instance of 'Numerical Percentile'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Numerical Percentile'.
- See Also:
- Generated class or method.
-
caseJSXmlMeasurements
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.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'JS Xml Measurements'.
- See Also:
- Generated class or method.
-
caseLongBinaryMeasurements
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.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Long Binary Measurements'.
- See Also:
- Generated class or method.
-
caseIdentifierBasedMeasurements
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.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Identifier Based Measurements'.
- See Also:
- Generated class or method.
-
caseNumericalRatioStatistics
Returns the result of interpreting the object as an instance of 'Numerical Ratio Statistics'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Numerical Ratio Statistics'.
- See Also:
- Generated class or method.
-
caseIJSDuration
Returns the result of interpreting the object as an instance of 'IJS Duration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'IJS Duration'.
- See Also:
- Generated class or method.
-
caseEComparable
Returns the result of interpreting the object as an instance of 'EComparable'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EComparable'.
- See Also:
- Generated class or method.
-
caseTextualOrdinalStatistics
Returns the result of interpreting the object as an instance of 'Textual Ordinal Statistics'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Textual Ordinal Statistics'.
- See Also:
- Generated class or method.
-
caseRun
Returns the result of interpreting the object as an instance of 'Run'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Run'.
- See Also:
- Generated class or method.
-
caseExperimentGroupRun
Returns the result of interpreting the object as an instance of 'Experiment Group Run'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Experiment Group Run'.
- See Also:
- Generated class or method.
-
caseIdentifier
Returns the result of interpreting the object as an instance of 'Identifier'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Identifier'.
- See Also:
- Generated class or method.
-
defaultCase
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCase
in classSwitch<T>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
- Generated class or method.
-