|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ocl.expressions.util.ExpressionsSwitch
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.
ExpressionsPackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
protected static ExpressionsPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
ExpressionsSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
java.lang.Object |
caseAssociationClassCallExp(AssociationClassCallExp object)
Returns the result of interpretting the object as an instance of 'Association Class Call Exp' |
java.lang.Object |
caseASTNode(ASTNode object)
Returns the result of interpretting the object as an instance of 'AST Node' |
java.lang.Object |
caseBooleanLiteralExp(BooleanLiteralExp object)
Returns the result of interpretting the object as an instance of 'Boolean Literal Exp' |
java.lang.Object |
caseCallExp(CallExp object)
Returns the result of interpretting the object as an instance of 'Call Exp' |
java.lang.Object |
caseCallingASTNode(CallingASTNode object)
Returns the result of interpretting the object as an instance of 'Calling AST Node' |
java.lang.Object |
caseCollectionItem(CollectionItem object)
Returns the result of interpretting the object as an instance of 'Collection Item' |
java.lang.Object |
caseCollectionLiteralExp(CollectionLiteralExp object)
Returns the result of interpretting the object as an instance of 'Collection Literal Exp' |
java.lang.Object |
caseCollectionLiteralPart(CollectionLiteralPart object)
Returns the result of interpretting the object as an instance of 'Collection Literal Part' |
java.lang.Object |
caseCollectionRange(CollectionRange object)
Returns the result of interpretting the object as an instance of 'Collection Range' |
java.lang.Object |
caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
Returns the result of interpretting the object as an instance of 'EModel Element' |
java.lang.Object |
caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
Returns the result of interpretting the object as an instance of 'ENamed Element' |
java.lang.Object |
caseEnumLiteralExp(EnumLiteralExp object)
Returns the result of interpretting the object as an instance of 'Enum Literal Exp' |
java.lang.Object |
caseFeatureCallExp(FeatureCallExp object)
Returns the result of interpretting the object as an instance of 'Feature Call Exp' |
java.lang.Object |
caseIfExp(IfExp object)
Returns the result of interpretting the object as an instance of 'If Exp' |
java.lang.Object |
caseIntegerLiteralExp(IntegerLiteralExp object)
Returns the result of interpretting the object as an instance of 'Integer Literal Exp' |
java.lang.Object |
caseInvalidLiteralExp(InvalidLiteralExp object)
Returns the result of interpretting the object as an instance of 'Invalid Literal Exp' |
java.lang.Object |
caseIterateExp(IterateExp object)
Returns the result of interpretting the object as an instance of 'Iterate Exp' |
java.lang.Object |
caseIteratorExp(IteratorExp object)
Returns the result of interpretting the object as an instance of 'Iterator Exp' |
java.lang.Object |
caseLetExp(LetExp object)
Returns the result of interpretting the object as an instance of 'Let Exp' |
java.lang.Object |
caseLiteralExp(LiteralExp object)
Returns the result of interpretting the object as an instance of 'Literal Exp' |
java.lang.Object |
caseLoopExp(LoopExp object)
Returns the result of interpretting the object as an instance of 'Loop Exp' |
java.lang.Object |
caseMessageExp(MessageExp object)
Returns the result of interpretting the object as an instance of 'Message Exp' |
java.lang.Object |
caseNavigationCallExp(NavigationCallExp object)
Returns the result of interpretting the object as an instance of 'Navigation Call Exp' |
java.lang.Object |
caseNullLiteralExp(NullLiteralExp object)
Returns the result of interpretting the object as an instance of 'Null Literal Exp' |
java.lang.Object |
caseNumericLiteralExp(NumericLiteralExp object)
Returns the result of interpretting the object as an instance of 'Numeric Literal Exp' |
java.lang.Object |
caseOCLExpression(OCLExpression object)
Returns the result of interpretting the object as an instance of 'OCL Expression' |
java.lang.Object |
caseOperationCallExp(OperationCallExp object)
Returns the result of interpretting the object as an instance of 'Operation Call Exp' |
java.lang.Object |
casePrimitiveLiteralExp(PrimitiveLiteralExp object)
Returns the result of interpretting the object as an instance of 'Primitive Literal Exp' |
java.lang.Object |
casePropertyCallExp(PropertyCallExp object)
Returns the result of interpretting the object as an instance of 'Property Call Exp' |
java.lang.Object |
caseRealLiteralExp(RealLiteralExp object)
Returns the result of interpretting the object as an instance of 'Real Literal Exp' |
java.lang.Object |
caseStateExp(StateExp object)
Returns the result of interpretting the object as an instance of 'State Exp' |
java.lang.Object |
caseStringLiteralExp(StringLiteralExp object)
Returns the result of interpretting the object as an instance of 'String Literal Exp' |
java.lang.Object |
caseTupleLiteralExp(TupleLiteralExp object)
Returns the result of interpretting the object as an instance of 'Tuple Literal Exp' |
java.lang.Object |
caseTupleLiteralPart(TupleLiteralPart object)
Returns the result of interpretting the object as an instance of 'Tuple Literal Part' |
java.lang.Object |
caseTypedASTNode(TypedASTNode object)
Returns the result of interpretting the object as an instance of 'Typed AST Node' |
java.lang.Object |
caseTypedElement(TypedElement object)
Returns the result of interpretting the object as an instance of 'Typed Element' |
java.lang.Object |
caseTypeExp(TypeExp object)
Returns the result of interpretting the object as an instance of 'Type Exp' |
java.lang.Object |
caseUnspecifiedValueExp(UnspecifiedValueExp object)
Returns the result of interpretting the object as an instance of 'Unspecified Value Exp' |
java.lang.Object |
caseVariable(Variable object)
Returns the result of interpretting the object as an instance of 'Variable' |
java.lang.Object |
caseVariableExp(VariableExp object)
Returns the result of interpretting the object as an instance of 'Variable Exp' |
java.lang.Object |
caseVisitable(Visitable object)
Returns the result of interpretting the object as an instance of 'Visitable' |
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject' |
protected java.lang.Object |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
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 |
java.lang.Object |
doSwitch(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 java.lang.Object |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String copyright
protected static ExpressionsPackage modelPackage
Constructor Detail |
public ExpressionsSwitch()
Method Detail |
public java.lang.Object doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected java.lang.Object doSwitch(org.eclipse.emf.ecore.EClass theEClass, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected java.lang.Object 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.
caseXXX
call.public java.lang.Object casePropertyCallExp(PropertyCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBooleanLiteralExp(BooleanLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCollectionItem(CollectionItem object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCollectionLiteralExp(CollectionLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCollectionLiteralPart(CollectionLiteralPart object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCollectionRange(CollectionRange object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIfExp(IfExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIntegerLiteralExp(IntegerLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIterateExp(IterateExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseIteratorExp(IteratorExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseLetExp(LetExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseLiteralExp(LiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseLoopExp(LoopExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFeatureCallExp(FeatureCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNavigationCallExp(NavigationCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNumericLiteralExp(NumericLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseOperationCallExp(OperationCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePrimitiveLiteralExp(PrimitiveLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCallExp(CallExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRealLiteralExp(RealLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStringLiteralExp(StringLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTupleLiteralExp(TupleLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTupleLiteralPart(TupleLiteralPart object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUnspecifiedValueExp(UnspecifiedValueExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseVariable(Variable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseVariableExp(VariableExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAssociationClassCallExp(AssociationClassCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNullLiteralExp(NullLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInvalidLiteralExp(InvalidLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTypeExp(TypeExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStateExp(StateExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseOCLExpression(OCLExpression object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMessageExp(MessageExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEnumLiteralExp(EnumLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseVisitable(Visitable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseASTNode(ASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCallingASTNode(CallingASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTypedElement(TypedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTypedASTNode(TypedASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
ExpressionsSwitch.doSwitch(org.eclipse.emf.ecore.EObject)
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |