Class SeffSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.pcm.seff.util.SeffSwitch<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:
- Generated class or method.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected static SeffPackage
The cached model package -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncaseAbstractAction
(AbstractAction object) Returns the result of interpreting the object as an instance of 'Abstract Action'.Returns the result of interpreting the object as an instance of 'Abstract Branch Transition'.Returns the result of interpreting the object as an instance of 'Abstract Internal Control Flow Action'.Returns the result of interpreting the object as an instance of 'Abstract Loop Action'.caseAcquireAction
(AcquireAction object) Returns the result of interpreting the object as an instance of 'Acquire Action'.caseBranchAction
(BranchAction object) Returns the result of interpreting the object as an instance of 'Branch Action'.caseCallAction
(CallAction object) Returns the result of interpreting the object as an instance of 'Call Action'.caseCallReturnAction
(CallReturnAction object) Returns the result of interpreting the object as an instance of 'Call Return Action'.Returns the result of interpreting the object as an instance of 'Collection Iterator Action'.caseEmitEventAction
(EmitEventAction object) Returns the result of interpreting the object as an instance of 'Emit Event Action'.caseEntity
(Entity object) Returns the result of interpreting the object as an instance of 'Entity'.Returns the result of interpreting the object as an instance of 'External Call Action'.Returns the result of interpreting the object as an instance of 'Failure Handling Entity'.caseForkAction
(ForkAction object) Returns the result of interpreting the object as an instance of 'Fork Action'.caseForkedBehaviour
(ForkedBehaviour object) Returns the result of interpreting the object as an instance of 'Forked Behaviour'.Returns the result of interpreting the object as an instance of 'Guarded Branch Transition'.caseIdentifier
(de.uka.ipd.sdq.identifier.Identifier object) Returns the result of interpreting the object as an instance of 'Identifier'.caseInternalAction
(InternalAction object) Returns the result of interpreting the object as an instance of 'Internal Action'.Returns the result of interpreting the object as an instance of 'Internal Call Action'.caseLoopAction
(LoopAction object) Returns the result of interpreting the object as an instance of 'Loop Action'.caseNamedElement
(NamedElement object) Returns the result of interpreting the object as an instance of 'Named Element'.casePCMBaseClass
(PCMBaseClass object) Returns the result of interpreting the object as an instance of 'PCM Base Class'.casePCMClass
(PCMClass object) Returns the result of interpreting the object as an instance of 'PCM Class'.Returns the result of interpreting the object as an instance of 'Probabilistic Branch Transition'.caseReleaseAction
(ReleaseAction object) Returns the result of interpreting the object as an instance of 'Release Action'.Returns the result of interpreting the object as an instance of 'Resource Demanding Behaviour'.Returns the result of interpreting the object as an instance of 'Resource Demanding Internal Behaviour'.Returns the result of interpreting the object as an instance of 'Resource Demanding SEFF'.Returns the result of interpreting the object as an instance of 'Service Effect Specification'.Returns the result of interpreting the object as an instance of 'Set Variable Action'.caseStartAction
(StartAction object) Returns the result of interpreting the object as an instance of 'Start Action'.caseStopAction
(StopAction object) Returns the result of interpreting the object as an instance of 'Stop Action'.Returns the result of interpreting the object as an instance of 'Synchronisation Point'.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
-
copyright
- See Also:
- Generated class or method.
-
modelPackage
The cached model package- Generated class or method.
-
-
Constructor Details
-
SeffSwitch
public SeffSwitch()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. -
caseStopAction
Returns the result of interpreting the object as an instance of 'Stop Action'. 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 'Stop Action'.
- See Also:
- Generated class or method.
-
caseAbstractInternalControlFlowAction
Returns the result of interpreting the object as an instance of 'Abstract Internal Control Flow Action'. 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 'Abstract Internal Control Flow Action'.
- See Also:
- Generated class or method.
-
caseAbstractAction
Returns the result of interpreting the object as an instance of 'Abstract Action'. 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 'Abstract Action'.
- See Also:
- Generated class or method.
-
caseResourceDemandingBehaviour
Returns the result of interpreting the object as an instance of 'Resource Demanding Behaviour'. 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 Demanding Behaviour'.
- See Also:
- Generated class or method.
-
caseAbstractLoopAction
Returns the result of interpreting the object as an instance of 'Abstract Loop Action'. 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 'Abstract Loop Action'.
- See Also:
- Generated class or method.
-
caseAbstractBranchTransition
Returns the result of interpreting the object as an instance of 'Abstract Branch Transition'. 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 'Abstract Branch Transition'.
- See Also:
- Generated class or method.
-
caseBranchAction
Returns the result of interpreting the object as an instance of 'Branch Action'. 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 'Branch Action'.
- See Also:
- Generated class or method.
-
caseCallAction
Returns the result of interpreting the object as an instance of 'Call Action'. 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 'Call Action'.
- See Also:
- Generated class or method.
-
caseStartAction
Returns the result of interpreting the object as an instance of 'Start Action'. 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 'Start Action'.
- See Also:
- Generated class or method.
-
caseServiceEffectSpecification
Returns the result of interpreting the object as an instance of 'Service Effect Specification'. 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 'Service Effect Specification'.
- See Also:
- Generated class or method.
-
caseResourceDemandingSEFF
Returns the result of interpreting the object as an instance of 'Resource Demanding SEFF'. 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 Demanding SEFF'.
- See Also:
- Generated class or method.
-
caseResourceDemandingInternalBehaviour
Returns the result of interpreting the object as an instance of 'Resource Demanding Internal Behaviour'. 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 Demanding Internal Behaviour'.
- See Also:
- Generated class or method.
-
caseReleaseAction
Returns the result of interpreting the object as an instance of 'Release Action'. 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 'Release Action'.
- See Also:
- Generated class or method.
-
caseLoopAction
Returns the result of interpreting the object as an instance of 'Loop Action'. 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 'Loop Action'.
- See Also:
- Generated class or method.
-
caseForkAction
Returns the result of interpreting the object as an instance of 'Fork Action'. 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 'Fork Action'.
- See Also:
- Generated class or method.
-
caseForkedBehaviour
Returns the result of interpreting the object as an instance of 'Forked Behaviour'. 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 'Forked Behaviour'.
- See Also:
- Generated class or method.
-
caseSynchronisationPoint
Returns the result of interpreting the object as an instance of 'Synchronisation 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 'Synchronisation Point'.
- See Also:
- Generated class or method.
-
caseExternalCallAction
Returns the result of interpreting the object as an instance of 'External Call Action'. 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'.
- See Also:
- Generated class or method.
-
caseCallReturnAction
Returns the result of interpreting the object as an instance of 'Call Return Action'. 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 'Call Return Action'.
- See Also:
- Generated class or method.
-
caseProbabilisticBranchTransition
Returns the result of interpreting the object as an instance of 'Probabilistic Branch Transition'. 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 'Probabilistic Branch Transition'.
- See Also:
- Generated class or method.
-
caseAcquireAction
Returns the result of interpreting the object as an instance of 'Acquire Action'. 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 'Acquire Action'.
- See Also:
- Generated class or method.
-
caseCollectionIteratorAction
Returns the result of interpreting the object as an instance of 'Collection Iterator Action'. 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 'Collection Iterator Action'.
- See Also:
- Generated class or method.
-
caseGuardedBranchTransition
Returns the result of interpreting the object as an instance of 'Guarded Branch Transition'. 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 'Guarded Branch Transition'.
- See Also:
- Generated class or method.
-
caseSetVariableAction
Returns the result of interpreting the object as an instance of 'Set Variable Action'. 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 'Set Variable Action'.
- See Also:
- Generated class or method.
-
caseInternalCallAction
Returns the result of interpreting the object as an instance of 'Internal Call Action'. 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 'Internal Call Action'.
- See Also:
- Generated class or method.
-
caseEmitEventAction
Returns the result of interpreting the object as an instance of 'Emit Event Action'. 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 'Emit Event Action'.
- See Also:
- Generated class or method.
-
caseInternalAction
Returns the result of interpreting the object as an instance of 'Internal Action'. 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 'Internal Action'.
- 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.
-
casePCMClass
Returns the result of interpreting the object as an instance of 'PCM Class'. 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 'PCM Class'.
- See Also:
- Generated class or method.
-
casePCMBaseClass
Returns the result of interpreting the object as an instance of 'PCM Base Class'. 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 'PCM Base Class'.
- See Also:
- Generated class or method.
-
caseNamedElement
Returns the result of interpreting the object as an instance of 'Named Element'. 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 'Named Element'.
- See Also:
- Generated class or method.
-
caseEntity
Returns the result of interpreting the object as an instance of 'Entity'. 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 'Entity'.
- See Also:
- Generated class or method.
-
caseFailureHandlingEntity
Returns the result of interpreting the object as an instance of 'Failure Handling Entity'. 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 'Failure Handling Entity'.
- 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.
-