|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.util.Switch<T>
org.eclipse.ocl.examples.xtext.essentialocl.essentialoclcs.util.EssentialOCLCSSwitch<T>
public class EssentialOCLCSSwitch<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.
EssentialOCLCSPackage
Field Summary | |
---|---|
protected static EssentialOCLCSPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
EssentialOCLCSSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAbstractNameExpCS(AbstractNameExpCS object)
Returns the result of interpreting the object as an instance of 'Abstract Name Exp CS'. |
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 |
caseConstructorExpCS(ConstructorExpCS object)
Returns the result of interpreting the object as an instance of 'Constructor Exp CS'. |
T |
caseConstructorPartCS(ConstructorPartCS object)
Returns the result of interpreting the object as an instance of 'Constructor Part CS'. |
T |
caseContextCS(ContextCS object)
Returns the result of interpreting the object as an instance of 'Context 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 |
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 |
caseInvocationExpCS(InvocationExpCS object)
Returns the result of interpreting the object as an instance of 'Invocation 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 |
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 |
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 |
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 |
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 |
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 |
---|
protected static EssentialOCLCSPackage modelPackage
Constructor Detail |
---|
public EssentialOCLCSSwitch()
Method Detail |
---|
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
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 caseBinaryOperatorCS(BinaryOperatorCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseBooleanLiteralExpCS(BooleanLiteralExpCS 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 caseCollectionTypeCS(CollectionTypeCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConstructorExpCS(ConstructorExpCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConstructorPartCS(ConstructorPartCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseContextCS(ContextCS 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 caseIndexExpCS(IndexExpCS 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 caseInvocationExpCS(InvocationExpCS 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 caseNameExpCS(NameExpCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNamedExpCS(NamedExpCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNavigatingArgCS(NavigatingArgCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNavigationOperatorCS(NavigationOperatorCS 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 caseOperatorCS(OperatorCS 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 caseSelfExpCS(SelfExpCS 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 caseUnaryOperatorCS(UnaryOperatorCS 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 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 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |