java.lang.Objectorg.eclipse.gmt.umlx.eqvtc.cst.util.EqvtcCSTSwitch<T>
public class EqvtcCSTSwitch<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.
EqvtcCSTPackage
Constructor Summary | |
---|---|
EqvtcCSTSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAreaCS(AreaCS object)
Returns the result of interpreting the object as an instance of 'Area CS'. |
T |
caseAssignmentCS(AssignmentCS object)
Returns the result of interpreting the object as an instance of 'Assignment CS'. |
T |
caseBottomPatternCS(BottomPatternCS object)
Returns the result of interpreting the object as an instance of 'Bottom Pattern CS'. |
T |
caseCSTNode(org.eclipse.ocl.internal.cst.CSTNode object)
Returns the result of interpreting the object as an instance of 'Node'. |
T |
caseDirectionCS(DirectionCS object)
Returns the result of interpreting the object as an instance of 'Direction CS'. |
T |
caseDomainCS(DomainCS object)
Returns the result of interpreting the object as an instance of 'Domain CS'. |
T |
caseGuardPatternCS(GuardPatternCS object)
Returns the result of interpreting the object as an instance of 'Guard Pattern CS'. |
T |
caseIdentifiedCSTNode(IdentifiedCSTNode object)
Returns the result of interpreting the object as an instance of 'Identified CST Node'. |
T |
caseIdentifierCS(IdentifierCS object)
Returns the result of interpreting the object as an instance of 'Identifier CS'. |
T |
caseMappingCS(MappingCS object)
Returns the result of interpreting the object as an instance of 'Mapping CS'. |
T |
caseOCLExpressionCS(org.eclipse.ocl.internal.cst.OCLExpressionCS object)
Returns the result of interpreting the object as an instance of 'OCL Expression CS'. |
T |
casePatternCS(PatternCS object)
Returns the result of interpreting the object as an instance of 'Pattern CS'. |
T |
caseRealizeableVariableCS(RealizeableVariableCS object)
Returns the result of interpreting the object as an instance of 'Realizeable Variable CS'. |
T |
caseRealizedVariableCS(RealizedVariableCS object)
Returns the result of interpreting the object as an instance of 'Realized Variable CS'. |
T |
caseTopLevelCS(TopLevelCS object)
Returns the result of interpreting the object as an instance of 'Top Level CS'. |
T |
caseTransformationCS(TransformationCS object)
Returns the result of interpreting the object as an instance of 'Transformation CS'. |
T |
caseUnrealizedVariableCS(UnrealizedVariableCS object)
Returns the result of interpreting the object as an instance of 'Unrealized Variable CS'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
T |
doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EqvtcCSTSwitch()
Method Detail |
---|
public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public T caseAreaCS(AreaCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAssignmentCS(AssignmentCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseBottomPatternCS(BottomPatternCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDirectionCS(DirectionCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifierCS(IdentifierCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMappingCS(MappingCS object)
object
- the target of the switch.
doSwitch(EObject)
public T casePatternCS(PatternCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRealizeableVariableCS(RealizeableVariableCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTopLevelCS(TopLevelCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTransformationCS(TransformationCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUnrealizedVariableCS(UnrealizedVariableCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDomainCS(DomainCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseGuardPatternCS(GuardPatternCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifiedCSTNode(IdentifiedCSTNode object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRealizedVariableCS(RealizedVariableCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCSTNode(org.eclipse.ocl.internal.cst.CSTNode object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOCLExpressionCS(org.eclipse.ocl.internal.cst.OCLExpressionCS object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)