java.lang.Objectorg.eclipse.gmt.umlx.essentialocl.util.EssentialoclSwitch<T>
public class EssentialoclSwitch<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.
EssentialoclPackage
Constructor Summary | |
---|---|
EssentialoclSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAnyType(AnyType object)
Returns the result of interpreting the object as an instance of 'Any Type'. |
T |
caseBagType(BagType object)
Returns the result of interpreting the object as an instance of 'Bag Type'. |
T |
caseBooleanLiteralExp(BooleanLiteralExp object)
Returns the result of interpreting the object as an instance of 'Boolean Literal Exp'. |
T |
caseCallExp(CallExp object)
Returns the result of interpreting the object as an instance of 'Call Exp'. |
T |
caseClass(Class object)
Returns the result of interpreting the object as an instance of 'Class'. |
T |
caseCollectionItem(CollectionItem object)
Returns the result of interpreting the object as an instance of 'Collection Item'. |
T |
caseCollectionLiteralExp(CollectionLiteralExp object)
Returns the result of interpreting the object as an instance of 'Collection Literal Exp'. |
T |
caseCollectionLiteralPart(CollectionLiteralPart object)
Returns the result of interpreting the object as an instance of 'Collection Literal Part'. |
T |
caseCollectionRange(CollectionRange object)
Returns the result of interpreting the object as an instance of 'Collection Range'. |
T |
caseCollectionType(CollectionType object)
Returns the result of interpreting the object as an instance of 'Collection Type'. |
T |
caseDataType(DataType object)
Returns the result of interpreting the object as an instance of 'Data Type'. |
T |
caseElement(Element object)
Returns the result of interpreting the object as an instance of 'Element'. |
T |
caseEnumLiteralExp(EnumLiteralExp object)
Returns the result of interpreting the object as an instance of 'Enum Literal Exp'. |
T |
caseExpressionInOcl(ExpressionInOcl object)
Returns the result of interpreting the object as an instance of 'Expression In Ocl'. |
T |
caseFeaturePropertyCall(FeaturePropertyCall object)
Returns the result of interpreting the object as an instance of 'Feature Property Call'. |
T |
caseIfExp(IfExp object)
Returns the result of interpreting the object as an instance of 'If Exp'. |
T |
caseIntegerLiteralExp(IntegerLiteralExp object)
Returns the result of interpreting the object as an instance of 'Integer Literal Exp'. |
T |
caseInvalidLiteralExp(InvalidLiteralExp object)
Returns the result of interpreting the object as an instance of 'Invalid Literal Exp'. |
T |
caseInvalidType(InvalidType object)
Returns the result of interpreting the object as an instance of 'Invalid Type'. |
T |
caseIterateExp(IterateExp object)
Returns the result of interpreting the object as an instance of 'Iterate Exp'. |
T |
caseIteratorExp(IteratorExp object)
Returns the result of interpreting the object as an instance of 'Iterator Exp'. |
T |
caseLetExp(LetExp object)
Returns the result of interpreting the object as an instance of 'Let Exp'. |
T |
caseLiteralExp(LiteralExp object)
Returns the result of interpreting the object as an instance of 'Literal Exp'. |
T |
caseLoopExp(LoopExp object)
Returns the result of interpreting the object as an instance of 'Loop Exp'. |
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'. |
T |
caseNullLiteralExp(NullLiteralExp object)
Returns the result of interpreting the object as an instance of 'Null Literal Exp'. |
T |
caseNumericLiteralExp(NumericLiteralExp object)
Returns the result of interpreting the object as an instance of 'Numeric Literal Exp'. |
T |
caseObject(Object object)
Returns the result of interpreting the object as an instance of 'Object'. |
T |
caseOclExpression(OclExpression object)
Returns the result of interpreting the object as an instance of 'Ocl Expression'. |
T |
caseOpaqueExpression(OpaqueExpression object)
Returns the result of interpreting the object as an instance of 'Opaque Expression'. |
T |
caseOperationCallExp(OperationCallExp object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp'. |
T |
caseOrderedSetType(OrderedSetType object)
Returns the result of interpreting the object as an instance of 'Ordered Set Type'. |
T |
casePrimitiveLiteralExp(PrimitiveLiteralExp object)
Returns the result of interpreting the object as an instance of 'Primitive Literal Exp'. |
T |
casePropertyCallExp(PropertyCallExp object)
Returns the result of interpreting the object as an instance of 'Property Call Exp'. |
T |
caseRealLiteralExp(RealLiteralExp object)
Returns the result of interpreting the object as an instance of 'Real Literal Exp'. |
T |
caseSequenceType(SequenceType object)
Returns the result of interpreting the object as an instance of 'Sequence Type'. |
T |
caseSetType(SetType object)
Returns the result of interpreting the object as an instance of 'Set Type'. |
T |
caseStringLiteralExp(StringLiteralExp object)
Returns the result of interpreting the object as an instance of 'String Literal Exp'. |
T |
caseTupleLiteralExp(TupleLiteralExp object)
Returns the result of interpreting the object as an instance of 'Tuple Literal Exp'. |
T |
caseTupleLiteralPart(TupleLiteralPart object)
Returns the result of interpreting the object as an instance of 'Tuple Literal Part'. |
T |
caseTupleType(TupleType object)
Returns the result of interpreting the object as an instance of 'Tuple Type'. |
T |
caseType(Type object)
Returns the result of interpreting the object as an instance of 'Type'. |
T |
caseTypedElement(TypedElement object)
Returns the result of interpreting the object as an instance of 'Typed Element'. |
T |
caseTypeExp(TypeExp object)
Returns the result of interpreting the object as an instance of 'Type Exp'. |
T |
caseUnlimitedNaturalExp(UnlimitedNaturalExp object)
Returns the result of interpreting the object as an instance of 'Unlimited Natural Exp'. |
T |
caseVariable(Variable object)
Returns the result of interpreting the object as an instance of 'Variable'. |
T |
caseVariableExp(VariableExp object)
Returns the result of interpreting the object as an instance of 'Variable Exp'. |
T |
caseVoidType(VoidType object)
Returns the result of interpreting the object as an instance of 'Void Type'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
T |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EssentialoclSwitch()
Method Detail |
---|
public T 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.public T caseBooleanLiteralExp(BooleanLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCallExp(CallExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOclExpression(OclExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUnlimitedNaturalExp(UnlimitedNaturalExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIfExp(IfExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLetExp(LetExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVariable(Variable object)
object
- the target of the switch.
doSwitch(EObject)
public T casePropertyCallExp(PropertyCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVariableExp(VariableExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTypeExp(TypeExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLoopExp(LoopExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIteratorExp(IteratorExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStringLiteralExp(StringLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIntegerLiteralExp(IntegerLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOperationCallExp(OperationCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRealLiteralExp(RealLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLiteralExp(LiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIterateExp(IterateExp object)
object
- the target of the switch.
doSwitch(EObject)
public T casePrimitiveLiteralExp(PrimitiveLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNumericLiteralExp(NumericLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCollectionLiteralExp(CollectionLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCollectionLiteralPart(CollectionLiteralPart object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCollectionItem(CollectionItem object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCollectionRange(CollectionRange object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTupleLiteralExp(TupleLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNullLiteralExp(NullLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseExpressionInOcl(ExpressionInOcl object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOpaqueExpression(OpaqueExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInvalidLiteralExp(InvalidLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFeaturePropertyCall(FeaturePropertyCall object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTupleLiteralPart(TupleLiteralPart object)
object
- the target of the switch.
doSwitch(EObject)
public T caseBagType(BagType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCollectionType(CollectionType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEnumLiteralExp(EnumLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInvalidType(InvalidType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOrderedSetType(OrderedSetType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSequenceType(SequenceType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSetType(SetType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTupleType(TupleType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVoidType(VoidType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAnyType(AnyType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseObject(Object object)
object
- the target of the switch.
doSwitch(EObject)
public T caseElement(Element object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNamedElement(NamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTypedElement(TypedElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseType(Type object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDataType(DataType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseClass(Class object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)