|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ecore.util.Switch<T> org.eclipse.ocl.examples.xtext.essentialocl.essentialOCLCST.util.EssentialOCLCSTSwitch<T>
public class EssentialOCLCSTSwitch<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.
EssentialOCLCSTPackage
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 |
---|
protected static EssentialOCLCSTPackage modelPackage
Constructor Detail |
---|
public EssentialOCLCSTSwitch()
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 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 caseContextCS(ContextCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDecoratedNamedExpCS(DecoratedNamedExpCS 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 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 caseNavigatingExpCS(NavigatingExpCS 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 caseSimpleNamedExpCS(SimpleNamedExpCS 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 caseModelElementCS(ModelElementCS object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMonikeredElementCS(MonikeredElementCS 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 caseParameterableElementCS(ParameterableElementCS 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 |