public class EssentialOCLCSSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
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.
EssentialOCLCSPackage
Modifier and Type | Field and Description |
---|---|
protected static EssentialOCLCSPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
EssentialOCLCSSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAbstractNameExpCS(AbstractNameExpCS object)
Returns the result of interpreting the object as an instance of 'Abstract Name Exp CS'.
|
T |
caseAssociationClassCallExpCS(AssociationClassCallExpCS object)
Returns the result of interpreting the object as an instance of 'Association Class Call Exp CS'.
|
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 |
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 |
caseCollectionPatternCS(CollectionPatternCS object)
Returns the result of interpreting the object as an instance of 'Collection Pattern 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 |
caseContextLessElementCS(ContextLessElementCS object)
Returns the result of interpreting the object as an instance of 'Context Less Element CS'.
|
T |
caseCurlyBracketedClauseCS(CurlyBracketedClauseCS object)
Returns the result of interpreting the object as an instance of 'Curly Bracketed Clause CS'.
|
T |
caseElementCS(ElementCS object)
Returns the result of interpreting the object as an instance of 'Element CS'.
|
T |
caseElementRefCS(ElementRefCS object)
Returns the result of interpreting the object as an instance of 'Element Ref 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 |
caseIfThenExpCS(IfThenExpCS object)
Returns the result of interpreting the object as an instance of 'If Then 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 |
caseIterateCallExpCS(IterateCallExpCS object)
Returns the result of interpreting the object as an instance of 'Iterate Call Exp CS'.
|
T |
caseIterationCallExpCS(IterationCallExpCS object)
Returns the result of interpreting the object as an instance of 'Iteration Call Exp CS'.
|
T |
caseLambdaLiteralExpCS(LambdaLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Lambda 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 |
caseMapLiteralExpCS(MapLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Map Literal Exp CS'.
|
T |
caseMapLiteralPartCS(MapLiteralPartCS object)
Returns the result of interpreting the object as an instance of 'Map Literal Part CS'.
|
T |
caseMapTypeCS(MapTypeCS object)
Returns the result of interpreting the object as an instance of 'Map Type CS'.
|
T |
caseModelElementCS(ModelElementCS object)
Returns the result of interpreting the object as an instance of 'Model 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 |
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 |
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 |
caseOperationCallExpCS(OperationCallExpCS object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp CS'.
|
T |
caseOperatorExpCS(OperatorExpCS object)
Returns the result of interpreting the object as an instance of 'Operator Exp CS'.
|
T |
casePatternExpCS(PatternExpCS object)
Returns the result of interpreting the object as an instance of 'Pattern Exp CS'.
|
T |
casePivotable(Pivotable object)
Returns the result of interpreting the object as an instance of 'Pivotable'.
|
T |
casePivotableElementCS(PivotableElementCS object)
Returns the result of interpreting the object as an instance of 'Pivotable Element CS'.
|
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 |
casePropertyCallExpCS(PropertyCallExpCS object)
Returns the result of interpreting the object as an instance of 'Property Call Exp CS'.
|
T |
caseRootCS(RootCS object)
Returns the result of interpreting the object as an instance of 'Root CS'.
|
T |
caseRoundBracketedClauseCS(RoundBracketedClauseCS object)
Returns the result of interpreting the object as an instance of 'Round Bracketed Clause CS'.
|
T |
caseSelfExpCS(SelfExpCS object)
Returns the result of interpreting the object as an instance of 'Self Exp CS'.
|
T |
caseShadowExpCS(ShadowExpCS object)
Returns the result of interpreting the object as an instance of 'Shadow Exp CS'.
|
T |
caseShadowPartCS(ShadowPartCS object)
Returns the result of interpreting the object as an instance of 'Shadow Part CS'.
|
T |
caseSpecificationCS(SpecificationCS object)
Returns the result of interpreting the object as an instance of 'Specification CS'.
|
T |
caseSquareBracketedClauseCS(SquareBracketedClauseCS object)
Returns the result of interpreting the object as an instance of 'Square Bracketed Clause 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 |
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 |
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.
|
protected static EssentialOCLCSPackage modelPackage
public EssentialOCLCSSwitch()
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
ePackage
- the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T caseAbstractNameExpCS(AbstractNameExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseAssociationClassCallExpCS(AssociationClassCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseBooleanLiteralExpCS(BooleanLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCallExpCS(CallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCollectionLiteralExpCS(CollectionLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCollectionLiteralPartCS(CollectionLiteralPartCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCollectionPatternCS(CollectionPatternCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCollectionTypeCS(CollectionTypeCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseContextCS(ContextCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCurlyBracketedClauseCS(CurlyBracketedClauseCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseExpCS(ExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseExpSpecificationCS(ExpSpecificationCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseIfExpCS(IfExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseIfThenExpCS(IfThenExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseInfixExpCS(InfixExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseInvalidLiteralExpCS(InvalidLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseIterateCallExpCS(IterateCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseIterationCallExpCS(IterationCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLambdaLiteralExpCS(LambdaLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLetExpCS(LetExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLetVariableCS(LetVariableCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLiteralExpCS(LiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMapLiteralExpCS(MapLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMapLiteralPartCS(MapLiteralPartCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMapTypeCS(MapTypeCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseNameExpCS(NameExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseNavigatingArgCS(NavigatingArgCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseNestedExpCS(NestedExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseNullLiteralExpCS(NullLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseNumberLiteralExpCS(NumberLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperationCallExpCS(OperationCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperatorExpCS(OperatorExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePatternExpCS(PatternExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePrefixExpCS(PrefixExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePrimitiveLiteralExpCS(PrimitiveLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePropertyCallExpCS(PropertyCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseRoundBracketedClauseCS(RoundBracketedClauseCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseSelfExpCS(SelfExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseShadowExpCS(ShadowExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseShadowPartCS(ShadowPartCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseSquareBracketedClauseCS(SquareBracketedClauseCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseStringLiteralExpCS(StringLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTupleLiteralExpCS(TupleLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTupleLiteralPartCS(TupleLiteralPartCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypeLiteralExpCS(TypeLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypeNameExpCS(TypeNameExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseUnlimitedNaturalLiteralExpCS(UnlimitedNaturalLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseVariableCS(VariableCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseVariableExpCS(VariableExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseVisitableCS(VisitableCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseElementCS(ElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePivotable(Pivotable object)
object
- the target of the switch.doSwitch(EObject)
public T casePivotableElementCS(PivotableElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelElementCS(ModelElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseNameable(Nameable object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamedElementCS(NamedElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseElementRefCS(ElementRefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypeRefCS(TypeRefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypedRefCS(TypedRefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseRootCS(RootCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseContextLessElementCS(ContextLessElementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseSpecificationCS(SpecificationCS object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)