Class RepoLangSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
com.palladiosimulator.textual.repository.repoLang.util.RepoLangSwitch<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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncaseComponent
(Component object) Returns the result of interpreting the object as an instance of 'Component'.Returns the result of interpreting the object as an instance of 'Composite Component'.Returns the result of interpreting the object as an instance of 'Imported Repository'.caseInterface
(Interface object) Returns the result of interpreting the object as an instance of 'Interface'.caseNamedElement
(NamedElement object) Returns the result of interpreting the object as an instance of 'Named Element'.casePassiveResource
(PassiveResource object) Returns the result of interpreting the object as an instance of 'Passive Resource'.caseRepository
(Repository object) Returns the result of interpreting the object as an instance of 'Repository'.Returns the result of interpreting the object as an instance of 'Role Specification'.Returns the result of interpreting the object as an instance of 'Seff'.Returns the result of interpreting the object as an instance of 'Seff Acquire Action'.caseSeffAction
(SeffAction object) Returns the result of interpreting the object as an instance of 'Seff Action'.caseSeffBranch
(SeffBranch object) Returns the result of interpreting the object as an instance of 'Seff Branch'.Returns the result of interpreting the object as an instance of 'Seff Call Parameter'.Returns the result of interpreting the object as an instance of 'Seff External Call Action'.caseSeffFork
(SeffFork object) Returns the result of interpreting the object as an instance of 'Seff Fork'.caseSeffForkAction
(SeffForkAction object) Returns the result of interpreting the object as an instance of 'Seff Fork Action'.Returns the result of interpreting the object as an instance of 'Seff Guarded Branch'.Returns the result of interpreting the object as an instance of 'Seff Guarded Branch Action'.Returns the result of interpreting the object as an instance of 'Seff Internal Action'.caseSeffLoopAction
(SeffLoopAction object) Returns the result of interpreting the object as an instance of 'Seff Loop Action'.Returns the result of interpreting the object as an instance of 'Seff Probabilistic Branch'.Returns the result of interpreting the object as an instance of 'Seff Probabilistic Branch Action'.Returns the result of interpreting the object as an instance of 'Seff Reference Parameter'.Returns the result of interpreting the object as an instance of 'Seff Release Action'.Returns the result of interpreting the object as an instance of 'Seff Return Parameter'.Returns the result of interpreting the object as an instance of 'Seff Set Return Action'.Returns the result of interpreting the object as an instance of 'Seff Set Variable Action'.caseSeffVariableChar
(SeffVariableChar object) Returns the result of interpreting the object as an instance of 'Seff Variable Char'.caseSignature
(Signature object) Returns the result of interpreting the object as an instance of 'Signature'.Returns the result of interpreting the object as an instance of 'Signature Parameter'.caseSubSeff
(SubSeff object) Returns the result of interpreting the object as an instance of 'Sub Seff'.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
-
RepoLangSwitch
public RepoLangSwitch()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. -
caseRepository
Returns the result of interpreting the object as an instance of 'Repository'. 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 'Repository'.
- See Also:
- Generated class or method.
-
caseImportedRepository
Returns the result of interpreting the object as an instance of 'Imported Repository'. 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 'Imported Repository'.
- 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.
-
caseInterface
Returns the result of interpreting the object as an instance of 'Interface'. 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 'Interface'.
- See Also:
- Generated class or method.
-
caseSignature
Returns the result of interpreting the object as an instance of 'Signature'. 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 'Signature'.
- See Also:
- Generated class or method.
-
caseSignatureParameter
Returns the result of interpreting the object as an instance of 'Signature Parameter'. 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 'Signature Parameter'.
- See Also:
- Generated class or method.
-
caseComponent
Returns the result of interpreting the object as an instance of 'Component'. 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 'Component'.
- See Also:
- Generated class or method.
-
caseRoleSpecification
Returns the result of interpreting the object as an instance of 'Role 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 'Role Specification'.
- See Also:
- Generated class or method.
-
caseCompositeComponent
Returns the result of interpreting the object as an instance of 'Composite Component'. 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 'Composite Component'.
- See Also:
- Generated class or method.
-
caseSeff
Returns the result of interpreting the object as an instance of '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 'Seff'.
- See Also:
- Generated class or method.
-
caseSeffAction
Returns the result of interpreting the object as an instance of 'Seff 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 'Seff Action'.
- See Also:
- Generated class or method.
-
caseSeffInternalAction
Returns the result of interpreting the object as an instance of 'Seff 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 'Seff Internal Action'.
- See Also:
- Generated class or method.
-
caseSeffAcquireAction
Returns the result of interpreting the object as an instance of 'Seff 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 'Seff Acquire Action'.
- See Also:
- Generated class or method.
-
caseSeffReleaseAction
Returns the result of interpreting the object as an instance of 'Seff 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 'Seff Release Action'.
- See Also:
- Generated class or method.
-
caseSeffLoopAction
Returns the result of interpreting the object as an instance of 'Seff 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 'Seff Loop Action'.
- See Also:
- Generated class or method.
-
caseSeffSetReturnAction
Returns the result of interpreting the object as an instance of 'Seff Set 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 'Seff Set Return Action'.
- See Also:
- Generated class or method.
-
caseSeffSetVariableAction
Returns the result of interpreting the object as an instance of 'Seff 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 'Seff Set Variable Action'.
- See Also:
- Generated class or method.
-
caseSeffExternalCallAction
Returns the result of interpreting the object as an instance of 'Seff 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 'Seff External Call Action'.
- See Also:
- Generated class or method.
-
caseSeffCallParameter
Returns the result of interpreting the object as an instance of 'Seff Call Parameter'. 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 'Seff Call Parameter'.
- See Also:
- Generated class or method.
-
caseSeffReferenceParameter
Returns the result of interpreting the object as an instance of 'Seff Reference Parameter'. 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 'Seff Reference Parameter'.
- See Also:
- Generated class or method.
-
caseSeffReturnParameter
Returns the result of interpreting the object as an instance of 'Seff Return Parameter'. 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 'Seff Return Parameter'.
- See Also:
- Generated class or method.
-
caseSeffVariableChar
Returns the result of interpreting the object as an instance of 'Seff Variable Char'. 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 'Seff Variable Char'.
- See Also:
- Generated class or method.
-
caseSeffProbabilisticBranchAction
Returns the result of interpreting the object as an instance of 'Seff Probabilistic 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 'Seff Probabilistic Branch Action'.
- See Also:
- Generated class or method.
-
caseSeffBranch
Returns the result of interpreting the object as an instance of 'Seff Branch'. 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 'Seff Branch'.
- See Also:
- Generated class or method.
-
caseSeffProbabilisticBranch
Returns the result of interpreting the object as an instance of 'Seff Probabilistic Branch'. 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 'Seff Probabilistic Branch'.
- See Also:
- Generated class or method.
-
caseSeffGuardedBranchAction
Returns the result of interpreting the object as an instance of 'Seff Guarded 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 'Seff Guarded Branch Action'.
- See Also:
- Generated class or method.
-
caseSeffGuardedBranch
Returns the result of interpreting the object as an instance of 'Seff Guarded Branch'. 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 'Seff Guarded Branch'.
- See Also:
- Generated class or method.
-
caseSeffForkAction
Returns the result of interpreting the object as an instance of 'Seff 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 'Seff Fork Action'.
- See Also:
- Generated class or method.
-
caseSeffFork
Returns the result of interpreting the object as an instance of 'Seff Fork'. 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 'Seff Fork'.
- See Also:
- Generated class or method.
-
caseSubSeff
Returns the result of interpreting the object as an instance of 'Sub 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 'Sub Seff'.
- See Also:
- Generated class or method.
-
casePassiveResource
Returns the result of interpreting the object as an instance of 'Passive Resource'. 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'.
- 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.
-