java.lang.Objectorg.eclipse.gmt.umlx.eqvtr.cst.util.EqvtrCSTSwitch<T>
public class EqvtrCSTSwitch<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.
EqvtrCSTPackage
Constructor Summary | |
---|---|
EqvtrCSTSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAbstractDomainCS(AbstractDomainCS object)
Returns the result of interpretting the object as an instance of 'Abstract Domain CS'. |
T |
caseCollectionTemplateCS(CollectionTemplateCS object)
Returns the result of interpretting the object as an instance of 'Collection Template CS'. |
T |
caseCSTNode(org.eclipse.ocl.internal.cst.CSTNode object)
Returns the result of interpretting the object as an instance of 'Node'. |
T |
caseDefaultValueCS(DefaultValueCS object)
Returns the result of interpretting the object as an instance of 'Default Value CS'. |
T |
caseDomainCS(DomainCS object)
Returns the result of interpretting the object as an instance of 'Domain CS'. |
T |
caseIdentifiedCS(IdentifiedCS object)
Returns the result of interpretting the object as an instance of 'Identified CS'. |
T |
caseIdentifierCS(IdentifierCS object)
Returns the result of interpretting the object as an instance of 'Identifier CS'. |
T |
caseKeyDeclCS(KeyDeclCS object)
Returns the result of interpretting the object as an instance of 'Key Decl CS'. |
T |
caseModelDeclCS(ModelDeclCS object)
Returns the result of interpretting the object as an instance of 'Model Decl CS'. |
T |
caseObjectTemplateCS(ObjectTemplateCS object)
Returns the result of interpretting the object as an instance of 'Object Template CS'. |
T |
caseOCLExpressionCS(org.eclipse.ocl.internal.cst.OCLExpressionCS object)
Returns the result of interpretting the object as an instance of 'OCL Expression CS'. |
T |
caseOppositePropertyIdCS(OppositePropertyIdCS object)
Returns the result of interpretting the object as an instance of 'Opposite Property Id CS'. |
T |
caseParamDeclarationCS(ParamDeclarationCS object)
Returns the result of interpretting the object as an instance of 'Param Declaration CS'. |
T |
casePrimitiveTypeDomainCS(PrimitiveTypeDomainCS object)
Returns the result of interpretting the object as an instance of 'Primitive Type Domain CS'. |
T |
casePropertyTemplateCS(PropertyTemplateCS object)
Returns the result of interpretting the object as an instance of 'Property Template CS'. |
T |
caseQueryCS(QueryCS object)
Returns the result of interpretting the object as an instance of 'Query CS'. |
T |
caseRelationCS(RelationCS object)
Returns the result of interpretting the object as an instance of 'Relation CS'. |
T |
caseTemplateCS(TemplateCS object)
Returns the result of interpretting the object as an instance of 'Template CS'. |
T |
caseTemplateVariableCS(TemplateVariableCS object)
Returns the result of interpretting the object as an instance of 'Template Variable CS'. |
T |
caseTopLevelCS(TopLevelCS object)
Returns the result of interpretting the object as an instance of 'Top Level CS'. |
T |
caseTransformationCS(TransformationCS object)
Returns the result of interpretting the object as an instance of 'Transformation CS'. |
T |
caseUnitCS(UnitCS object)
Returns the result of interpretting the object as an instance of 'Unit CS'. |
T |
caseVarDeclarationCS(VarDeclarationCS object)
Returns the result of interpretting the object as an instance of 'Var Declaration CS'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting 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 EqvtrCSTSwitch()
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 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 caseIdentifierCS(IdentifierCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModelDeclCS(ModelDeclCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseKeyDeclCS(KeyDeclCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRelationCS(RelationCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseQueryCS(QueryCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDomainCS(DomainCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUnitCS(UnitCS object)
object
- the target of the switch.
doSwitch(EObject)
public T casePrimitiveTypeDomainCS(PrimitiveTypeDomainCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVarDeclarationCS(VarDeclarationCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifiedCS(IdentifiedCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDefaultValueCS(DefaultValueCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAbstractDomainCS(AbstractDomainCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOppositePropertyIdCS(OppositePropertyIdCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTemplateVariableCS(TemplateVariableCS object)
object
- the target of the switch.
doSwitch(EObject)
public T casePropertyTemplateCS(PropertyTemplateCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTemplateCS(TemplateCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseObjectTemplateCS(ObjectTemplateCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCollectionTemplateCS(CollectionTemplateCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseParamDeclarationCS(ParamDeclarationCS 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)