Class PcmmeasuringpointSwitch<T>
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.palladiosimulator.pcmmeasuringpoint.util.PcmmeasuringpointSwitch<T>
-
public class PcmmeasuringpointSwitch<T> extends Switch<T>
The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)
to invoke thecaseXXX
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:
PcmmeasuringpointPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static PcmmeasuringpointPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description PcmmeasuringpointSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseActiveResourceMeasuringPoint(ActiveResourceMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Active Resource Measuring Point'.T
caseActiveResourceReference(ActiveResourceReference object)
Returns the result of interpreting the object as an instance of ' Active Resource Reference'.T
caseAssemblyOperationMeasuringPoint(AssemblyOperationMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Assembly Operation Measuring Point'.T
caseAssemblyPassiveResourceMeasuringPoint(AssemblyPassiveResourceMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Assembly Passive Resource Measuring Point'.T
caseAssemblyReference(AssemblyReference object)
Returns the result of interpreting the object as an instance of 'Assembly Reference '.T
caseEntryLevelSystemCallMeasuringPoint(EntryLevelSystemCallMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Entry Level System Call Measuring Point'.T
caseEntryLevelSystemCallReference(EntryLevelSystemCallReference object)
Returns the result of interpreting the object as an instance of ' Entry Level System Call Reference'.T
caseExternalCallActionMeasuringPoint(ExternalCallActionMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' External Call Action Measuring Point'.T
caseExternalCallActionReference(ExternalCallActionReference object)
Returns the result of interpreting the object as an instance of ' External Call Action Reference'.T
caseLinkingResourceMeasuringPoint(LinkingResourceMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Linking Resource Measuring Point'.T
caseLinkingResourceReference(LinkingResourceReference object)
Returns the result of interpreting the object as an instance of ' Linking Resource Reference'.T
caseMeasuringPoint(org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint object)
Returns the result of interpreting the object as an instance of 'Measuring Point'.T
caseOperationReference(OperationReference object)
Returns the result of interpreting the object as an instance of 'Operation Reference '.T
casePassiveResourceReference(PassiveResourceReference object)
Returns the result of interpreting the object as an instance of ' Passive Resource Reference'.T
caseResourceContainerMeasuringPoint(ResourceContainerMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Resource Container Measuring Point'.T
caseResourceContainerReference(ResourceContainerReference object)
Returns the result of interpreting the object as an instance of ' Resource Container Reference'.T
caseResourceEnvironmentMeasuringPoint(ResourceEnvironmentMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Resource Environment Measuring Point'.T
caseResourceEnvironmentReference(ResourceEnvironmentReference object)
Returns the result of interpreting the object as an instance of ' Resource Environment Reference'.T
caseSubSystemOperationMeasuringPoint(SubSystemOperationMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Sub System Operation Measuring Point'.T
caseSubSystemReference(SubSystemReference object)
Returns the result of interpreting the object as an instance of ' Sub System Reference'.T
caseSystemOperationMeasuringPoint(SystemOperationMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' System Operation Measuring Point'.T
caseSystemReference(SystemReference object)
Returns the result of interpreting the object as an instance of 'System Reference'.T
caseUsageScenarioMeasuringPoint(UsageScenarioMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Usage Scenario Measuring Point'.T
caseUsageScenarioReference(UsageScenarioReference object)
Returns the result of interpreting the object as an instance of ' Usage Scenario Reference'.T
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch(int classifierID, EObject theEObject)
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 Detail
-
modelPackage
protected static PcmmeasuringpointPackage modelPackage
The cached model package- Generated class or method.
-
-
Method Detail
-
isSwitchFor
protected boolean isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classSwitch<T>
- Returns:
- whether this is a switch for the given package.
- Generated class or method.
-
doSwitch
protected T doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
caseAssemblyOperationMeasuringPoint
public T caseAssemblyOperationMeasuringPoint(AssemblyOperationMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Assembly Operation Measuring Point'. 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 ' Assembly Operation Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAssemblyPassiveResourceMeasuringPoint
public T caseAssemblyPassiveResourceMeasuringPoint(AssemblyPassiveResourceMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Assembly Passive Resource Measuring Point'. 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 ' Assembly Passive Resource Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseActiveResourceMeasuringPoint
public T caseActiveResourceMeasuringPoint(ActiveResourceMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Active Resource Measuring Point'. 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 ' Active Resource Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSystemOperationMeasuringPoint
public T caseSystemOperationMeasuringPoint(SystemOperationMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' System Operation Measuring Point'. 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 ' System Operation Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseOperationReference
public T caseOperationReference(OperationReference object)
Returns the result of interpreting the object as an instance of 'Operation Reference '. 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 'Operation Reference '.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAssemblyReference
public T caseAssemblyReference(AssemblyReference object)
Returns the result of interpreting the object as an instance of 'Assembly Reference '. 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 'Assembly Reference '.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSystemReference
public T caseSystemReference(SystemReference object)
Returns the result of interpreting the object as an instance of 'System Reference'. 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 'System Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePassiveResourceReference
public T casePassiveResourceReference(PassiveResourceReference object)
Returns the result of interpreting the object as an instance of ' Passive Resource Reference'. 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 ' Passive Resource Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseActiveResourceReference
public T caseActiveResourceReference(ActiveResourceReference object)
Returns the result of interpreting the object as an instance of ' Active Resource Reference'. 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 ' Active Resource Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseLinkingResourceMeasuringPoint
public T caseLinkingResourceMeasuringPoint(LinkingResourceMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Linking Resource Measuring Point'. 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 ' Linking Resource Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseLinkingResourceReference
public T caseLinkingResourceReference(LinkingResourceReference object)
Returns the result of interpreting the object as an instance of ' Linking Resource Reference'. 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 ' Linking Resource Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSubSystemOperationMeasuringPoint
public T caseSubSystemOperationMeasuringPoint(SubSystemOperationMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Sub System Operation Measuring Point'. 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 ' Sub System Operation Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSubSystemReference
public T caseSubSystemReference(SubSystemReference object)
Returns the result of interpreting the object as an instance of ' Sub System Reference'. 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 ' Sub System Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseUsageScenarioMeasuringPoint
public T caseUsageScenarioMeasuringPoint(UsageScenarioMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Usage Scenario Measuring Point'. 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 ' Usage Scenario Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseUsageScenarioReference
public T caseUsageScenarioReference(UsageScenarioReference object)
Returns the result of interpreting the object as an instance of ' Usage Scenario Reference'. 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 ' Usage Scenario Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseEntryLevelSystemCallMeasuringPoint
public T caseEntryLevelSystemCallMeasuringPoint(EntryLevelSystemCallMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Entry Level System Call Measuring Point'. 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 ' Entry Level System Call Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseExternalCallActionMeasuringPoint
public T caseExternalCallActionMeasuringPoint(ExternalCallActionMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' External Call Action Measuring Point'. 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 ' External Call Action Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseExternalCallActionReference
public T caseExternalCallActionReference(ExternalCallActionReference object)
Returns the result of interpreting the object as an instance of ' External Call Action Reference'. 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 ' External Call Action Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseEntryLevelSystemCallReference
public T caseEntryLevelSystemCallReference(EntryLevelSystemCallReference object)
Returns the result of interpreting the object as an instance of ' Entry Level System Call Reference'. 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 ' Entry Level System Call Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseResourceEnvironmentMeasuringPoint
public T caseResourceEnvironmentMeasuringPoint(ResourceEnvironmentMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Resource Environment Measuring Point'. 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 ' Resource Environment Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseResourceEnvironmentReference
public T caseResourceEnvironmentReference(ResourceEnvironmentReference object)
Returns the result of interpreting the object as an instance of ' Resource Environment Reference'. 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 ' Resource Environment Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseResourceContainerMeasuringPoint
public T caseResourceContainerMeasuringPoint(ResourceContainerMeasuringPoint object)
Returns the result of interpreting the object as an instance of ' Resource Container Measuring Point'. 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 ' Resource Container Measuring Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseResourceContainerReference
public T caseResourceContainerReference(ResourceContainerReference object)
Returns the result of interpreting the object as an instance of ' Resource Container Reference'. 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 ' Resource Container Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseMeasuringPoint
public T caseMeasuringPoint(org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint object)
Returns the result of interpreting the object as an instance of 'Measuring Point'. 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 Point'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
defaultCase
public T defaultCase(EObject object)
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:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
- Generated class or method.
-
-