org.eclipse.ocl.examples.xtext.essentialocl.essentialOCLCST.util
Class EssentialOCLCSTSwitch<T>

java.lang.Object
  extended by org.eclipse.emf.ecore.util.Switch<T>
      extended by org.eclipse.ocl.examples.xtext.essentialocl.essentialOCLCST.util.EssentialOCLCSTSwitch<T>

public class EssentialOCLCSTSwitch<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:
EssentialOCLCSTPackage
Generated

Field Summary
protected static EssentialOCLCSTPackage modelPackage
          The cached model package
 
Constructor Summary
EssentialOCLCSTSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseBinaryOperatorCS(BinaryOperatorCS object)
          Returns the result of interpreting the object as an instance of 'Binary Operator CS'.
 T caseBooleanLiteralExpCS(BooleanLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Boolean Literal Exp 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 caseCollectionTypeCS(CollectionTypeCS object)
          Returns the result of interpreting the object as an instance of 'Collection Type CS'.
 T caseContextCS(ContextCS object)
          Returns the result of interpreting the object as an instance of 'Context CS'.
 T caseDecoratedNamedExpCS(DecoratedNamedExpCS object)
          Returns the result of interpreting the object as an instance of 'Decorated Named Exp CS'.
 T caseElementCS(ElementCS object)
          Returns the result of interpreting the object as an instance of 'Element CS'.
 T caseExpCS(ExpCS object)
          Returns the result of interpreting the object as an instance of 'Exp CS'.
 T caseExpSpecificationCS(ExpSpecificationCS object)
          Returns the result of interpreting the object as an instance of 'Exp Specification CS'.
 T caseIfExpCS(IfExpCS object)
          Returns the result of interpreting the object as an instance of 'If Exp CS'.
 T caseIndexExpCS(IndexExpCS object)
          Returns the result of interpreting the object as an instance of 'Index Exp CS'.
 T caseInfixExpCS(InfixExpCS object)
          Returns the result of interpreting the object as an instance of 'Infix Exp CS'.
 T caseInvalidLiteralExpCS(InvalidLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Invalid Literal Exp CS'.
 T caseLetExpCS(LetExpCS object)
          Returns the result of interpreting the object as an instance of 'Let Exp CS'.
 T caseLetVariableCS(LetVariableCS object)
          Returns the result of interpreting the object as an instance of 'Let Variable CS'.
 T caseLiteralExpCS(LiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Literal Exp CS'.
 T caseModelElementCS(ModelElementCS object)
          Returns the result of interpreting the object as an instance of 'Model Element CS'.
 T caseMonikeredElementCS(MonikeredElementCS object)
          Returns the result of interpreting the object as an instance of 'Monikered Element CS'.
 T caseNameable(Nameable object)
          Returns the result of interpreting the object as an instance of 'Nameable'.
 T caseNamedElementCS(NamedElementCS object)
          Returns the result of interpreting the object as an instance of 'Named Element CS'.
 T caseNamedExpCS(NamedExpCS object)
          Returns the result of interpreting the object as an instance of 'Named Exp CS'.
 T caseNameExpCS(NameExpCS object)
          Returns the result of interpreting the object as an instance of 'Name Exp CS'.
 T caseNavigatingArgCS(NavigatingArgCS object)
          Returns the result of interpreting the object as an instance of 'Navigating Arg CS'.
 T caseNavigatingExpCS(NavigatingExpCS object)
          Returns the result of interpreting the object as an instance of 'Navigating Exp CS'.
 T caseNavigationOperatorCS(NavigationOperatorCS object)
          Returns the result of interpreting the object as an instance of 'Navigation Operator CS'.
 T caseNestedExpCS(NestedExpCS object)
          Returns the result of interpreting the object as an instance of 'Nested Exp CS'.
 T caseNullLiteralExpCS(NullLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Null Literal Exp CS'.
 T caseNumberLiteralExpCS(NumberLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Number Literal Exp CS'.
 T caseOperatorCS(OperatorCS object)
          Returns the result of interpreting the object as an instance of 'Operator CS'.
 T caseParameterableElementCS(ParameterableElementCS object)
          Returns the result of interpreting the object as an instance of 'Parameterable Element CS'.
 T casePivotable(Pivotable object)
          Returns the result of interpreting the object as an instance of 'Pivotable'.
 T casePrefixExpCS(PrefixExpCS object)
          Returns the result of interpreting the object as an instance of 'Prefix Exp CS'.
 T casePrimitiveLiteralExpCS(PrimitiveLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Primitive Literal Exp CS'.
 T caseRootCS(RootCS object)
          Returns the result of interpreting the object as an instance of 'Root CS'.
 T caseSelfExpCS(SelfExpCS object)
          Returns the result of interpreting the object as an instance of 'Self Exp CS'.
 T caseSimpleNamedExpCS(SimpleNamedExpCS object)
          Returns the result of interpreting the object as an instance of 'Simple Named Exp CS'.
 T caseSpecificationCS(SpecificationCS object)
          Returns the result of interpreting the object as an instance of 'Specification 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 caseTupleLiteralPartCS(TupleLiteralPartCS object)
          Returns the result of interpreting the object as an instance of 'Tuple Literal Part CS'.
 T caseTypedRefCS(TypedRefCS object)
          Returns the result of interpreting the object as an instance of 'Typed Ref CS'.
 T caseTypeLiteralExpCS(TypeLiteralExpCS object)
          Returns the result of interpreting the object as an instance of 'Type Literal Exp CS'.
 T caseTypeNameExpCS(TypeNameExpCS object)
          Returns the result of interpreting the object as an instance of 'Type Name Exp CS'.
 T caseTypeRefCS(TypeRefCS object)
          Returns the result of interpreting the object as an instance of 'Type Ref CS'.
 T caseUnaryOperatorCS(UnaryOperatorCS object)
          Returns the result of interpreting the object as an instance of 'Unary Operator 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 caseVisitableCS(VisitableCS object)
          Returns the result of interpreting the object as an instance of 'Visitable 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 EssentialOCLCSTPackage modelPackage
The cached model package

Generated
Constructor Detail

EssentialOCLCSTSwitch

public EssentialOCLCSTSwitch()
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

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

caseBinaryOperatorCS

public T caseBinaryOperatorCS(BinaryOperatorCS object)
Returns the result of interpreting the object as an instance of 'Binary Operator 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 'Binary Operator 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

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

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

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

caseContextCS

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

caseDecoratedNamedExpCS

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

caseExpCS

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

caseExpSpecificationCS

public T caseExpSpecificationCS(ExpSpecificationCS object)
Returns the result of interpreting the object as an instance of 'Exp Specification 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 'Exp Specification 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

caseIndexExpCS

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

caseInfixExpCS

public T caseInfixExpCS(InfixExpCS object)
Returns the result of interpreting the object as an instance of 'Infix 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 'Infix 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

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

caseLetVariableCS

public T caseLetVariableCS(LetVariableCS object)
Returns the result of interpreting the object as an instance of 'Let 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 'Let 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

caseNameExpCS

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

caseNamedExpCS

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

caseNavigatingArgCS

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

caseNavigatingExpCS

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

caseNavigationOperatorCS

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

caseNestedExpCS

public T caseNestedExpCS(NestedExpCS object)
Returns the result of interpreting the object as an instance of 'Nested 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 'Nested Exp CS'.
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

caseNumberLiteralExpCS

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

caseOperatorCS

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

casePrefixExpCS

public T casePrefixExpCS(PrefixExpCS object)
Returns the result of interpreting the object as an instance of 'Prefix 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 'Prefix 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

caseSelfExpCS

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

caseSimpleNamedExpCS

public T caseSimpleNamedExpCS(SimpleNamedExpCS object)
Returns the result of interpreting the object as an instance of 'Simple Named 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 'Simple Named 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

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

caseTupleLiteralPartCS

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

caseTypeLiteralExpCS

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

caseTypeNameExpCS

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

caseUnaryOperatorCS

public T caseUnaryOperatorCS(UnaryOperatorCS object)
Returns the result of interpreting the object as an instance of 'Unary Operator 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 'Unary Operator 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

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

caseVisitableCS

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

caseElementCS

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

casePivotable

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

caseModelElementCS

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

caseMonikeredElementCS

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

caseNameable

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

caseNamedElementCS

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

caseParameterableElementCS

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

caseTypeRefCS

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

caseTypedRefCS

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

caseRootCS

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

caseSpecificationCS

public T caseSpecificationCS(SpecificationCS object)
Returns the result of interpreting the object as an instance of 'Specification 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 'Specification 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