Class StatisticsSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
kieker.model.analysismodel.statistics.util.StatisticsSwitch<T>
public class StatisticsSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
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:
StatisticsPackage
- Generated:
-
Field Summary
Fields Modifier and Type Field Description protected static StatisticsPackage
modelPackage
The cached model package -
Constructor Summary
Constructors Constructor Description StatisticsSwitch()
Creates an instance of the switch. -
Method Summary
Modifier and Type Method Description T
caseComposedUnit(ComposedUnit object)
Returns the result of interpreting the object as an instance of 'Composed Unit'.T
caseCustomUnit(CustomUnit object)
Returns the result of interpreting the object as an instance of 'Custom Unit'.T
caseDoubleMeasurement(DoubleMeasurement object)
Returns the result of interpreting the object as an instance of 'Double Measurement'.T
caseEObjectToStatisticsMapEntry(java.util.Map.Entry<org.eclipse.emf.ecore.EObject,StatisticRecord> object)
Returns the result of interpreting the object as an instance of 'EObject To Statistics Map Entry'.T
caseEPropertyTypeToValue(java.util.Map.Entry<java.lang.String,java.lang.Object> object)
Returns the result of interpreting the object as an instance of 'EProperty Type To Value'.T
caseFloatMeasurement(FloatMeasurement object)
Returns the result of interpreting the object as an instance of 'Float Measurement'.T
caseIntMeasurement(IntMeasurement object)
Returns the result of interpreting the object as an instance of 'Int Measurement'.T
caseLongMeasurement(LongMeasurement object)
Returns the result of interpreting the object as an instance of 'Long Measurement'.T
caseMeasurement(Measurement object)
Returns the result of interpreting the object as an instance of 'Measurement'.T
caseScalarMeasurement(ScalarMeasurement object)
Returns the result of interpreting the object as an instance of 'Scalar Measurement'.T
caseSimpleUnit(SimpleUnit object)
Returns the result of interpreting the object as an instance of 'Simple Unit'.T
caseSIUnit(SIUnit object)
Returns the result of interpreting the object as an instance of 'SI Unit'.T
caseStatisticRecord(StatisticRecord object)
Returns the result of interpreting the object as an instance of 'Statistic Record'.T
caseStatisticsModel(StatisticsModel object)
Returns the result of interpreting the object as an instance of 'Model'.T
caseUnit(Unit object)
Returns the result of interpreting the object as an instance of 'Unit'.T
caseVectorMeasurement(VectorMeasurement object)
Returns the result of interpreting the object as an instance of 'Vector Measurement'.T
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
-
Field Details
-
modelPackage
The cached model package- Generated:
-
-
Constructor Details
-
StatisticsSwitch
public StatisticsSwitch()Creates an instance of the switch.- Generated:
-
-
Method Details
-
isSwitchFor
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated:
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitch
in classorg.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call. - Generated:
-
caseStatisticRecord
Returns the result of interpreting the object as an instance of 'Statistic Record'. 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 'Statistic Record'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseEPropertyTypeToValue
Returns the result of interpreting the object as an instance of 'EProperty Type To Value'. 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 'EProperty Type To Value'.
- See Also:
doSwitch(EObject)
- Generated:
-
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:
doSwitch(EObject)
- Generated:
-
caseScalarMeasurement
Returns the result of interpreting the object as an instance of 'Scalar 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 'Scalar Measurement'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseVectorMeasurement
Returns the result of interpreting the object as an instance of 'Vector 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 'Vector Measurement'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseIntMeasurement
Returns the result of interpreting the object as an instance of 'Int 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 'Int Measurement'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseLongMeasurement
Returns the result of interpreting the object as an instance of 'Long 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 'Long Measurement'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseFloatMeasurement
Returns the result of interpreting the object as an instance of 'Float 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 'Float Measurement'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseDoubleMeasurement
Returns the result of interpreting the object as an instance of 'Double 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 'Double Measurement'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseUnit
Returns the result of interpreting the object as an instance of 'Unit'. 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 'Unit'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseComposedUnit
Returns the result of interpreting the object as an instance of 'Composed Unit'. 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 'Composed Unit'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseSimpleUnit
Returns the result of interpreting the object as an instance of 'Simple Unit'. 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 'Simple Unit'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseSIUnit
Returns the result of interpreting the object as an instance of 'SI Unit'. 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 'SI Unit'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseCustomUnit
Returns the result of interpreting the object as an instance of 'Custom Unit'. 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 'Custom Unit'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseStatisticsModel
Returns the result of interpreting the object as an instance of 'Model'. 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 'Model'.
- See Also:
doSwitch(EObject)
- Generated:
-
caseEObjectToStatisticsMapEntry
public T caseEObjectToStatisticsMapEntry(java.util.Map.Entry<org.eclipse.emf.ecore.EObject,StatisticRecord> object)Returns the result of interpreting the object as an instance of 'EObject To Statistics 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 'EObject To Statistics Map Entry'.
- See Also:
doSwitch(EObject)
- Generated:
-
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 classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
- Generated:
-