org.eclipse.ocl.cst.util
Class CSTSwitch<T>

java.lang.Object
  extended by org.eclipse.emf.ecore.util.Switch<T>
      extended by org.eclipse.ocl.cst.util.CSTSwitch<T>

public class CSTSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<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:
CSTPackage
Generated

Field Summary
protected static CSTPackage modelPackage
          The cached model package
 
Constructor Summary
CSTSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseBooleanLiteralExpCS(BooleanLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Boolean Literal Exp CS'.
 T caseCallExpCS(CallExpCS object)
          Returns the result of interpreting the object as an instance of 'Call Exp CS'.
 T caseClassifierContextDeclCS(ClassifierContextDeclCS object)
          Returns the result of interpreting the object as an instance of 'Classifier Context Decl CS'.
 T caseCollectionLiteralExpCS(CollectionLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Collection Literal Exp CS'.
 T caseCollectionLiteralPartCS(CollectionLiteralPartCS object)
          Returns the result of interpreting the object as an instance of 'Collection Literal Part CS'.
 T caseCollectionRangeCS(CollectionRangeCS object)
          Returns the result of interpreting the object as an instance of 'Collection Range CS'.
 T caseCollectionTypeCS(CollectionTypeCS object)
          Returns the result of interpreting the object as an instance of 'Collection Type CS'.
 T caseContextDeclCS(ContextDeclCS object)
          Returns the result of interpreting the object as an instance of 'Context Decl CS'.
 T caseCSTNode(CSTNode object)
          Returns the result of interpreting the object as an instance of 'Node'.
 T caseDefCS(DefCS object)
          Returns the result of interpreting the object as an instance of 'Def CS'.
 T caseDefExpressionCS(DefExpressionCS object)
          Returns the result of interpreting the object as an instance of 'Def Expression CS'.
 T caseDerValueCS(DerValueCS object)
          Returns the result of interpreting the object as an instance of 'Der Value CS'.
 T caseFeatureCallExpCS(FeatureCallExpCS object)
          Returns the result of interpreting the object as an instance of 'Feature Call Exp CS'.
 T caseIfExpCS(IfExpCS object)
          Returns the result of interpreting the object as an instance of 'If Exp CS'.
 T caseInitOrDerValueCS(InitOrDerValueCS object)
          Returns the result of interpreting the object as an instance of 'Init Or Der Value CS'.
 T caseInitValueCS(InitValueCS object)
          Returns the result of interpreting the object as an instance of 'Init Value CS'.
 T caseIntegerLiteralExpCS(IntegerLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Integer Literal Exp CS'.
 T caseInvalidLiteralExpCS(InvalidLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Invalid Literal Exp CS'.
 T caseInvCS(InvCS object)
          Returns the result of interpreting the object as an instance of 'Inv CS'.
 T caseInvOrDefCS(InvOrDefCS object)
          Returns the result of interpreting the object as an instance of 'Inv Or Def CS'.
 T caseIsMarkedPreCS(IsMarkedPreCS object)
          Returns the result of interpreting the object as an instance of 'Is Marked Pre CS'.
 T caseIterateExpCS(IterateExpCS object)
          Returns the result of interpreting the object as an instance of 'Iterate Exp CS'.
 T caseIteratorExpCS(IteratorExpCS object)
          Returns the result of interpreting the object as an instance of 'Iterator Exp CS'.
 T caseLetExpCS(LetExpCS object)
          Returns the result of interpreting the object as an instance of 'Let Exp CS'.
 T caseLiteralExpCS(LiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Literal Exp CS'.
 T caseLoopExpCS(LoopExpCS object)
          Returns the result of interpreting the object as an instance of 'Loop Exp CS'.
 T caseMessageExpCS(MessageExpCS object)
          Returns the result of interpreting the object as an instance of 'Message Exp CS'.
 T caseNullLiteralExpCS(NullLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Null Literal Exp CS'.
 T caseOCLDocumentCS(OCLDocumentCS object)
          Returns the result of interpreting the object as an instance of 'OCL Document CS'.
 T caseOCLExpressionCS(OCLExpressionCS object)
          Returns the result of interpreting the object as an instance of 'OCL Expression CS'.
 T caseOCLMessageArgCS(OCLMessageArgCS object)
          Returns the result of interpreting the object as an instance of 'OCL Message Arg CS'.
 T caseOperationCallExpCS(OperationCallExpCS object)
          Returns the result of interpreting the object as an instance of 'Operation Call Exp CS'.
 T caseOperationContextDeclCS(OperationContextDeclCS object)
          Returns the result of interpreting the object as an instance of 'Operation Context Decl CS'.
 T caseOperationCS(OperationCS object)
          Returns the result of interpreting the object as an instance of 'Operation CS'.
 T casePackageDeclarationCS(PackageDeclarationCS object)
          Returns the result of interpreting the object as an instance of 'Package Declaration CS'.
 T casePathNameCS(PathNameCS object)
          Returns the result of interpreting the object as an instance of 'Path Name CS'.
 T casePrePostOrBodyDeclCS(PrePostOrBodyDeclCS object)
          Returns the result of interpreting the object as an instance of 'Pre Post Or Body Decl CS'.
 T casePrimitiveLiteralExpCS(PrimitiveLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Primitive Literal Exp CS'.
 T casePrimitiveTypeCS(PrimitiveTypeCS object)
          Returns the result of interpreting the object as an instance of 'Primitive Type CS'.
 T casePropertyContextCS(PropertyContextCS object)
          Returns the result of interpreting the object as an instance of 'Property Context CS'.
 T caseRealLiteralExpCS(RealLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Real Literal Exp CS'.
 T caseSimpleNameCS(SimpleNameCS object)
          Returns the result of interpreting the object as an instance of 'Simple Name CS'.
 T caseStringLiteralExpCS(StringLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'String Literal Exp CS'.
 T caseTupleLiteralExpCS(TupleLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Tuple Literal Exp CS'.
 T caseTupleTypeCS(TupleTypeCS object)
          Returns the result of interpreting the object as an instance of 'Tuple Type CS'.
 T caseTypeCS(TypeCS object)
          Returns the result of interpreting the object as an instance of 'Type CS'.
 T caseUnlimitedNaturalLiteralExpCS(UnlimitedNaturalLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Unlimited Natural Literal Exp CS'.
 T caseVariableCS(VariableCS object)
          Returns the result of interpreting the object as an instance of 'Variable CS'.
 T caseVariableExpCS(VariableExpCS object)
          Returns the result of interpreting the object as an instance of 'Variable Exp CS'.
 T defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
protected  T doSwitch(int classifierID, 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.
protected  boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
          Checks whether this is a switch for the given package.
 
Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static CSTPackage modelPackage
The cached model package

Generated
Constructor Detail

CSTSwitch

public CSTSwitch()
Creates an instance of the switch.

Generated
Method Detail

isSwitchFor

protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.

Specified by:
isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
Returns:
whether this is a switch for the given package.
Generated
FiXME typo
ePackage the package in question.

doSwitch

protected T doSwitch(int classifierID,
                     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.

Overrides:
doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
Returns:
the first non-null result returned by a caseXXX call.
Generated

caseCSTNode

public T caseCSTNode(CSTNode object)
Returns the result of interpreting the object as an instance of 'Node'. 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 'Node'.
See Also:
doSwitch(EObject)
Generated

casePackageDeclarationCS

public T casePackageDeclarationCS(PackageDeclarationCS object)
Returns the result of interpreting the object as an instance of 'Package Declaration CS'. 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 'Package Declaration CS'.
See Also:
doSwitch(EObject)
Generated

caseContextDeclCS

public T caseContextDeclCS(ContextDeclCS object)
Returns the result of interpreting the object as an instance of 'Context Decl CS'. 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 'Context Decl CS'.
See Also:
doSwitch(EObject)
Generated

casePropertyContextCS

public T casePropertyContextCS(PropertyContextCS object)
Returns the result of interpreting the object as an instance of 'Property Context CS'. 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 'Property Context CS'.
See Also:
doSwitch(EObject)
Generated

caseClassifierContextDeclCS

public T caseClassifierContextDeclCS(ClassifierContextDeclCS object)
Returns the result of interpreting the object as an instance of 'Classifier Context Decl CS'. 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 'Classifier Context Decl CS'.
See Also:
doSwitch(EObject)
Generated

caseOperationContextDeclCS

public T caseOperationContextDeclCS(OperationContextDeclCS object)
Returns the result of interpreting the object as an instance of 'Operation Context Decl CS'. 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 Context Decl CS'.
See Also:
doSwitch(EObject)
Generated

casePrePostOrBodyDeclCS

public T casePrePostOrBodyDeclCS(PrePostOrBodyDeclCS object)
Returns the result of interpreting the object as an instance of 'Pre Post Or Body Decl CS'. 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 'Pre Post Or Body Decl CS'.
See Also:
doSwitch(EObject)
Generated

caseOperationCS

public T caseOperationCS(OperationCS object)
Returns the result of interpreting the object as an instance of 'Operation CS'. 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 CS'.
See Also:
doSwitch(EObject)
Generated

caseInitOrDerValueCS

public T caseInitOrDerValueCS(InitOrDerValueCS object)
Returns the result of interpreting the object as an instance of 'Init Or Der Value CS'. 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 'Init Or Der Value CS'.
See Also:
doSwitch(EObject)
Generated

caseDerValueCS

public T caseDerValueCS(DerValueCS object)
Returns the result of interpreting the object as an instance of 'Der Value CS'. 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 'Der Value CS'.
See Also:
doSwitch(EObject)
Generated

caseInitValueCS

public T caseInitValueCS(InitValueCS object)
Returns the result of interpreting the object as an instance of 'Init Value CS'. 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 'Init Value CS'.
See Also:
doSwitch(EObject)
Generated

caseInvOrDefCS

public T caseInvOrDefCS(InvOrDefCS object)
Returns the result of interpreting the object as an instance of 'Inv Or Def CS'. 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 'Inv Or Def CS'.
See Also:
doSwitch(EObject)
Generated

caseInvCS

public T caseInvCS(InvCS object)
Returns the result of interpreting the object as an instance of 'Inv CS'. 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 'Inv CS'.
See Also:
doSwitch(EObject)
Generated

caseDefCS

public T caseDefCS(DefCS object)
Returns the result of interpreting the object as an instance of 'Def CS'. 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 'Def CS'.
See Also:
doSwitch(EObject)
Generated

caseDefExpressionCS

public T caseDefExpressionCS(DefExpressionCS object)
Returns the result of interpreting the object as an instance of 'Def Expression CS'. 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 'Def Expression CS'.
See Also:
doSwitch(EObject)
Generated

casePathNameCS

public T casePathNameCS(PathNameCS object)
Returns the result of interpreting the object as an instance of 'Path Name CS'. 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 'Path Name CS'.
See Also:
doSwitch(EObject)
Generated

caseVariableExpCS

public T caseVariableExpCS(VariableExpCS object)
Returns the result of interpreting the object as an instance of 'Variable Exp CS'. 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 'Variable Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseSimpleNameCS

public T caseSimpleNameCS(SimpleNameCS object)
Returns the result of interpreting the object as an instance of 'Simple Name CS'. 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 'Simple Name CS'.
See Also:
doSwitch(EObject)
Generated

caseTypeCS

public T caseTypeCS(TypeCS object)
Returns the result of interpreting the object as an instance of 'Type CS'. 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 'Type CS'.
See Also:
doSwitch(EObject)
Generated

casePrimitiveTypeCS

public T casePrimitiveTypeCS(PrimitiveTypeCS object)
Returns the result of interpreting the object as an instance of 'Primitive Type CS'. 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 'Primitive Type CS'.
See Also:
doSwitch(EObject)
Generated

caseTupleTypeCS

public T caseTupleTypeCS(TupleTypeCS object)
Returns the result of interpreting the object as an instance of 'Tuple Type CS'. 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 'Tuple Type CS'.
See Also:
doSwitch(EObject)
Generated

caseCollectionTypeCS

public T caseCollectionTypeCS(CollectionTypeCS object)
Returns the result of interpreting the object as an instance of 'Collection Type CS'. 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 Type CS'.
See Also:
doSwitch(EObject)
Generated

caseOCLExpressionCS

public T caseOCLExpressionCS(OCLExpressionCS object)
Returns the result of interpreting the object as an instance of 'OCL Expression CS'. 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 'OCL Expression CS'.
See Also:
doSwitch(EObject)
Generated

caseLetExpCS

public T caseLetExpCS(LetExpCS object)
Returns the result of interpreting the object as an instance of 'Let Exp CS'. 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 'Let Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseIfExpCS

public T caseIfExpCS(IfExpCS object)
Returns the result of interpreting the object as an instance of 'If Exp CS'. 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 'If Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseMessageExpCS

public T caseMessageExpCS(MessageExpCS object)
Returns the result of interpreting the object as an instance of 'Message Exp CS'. 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 'Message Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseOCLMessageArgCS

public T caseOCLMessageArgCS(OCLMessageArgCS object)
Returns the result of interpreting the object as an instance of 'OCL Message Arg CS'. 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 'OCL Message Arg CS'.
See Also:
doSwitch(EObject)
Generated

caseVariableCS

public T caseVariableCS(VariableCS object)
Returns the result of interpreting the object as an instance of 'Variable CS'. 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 'Variable CS'.
See Also:
doSwitch(EObject)
Generated

caseLiteralExpCS

public T caseLiteralExpCS(LiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Literal Exp CS'. 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 'Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseCollectionLiteralExpCS

public T caseCollectionLiteralExpCS(CollectionLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Collection Literal Exp CS'. 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 Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseTupleLiteralExpCS

public T caseTupleLiteralExpCS(TupleLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Tuple Literal Exp CS'. 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 'Tuple Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

casePrimitiveLiteralExpCS

public T casePrimitiveLiteralExpCS(PrimitiveLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Primitive Literal Exp CS'. 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 'Primitive Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseIntegerLiteralExpCS

public T caseIntegerLiteralExpCS(IntegerLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Integer Literal Exp CS'. 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 'Integer Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseUnlimitedNaturalLiteralExpCS

public T caseUnlimitedNaturalLiteralExpCS(UnlimitedNaturalLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Unlimited Natural Literal Exp CS'. 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 'Unlimited Natural Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseRealLiteralExpCS

public T caseRealLiteralExpCS(RealLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Real Literal Exp CS'. 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 'Real Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseStringLiteralExpCS

public T caseStringLiteralExpCS(StringLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'String Literal Exp CS'. 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 'String Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseBooleanLiteralExpCS

public T caseBooleanLiteralExpCS(BooleanLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Boolean Literal Exp CS'. 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 'Boolean Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseCollectionLiteralPartCS

public T caseCollectionLiteralPartCS(CollectionLiteralPartCS object)
Returns the result of interpreting the object as an instance of 'Collection Literal Part CS'. 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 Literal Part CS'.
See Also:
doSwitch(EObject)
Generated

caseCollectionRangeCS

public T caseCollectionRangeCS(CollectionRangeCS object)
Returns the result of interpreting the object as an instance of 'Collection Range CS'. 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 Range CS'.
See Also:
doSwitch(EObject)
Generated

caseCallExpCS

public T caseCallExpCS(CallExpCS object)
Returns the result of interpreting the object as an instance of 'Call Exp CS'. 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 Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseLoopExpCS

public T caseLoopExpCS(LoopExpCS object)
Returns the result of interpreting the object as an instance of 'Loop Exp CS'. 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 Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseIteratorExpCS

public T caseIteratorExpCS(IteratorExpCS object)
Returns the result of interpreting the object as an instance of 'Iterator Exp CS'. 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 'Iterator Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseIterateExpCS

public T caseIterateExpCS(IterateExpCS object)
Returns the result of interpreting the object as an instance of 'Iterate Exp CS'. 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 'Iterate Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseFeatureCallExpCS

public T caseFeatureCallExpCS(FeatureCallExpCS object)
Returns the result of interpreting the object as an instance of 'Feature Call Exp CS'. 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 'Feature Call Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseOperationCallExpCS

public T caseOperationCallExpCS(OperationCallExpCS object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp CS'. 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 Call Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseIsMarkedPreCS

public T caseIsMarkedPreCS(IsMarkedPreCS object)
Returns the result of interpreting the object as an instance of 'Is Marked Pre CS'. 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 'Is Marked Pre CS'.
See Also:
doSwitch(EObject)
Generated

caseOCLDocumentCS

public T caseOCLDocumentCS(OCLDocumentCS object)
Returns the result of interpreting the object as an instance of 'OCL Document CS'. 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 'OCL Document CS'.
Since:
1.3
See Also:
doSwitch(EObject)
Generated

caseNullLiteralExpCS

public T caseNullLiteralExpCS(NullLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Null Literal Exp CS'. 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 'Null Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

caseInvalidLiteralExpCS

public T caseInvalidLiteralExpCS(InvalidLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Invalid Literal Exp CS'. 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 'Invalid Literal Exp CS'.
See Also:
doSwitch(EObject)
Generated

defaultCase

public T defaultCase(org.eclipse.emf.ecore.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 class org.eclipse.emf.ecore.util.Switch<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