org.eclipse.ocl.uml.util
Class UMLSwitch<T>

java.lang.Object
  extended by org.eclipse.emf.ecore.util.Switch<T>
      extended by org.eclipse.ocl.uml.util.UMLSwitch<T>

public class UMLSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<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.

See Also:
UMLPackage
Generated

Field Summary
protected static UMLPackage modelPackage
          The cached model package
 
Constructor Summary
UMLSwitch()
          Creates an instance of the switch.
 
Method Summary
<O> T
caseAnyType_1(AnyType<O> object)
          Deprecated. Since 2.0, override the caseTypes_AnyType(org.eclipse.ocl.types.AnyType) method, instead.
 T caseAnyType(AnyType object)
          Returns the result of interpreting the object as an instance of 'Any Type'.
<C,P> T
caseAssociationClassCallExp_1(AssociationClassCallExp<C,P> object)
          Deprecated. Since 2.0, override the caseExpressions_AssociationClassCallExp(org.eclipse.ocl.expressions.AssociationClassCallExp) method, instead.
 T caseAssociationClassCallExp(AssociationClassCallExp object)
          Returns the result of interpreting the object as an instance of 'Association Class Call Exp'.
 T caseASTNode(ASTNode object)
          Returns the result of interpreting the object as an instance of 'AST Node'.
<C,O> T
caseBagType_1(BagType<C,O> object)
          Deprecated. Since 2.0, override the caseTypes_BagType(org.eclipse.ocl.types.BagType) method, instead.
 T caseBagType(BagType object)
          Returns the result of interpreting the object as an instance of 'Bag Type'.
<C> T
caseBooleanLiteralExp_1(BooleanLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_BooleanLiteralExp(org.eclipse.ocl.expressions.BooleanLiteralExp) method, instead.
 T caseBooleanLiteralExp(BooleanLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Boolean Literal Exp'.
<C> T
caseCallExp_1(CallExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_CallExp(org.eclipse.ocl.expressions.CallExp) method, instead.
 T caseCallExp(CallExp object)
          Returns the result of interpreting the object as an instance of 'Call Exp'.
 T caseCallingASTNode(CallingASTNode object)
          Returns the result of interpreting the object as an instance of 'Calling AST Node'.
 T caseClassifier(org.eclipse.uml2.uml.Classifier object)
          Returns the result of interpreting the object as an instance of 'Classifier'.
<C> T
caseCollectionItem_1(CollectionItem<C> object)
          Deprecated. Since 2.0, override the caseExpressions_CollectionItem(org.eclipse.ocl.expressions.CollectionItem) method, instead.
 T caseCollectionItem(CollectionItem object)
          Returns the result of interpreting the object as an instance of 'Collection Item'.
<C> T
caseCollectionLiteralExp_1(CollectionLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_CollectionLiteralExp(org.eclipse.ocl.expressions.CollectionLiteralExp) method, instead.
 T caseCollectionLiteralExp(CollectionLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Collection Literal Exp'.
<C> T
caseCollectionLiteralPart_1(CollectionLiteralPart<C> object)
          Deprecated. Since 2.0, override the caseExpressions_CollectionLiteralPart(org.eclipse.ocl.expressions.CollectionLiteralPart) method, instead.
 T caseCollectionLiteralPart(CollectionLiteralPart object)
          Returns the result of interpreting the object as an instance of 'Collection Literal Part'.
<C> T
caseCollectionRange_1(CollectionRange<C> object)
          Deprecated. Since 2.0, override the caseExpressions_CollectionRange(org.eclipse.ocl.expressions.CollectionRange) method, instead.
 T caseCollectionRange(CollectionRange object)
          Returns the result of interpreting the object as an instance of 'Collection Range'.
<C,O> T
caseCollectionType_1(CollectionType<C,O> object)
          Deprecated. Since 2.0, override the caseTypes_CollectionType(org.eclipse.ocl.types.CollectionType) method, instead.
 T caseCollectionType(CollectionType object)
          Returns the result of interpreting the object as an instance of 'Collection Type'.
 T caseDataType(org.eclipse.uml2.uml.DataType object)
          Returns the result of interpreting the object as an instance of 'Data Type'.
 T caseElement(org.eclipse.uml2.uml.Element object)
          Returns the result of interpreting the object as an instance of 'Element'.
 T caseElementType_1(ElementType object)
          Deprecated. Since 2.0, override the caseTypes_ElementType(org.eclipse.ocl.types.ElementType) method, instead.
 T caseElementType(ElementType object)
          Returns the result of interpreting the object as an instance of 'Element Type'.
 T caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
          Returns the result of interpreting the object as an instance of 'EModel Element'.
<C,EL> T
caseEnumLiteralExp_1(EnumLiteralExp<C,EL> object)
          Deprecated. Since 2.0, override the caseExpressions_EnumLiteralExp(org.eclipse.ocl.expressions.EnumLiteralExp) method, instead.
 T caseEnumLiteralExp(EnumLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Enum Literal Exp'.
<C,PM> T
caseExpressionInOCL_1(ExpressionInOCL<C,PM> object)
          Deprecated. Since 2.0, override the caseUtilities_ExpressionInOCL(org.eclipse.ocl.utilities.ExpressionInOCL) method, instead.
 T caseExpressionInOCL(ExpressionInOCL object)
          Returns the result of interpreting the object as an instance of 'Expression In OCL'.
<C,P> T
caseExpressions_AssociationClassCallExp(AssociationClassCallExp<C,P> object)
          Returns the result of interpreting the object as an instance of 'Association Class Call Exp'.
<C> T
caseExpressions_BooleanLiteralExp(BooleanLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Boolean Literal Exp'.
<C> T
caseExpressions_CallExp(CallExp<C> object)
          Returns the result of interpreting the object as an instance of 'Call Exp'.
<C> T
caseExpressions_CollectionItem(CollectionItem<C> object)
          Returns the result of interpreting the object as an instance of 'Collection Item'.
<C> T
caseExpressions_CollectionLiteralExp(CollectionLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Collection Literal Exp'.
<C> T
caseExpressions_CollectionLiteralPart(CollectionLiteralPart<C> object)
          Returns the result of interpreting the object as an instance of 'Collection Literal Part'.
<C> T
caseExpressions_CollectionRange(CollectionRange<C> object)
          Returns the result of interpreting the object as an instance of 'Collection Range'.
<C,EL> T
caseExpressions_EnumLiteralExp(EnumLiteralExp<C,EL> object)
          Returns the result of interpreting the object as an instance of 'Enum Literal Exp'.
<C> T
caseExpressions_FeatureCallExp(FeatureCallExp<C> object)
          Returns the result of interpreting the object as an instance of 'Feature Call Exp'.
<C> T
caseExpressions_IfExp(IfExp<C> object)
          Returns the result of interpreting the object as an instance of 'If Exp'.
<C> T
caseExpressions_IntegerLiteralExp(IntegerLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Integer Literal Exp'.
<C> T
caseExpressions_InvalidLiteralExp(InvalidLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Invalid Literal Exp'.
<C,PM> T
caseExpressions_IterateExp(IterateExp<C,PM> object)
          Returns the result of interpreting the object as an instance of 'Iterate Exp'.
<C,PM> T
caseExpressions_IteratorExp(IteratorExp<C,PM> object)
          Returns the result of interpreting the object as an instance of 'Iterator Exp'.
<C,PM> T
caseExpressions_LetExp(LetExp<C,PM> object)
          Returns the result of interpreting the object as an instance of 'Let Exp'.
<C> T
caseExpressions_LiteralExp(LiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Literal Exp'.
<C,PM> T
caseExpressions_LoopExp(LoopExp<C,PM> object)
          Returns the result of interpreting the object as an instance of 'Loop Exp'.
<C,COA,SSA>
T
caseExpressions_MessageExp(MessageExp<C,COA,SSA> object)
          Returns the result of interpreting the object as an instance of 'Message Exp'.
<C,P> T
caseExpressions_NavigationCallExp(NavigationCallExp<C,P> object)
          Returns the result of interpreting the object as an instance of 'Navigation Call Exp'.
<C> T
caseExpressions_NullLiteralExp(NullLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Null Literal Exp'.
<C> T
caseExpressions_NumericLiteralExp(NumericLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Numeric Literal Exp'.
<C> T
caseExpressions_OCLExpression(OCLExpression<C> object)
          Returns the result of interpreting the object as an instance of 'OCL Expression'.
<C,O> T
caseExpressions_OperationCallExp(OperationCallExp<C,O> object)
          Returns the result of interpreting the object as an instance of 'Operation Call Exp'.
<C> T
caseExpressions_PrimitiveLiteralExp(PrimitiveLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Primitive Literal Exp'.
<C,P> T
caseExpressions_PropertyCallExp(PropertyCallExp<C,P> object)
          Returns the result of interpreting the object as an instance of 'Property Call Exp'.
<C> T
caseExpressions_RealLiteralExp(RealLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Real Literal Exp'.
<C,S> T
caseExpressions_StateExp(StateExp<C,S> object)
          Returns the result of interpreting the object as an instance of 'State Exp'.
<C> T
caseExpressions_StringLiteralExp(StringLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'String Literal Exp'.
<C,P> T
caseExpressions_TupleLiteralExp(TupleLiteralExp<C,P> object)
          Returns the result of interpreting the object as an instance of 'Tuple Literal Exp'.
<C,P> T
caseExpressions_TupleLiteralPart(TupleLiteralPart<C,P> object)
          Returns the result of interpreting the object as an instance of 'Tuple Literal Part'.
<C> T
caseExpressions_TypeExp(TypeExp<C> object)
          Returns the result of interpreting the object as an instance of 'Type Exp'.
<C> T
caseExpressions_UnlimitedNaturalLiteralExp(UnlimitedNaturalLiteralExp<C> object)
          Returns the result of interpreting the object as an instance of 'Unlimited Natural Literal Exp'.
<C> T
caseExpressions_UnspecifiedValueExp(UnspecifiedValueExp<C> object)
          Returns the result of interpreting the object as an instance of 'Unspecified Value Exp'.
<C,PM> T
caseExpressions_Variable(Variable<C,PM> object)
          Returns the result of interpreting the object as an instance of 'Variable'.
<C,PM> T
caseExpressions_VariableExp(VariableExp<C,PM> object)
          Returns the result of interpreting the object as an instance of 'Variable Exp'.
<C> T
caseFeatureCallExp_1(FeatureCallExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_FeatureCallExp(org.eclipse.ocl.expressions.FeatureCallExp) method, instead.
 T caseFeatureCallExp(FeatureCallExp object)
          Returns the result of interpreting the object as an instance of 'Feature Call Exp'.
<C> T
caseIfExp_1(IfExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_IfExp(org.eclipse.ocl.expressions.IfExp) method, instead.
 T caseIfExp(IfExp object)
          Returns the result of interpreting the object as an instance of 'If Exp'.
<C> T
caseIntegerLiteralExp_1(IntegerLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_IntegerLiteralExp(org.eclipse.ocl.expressions.IntegerLiteralExp) method, instead.
 T caseIntegerLiteralExp(IntegerLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Integer Literal Exp'.
<C> T
caseInvalidLiteralExp_1(InvalidLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_InvalidLiteralExp(org.eclipse.ocl.expressions.InvalidLiteralExp) method, instead.
 T caseInvalidLiteralExp(InvalidLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Invalid Literal Exp'.
<O> T
caseInvalidType_1(InvalidType<O> object)
          Deprecated. Since 2.0, override the caseTypes_InvalidType(org.eclipse.ocl.types.InvalidType) method, instead.
 T caseInvalidType(InvalidType object)
          Returns the result of interpreting the object as an instance of 'Invalid Type'.
<C,PM> T
caseIterateExp_1(IterateExp<C,PM> object)
          Deprecated. Since 2.0, override the caseExpressions_IterateExp(org.eclipse.ocl.expressions.IterateExp) method, instead.
 T caseIterateExp(IterateExp object)
          Returns the result of interpreting the object as an instance of 'Iterate Exp'.
<C,PM> T
caseIteratorExp_1(IteratorExp<C,PM> object)
          Deprecated. Since 2.0, override the caseExpressions_IteratorExp(org.eclipse.ocl.expressions.IteratorExp) method, instead.
 T caseIteratorExp(IteratorExp object)
          Returns the result of interpreting the object as an instance of 'Iterator Exp'.
<C,PM> T
caseLetExp_1(LetExp<C,PM> object)
          Deprecated. Since 2.0, override the caseExpressions_LetExp(org.eclipse.ocl.expressions.LetExp) method, instead.
 T caseLetExp(LetExp object)
          Returns the result of interpreting the object as an instance of 'Let Exp'.
<C> T
caseLiteralExp_1(LiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_LiteralExp(org.eclipse.ocl.expressions.LiteralExp) method, instead.
 T caseLiteralExp(LiteralExp object)
          Returns the result of interpreting the object as an instance of 'Literal Exp'.
<C,PM> T
caseLoopExp_1(LoopExp<C,PM> object)
          Deprecated. Since 2.0, override the caseExpressions_LoopExp(org.eclipse.ocl.expressions.LoopExp) method, instead.
 T caseLoopExp(LoopExp object)
          Returns the result of interpreting the object as an instance of 'Loop Exp'.
<C,COA,SSA>
T
caseMessageExp_1(MessageExp<C,COA,SSA> object)
          Deprecated. Since 2.0, override the caseExpressions_MessageExp(org.eclipse.ocl.expressions.MessageExp) method, instead.
 T caseMessageExp(MessageExp object)
          Returns the result of interpreting the object as an instance of 'Message Exp'.
<C,O,P> T
caseMessageType_1(MessageType<C,O,P> object)
          Deprecated. Since 2.0, override the caseTypes_MessageType(org.eclipse.ocl.types.MessageType) method, instead.
 T caseMessageType(MessageType object)
          Returns the result of interpreting the object as an instance of 'Message Type'.
 T caseNamedElement(org.eclipse.uml2.uml.NamedElement object)
          Returns the result of interpreting the object as an instance of 'Named Element'.
 T caseNamespace(org.eclipse.uml2.uml.Namespace object)
          Returns the result of interpreting the object as an instance of 'Namespace'.
<C,P> T
caseNavigationCallExp_1(NavigationCallExp<C,P> object)
          Deprecated. Since 2.0, override the caseExpressions_NavigationCallExp(org.eclipse.ocl.expressions.NavigationCallExp) method, instead.
 T caseNavigationCallExp(NavigationCallExp object)
          Returns the result of interpreting the object as an instance of 'Navigation Call Exp'.
<C> T
caseNullLiteralExp_1(NullLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_NullLiteralExp(org.eclipse.ocl.expressions.NullLiteralExp) method, instead.
 T caseNullLiteralExp(NullLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Null Literal Exp'.
<C> T
caseNumericLiteralExp_1(NumericLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_NumericLiteralExp(org.eclipse.ocl.expressions.NumericLiteralExp) method, instead.
 T caseNumericLiteralExp(NumericLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Numeric Literal Exp'.
<C> T
caseOCLExpression_1(OCLExpression<C> object)
          Deprecated. Since 2.0, override the caseExpressions_OCLExpression(org.eclipse.ocl.expressions.OCLExpression) method, instead.
 T caseOCLExpression(OCLExpression object)
          Returns the result of interpreting the object as an instance of 'OCL Expression'.
 T caseOpaqueExpression(org.eclipse.uml2.uml.OpaqueExpression object)
          Returns the result of interpreting the object as an instance of 'Opaque Expression'.
<C,O> T
caseOperationCallExp_1(OperationCallExp<C,O> object)
          Deprecated. Since 2.0, override the caseExpressions_OperationCallExp(org.eclipse.ocl.expressions.OperationCallExp) method, instead.
 T caseOperationCallExp(OperationCallExp object)
          Returns the result of interpreting the object as an instance of 'Operation Call Exp'.
<C,O> T
caseOrderedSetType_1(OrderedSetType<C,O> object)
          Deprecated. Since 2.0, override the caseTypes_OrderedSetType(org.eclipse.ocl.types.OrderedSetType) method, instead.
 T caseOrderedSetType(OrderedSetType object)
          Returns the result of interpreting the object as an instance of 'Ordered Set Type'.
 T casePackageableElement(org.eclipse.uml2.uml.PackageableElement object)
          Returns the result of interpreting the object as an instance of 'Packageable Element'.
 T caseParameterableElement(org.eclipse.uml2.uml.ParameterableElement object)
          Returns the result of interpreting the object as an instance of 'Parameterable Element'.
<O> T
casePredefinedType(PredefinedType<O> object)
          Returns the result of interpreting the object as an instance of 'Predefined Type'.
<C> T
casePrimitiveLiteralExp_1(PrimitiveLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_PrimitiveLiteralExp(org.eclipse.ocl.expressions.PrimitiveLiteralExp) method, instead.
 T casePrimitiveLiteralExp(PrimitiveLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Primitive Literal Exp'.
 T casePrimitiveType(PrimitiveType object)
          Returns the result of interpreting the object as an instance of 'Primitive Type'.
<C,P> T
casePropertyCallExp_1(PropertyCallExp<C,P> object)
          Deprecated. Since 2.0, override the caseExpressions_PropertyCallExp(org.eclipse.ocl.expressions.PropertyCallExp) method, instead.
 T casePropertyCallExp(PropertyCallExp object)
          Returns the result of interpreting the object as an instance of 'Property Call Exp'.
<C> T
caseRealLiteralExp_1(RealLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_RealLiteralExp(org.eclipse.ocl.expressions.RealLiteralExp) method, instead.
 T caseRealLiteralExp(RealLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Real Literal Exp'.
 T caseRedefinableElement(org.eclipse.uml2.uml.RedefinableElement object)
          Returns the result of interpreting the object as an instance of 'Redefinable Element'.
<C,O> T
caseSequenceType_1(SequenceType<C,O> object)
          Deprecated. Since 2.0, override the caseTypes_SequenceType(org.eclipse.ocl.types.SequenceType) method, instead.
 T caseSequenceType(SequenceType object)
          Returns the result of interpreting the object as an instance of 'Sequence Type'.
<C,O> T
caseSetType_1(SetType<C,O> object)
          Deprecated. Since 2.0, override the caseTypes_SetType(org.eclipse.ocl.types.SetType) method, instead.
 T caseSetType(SetType object)
          Returns the result of interpreting the object as an instance of 'Set Type'.
<C,S> T
caseStateExp_1(StateExp<C,S> object)
          Deprecated. Since 2.0, override the caseExpressions_StateExp(org.eclipse.ocl.expressions.StateExp) method, instead.
 T caseStateExp(StateExp object)
          Returns the result of interpreting the object as an instance of 'State Exp'.
<C> T
caseStringLiteralExp_1(StringLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_StringLiteralExp(org.eclipse.ocl.expressions.StringLiteralExp) method, instead.
 T caseStringLiteralExp(StringLiteralExp object)
          Returns the result of interpreting the object as an instance of 'String Literal Exp'.
 T caseTemplateableElement(org.eclipse.uml2.uml.TemplateableElement object)
          Returns the result of interpreting the object as an instance of 'Templateable Element'.
 T caseTemplateParameterType(TemplateParameterType object)
          Returns the result of interpreting the object as an instance of 'Template Parameter Type'.
<C,P> T
caseTupleLiteralExp_1(TupleLiteralExp<C,P> object)
          Deprecated. Since 2.0, override the caseExpressions_TupleLiteralExp(org.eclipse.ocl.expressions.TupleLiteralExp) method, instead.
 T caseTupleLiteralExp(TupleLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Tuple Literal Exp'.
<C,P> T
caseTupleLiteralPart_1(TupleLiteralPart<C,P> object)
          Deprecated. Since 2.0, override the caseExpressions_TupleLiteralPart(org.eclipse.ocl.expressions.TupleLiteralPart) method, instead.
 T caseTupleLiteralPart(TupleLiteralPart object)
          Returns the result of interpreting the object as an instance of 'Tuple Literal Part'.
<O,P> T
caseTupleType_1(TupleType<O,P> object)
          Deprecated. Since 2.0, override the caseTypes_TupleType(org.eclipse.ocl.types.TupleType) method, instead.
 T caseTupleType(TupleType object)
          Returns the result of interpreting the object as an instance of 'Tuple Type'.
 T caseType(org.eclipse.uml2.uml.Type object)
          Returns the result of interpreting the object as an instance of 'Type'.
 T caseTypedASTNode(TypedASTNode object)
          Returns the result of interpreting the object as an instance of 'Typed AST Node'.
 T caseTypedElement(org.eclipse.uml2.uml.TypedElement object)
          Returns the result of interpreting the object as an instance of 'Typed Element'.
<C> T
caseTypeExp_1(TypeExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_TypeExp(org.eclipse.ocl.expressions.TypeExp) method, instead.
 T caseTypeExp(TypeExp object)
          Returns the result of interpreting the object as an instance of 'Type Exp'.
<O> T
caseTypes_AnyType(AnyType<O> object)
          Returns the result of interpreting the object as an instance of 'Any Type'.
<C,O> T
caseTypes_BagType(BagType<C,O> object)
          Returns the result of interpreting the object as an instance of 'Bag Type'.
<C,O> T
caseTypes_CollectionType(CollectionType<C,O> object)
          Returns the result of interpreting the object as an instance of 'Collection Type'.
 T caseTypes_ElementType(ElementType object)
          Returns the result of interpreting the object as an instance of 'Element Type'.
<O> T
caseTypes_InvalidType(InvalidType<O> object)
          Returns the result of interpreting the object as an instance of 'Invalid Type'.
<C,O,P> T
caseTypes_MessageType(MessageType<C,O,P> object)
          Returns the result of interpreting the object as an instance of 'Message Type'.
<C,O> T
caseTypes_OrderedSetType(OrderedSetType<C,O> object)
          Returns the result of interpreting the object as an instance of 'Ordered Set Type'.
<O> T
caseTypes_PrimitiveType(PrimitiveType<O> object)
          Returns the result of interpreting the object as an instance of 'Primitive Type'.
<C,O> T
caseTypes_SequenceType(SequenceType<C,O> object)
          Returns the result of interpreting the object as an instance of 'Sequence Type'.
<C,O> T
caseTypes_SetType(SetType<C,O> object)
          Returns the result of interpreting the object as an instance of 'Set Type'.
<O> T
caseTypes_TemplateParameterType(TemplateParameterType<O> object)
          Returns the result of interpreting the object as an instance of 'Template Parameter Type'.
<O,P> T
caseTypes_TupleType(TupleType<O,P> object)
          Returns the result of interpreting the object as an instance of 'Tuple Type'.
<C,O> T
caseTypes_TypeType(TypeType<C,O> object)
          Returns the result of interpreting the object as an instance of 'Type Type'.
<O> T
caseTypes_VoidType(VoidType<O> object)
          Returns the result of interpreting the object as an instance of 'Void Type'.
<C,O> T
caseTypeType_1(TypeType<C,O> object)
          Deprecated. Since 2.0, override the caseTypes_TypeType(org.eclipse.ocl.types.TypeType) method, instead.
 T caseTypeType(TypeType object)
          Returns the result of interpreting the object as an instance of 'Type Type'.
 T caseUML_PrimitiveType(org.eclipse.uml2.uml.PrimitiveType object)
          Returns the result of interpreting the object as an instance of 'Primitive Type'.
<C> T
caseUnlimitedNaturalLiteralExp_1(UnlimitedNaturalLiteralExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_UnlimitedNaturalLiteralExp(org.eclipse.ocl.expressions.UnlimitedNaturalLiteralExp) method, instead.
 T caseUnlimitedNaturalLiteralExp(UnlimitedNaturalLiteralExp object)
          Returns the result of interpreting the object as an instance of 'Unlimited Natural Literal Exp'.
<C> T
caseUnspecifiedValueExp_1(UnspecifiedValueExp<C> object)
          Deprecated. Since 2.0, override the caseExpressions_UnspecifiedValueExp(org.eclipse.ocl.expressions.UnspecifiedValueExp) method, instead.
 T caseUnspecifiedValueExp(UnspecifiedValueExp object)
          Returns the result of interpreting the object as an instance of 'Unspecified Value Exp'.
<C,PM> T
caseUtilities_ExpressionInOCL(ExpressionInOCL<C,PM> object)
          Returns the result of interpreting the object as an instance of 'Expression In OCL'.
<C> T
caseUtilities_TypedElement(TypedElement<C> object)
          Returns the result of interpreting the object as an instance of 'Typed Element'.
 T caseValueSpecification(org.eclipse.uml2.uml.ValueSpecification object)
          Returns the result of interpreting the object as an instance of 'Value Specification'.
<C,PM> T
caseVariable_1(Variable<C,PM> object)
          Deprecated. Since 2.0, override the caseExpressions_Variable(org.eclipse.ocl.expressions.Variable) method, instead.
 T caseVariable(Variable object)
          Returns the result of interpreting the object as an instance of 'Variable'.
<C,PM> T
caseVariableExp_1(VariableExp<C,PM> object)
          Deprecated. Since 2.0, override the caseExpressions_VariableExp(org.eclipse.ocl.expressions.VariableExp) method, instead.
 T caseVariableExp(VariableExp object)
          Returns the result of interpreting the object as an instance of 'Variable Exp'.
 T caseVisitable(Visitable object)
          Returns the result of interpreting the object as an instance of 'Visitable'.
<O> T
caseVoidType_1(VoidType<O> object)
          Deprecated. Since 2.0, override the caseTypes_VoidType(org.eclipse.ocl.types.VoidType) method, instead.
 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'.
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

modelPackage

protected static UMLPackage modelPackage
The cached model package

Generated
Constructor Detail

UMLSwitch

public UMLSwitch()
Creates an instance of the switch.

Generated
Method Detail

isSwitchFor

protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.

Specified by:
isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
Returns:
whether this is a switch for the given package.
Generated

doSwitch

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.

Overrides:
doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
Returns:
the first non-null result returned by a caseXXX call.
Generated

caseAnyType

public T caseAnyType(AnyType object)
Returns the result of interpreting the object as an instance of 'Any Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Any Type'.
See Also:
doSwitch(EObject)
Generated

caseVoidType

public T caseVoidType(VoidType object)
Returns the result of interpreting the object as an instance of 'Void Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Void Type'.
See Also:
doSwitch(EObject)
Generated

caseInvalidType

public T caseInvalidType(InvalidType object)
Returns the result of interpreting the object as an instance of 'Invalid Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Invalid Type'.
See Also:
doSwitch(EObject)
Generated

caseElementType

public T caseElementType(ElementType object)
Returns the result of interpreting the object as an instance of 'Element Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Element Type'.
See Also:
doSwitch(EObject)
Generated

caseTypeType

public T caseTypeType(TypeType object)
Returns the result of interpreting the object as an instance of 'Type Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Type Type'.
See Also:
doSwitch(EObject)
Generated

caseMessageType

public T caseMessageType(MessageType object)
Returns the result of interpreting the object as an instance of 'Message Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Message Type'.
See Also:
doSwitch(EObject)
Generated

casePrimitiveType

public T casePrimitiveType(PrimitiveType object)
Returns the result of interpreting the object as an instance of 'Primitive Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Primitive Type'.
See Also:
doSwitch(EObject)
Generated

caseCollectionType

public T caseCollectionType(CollectionType object)
Returns the result of interpreting the object as an instance of 'Collection Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Type'.
See Also:
doSwitch(EObject)
Generated

caseTupleType

public T caseTupleType(TupleType object)
Returns the result of interpreting the object as an instance of 'Tuple Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Tuple Type'.
See Also:
doSwitch(EObject)
Generated

caseBagType

public T caseBagType(BagType object)
Returns the result of interpreting the object as an instance of 'Bag Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Bag Type'.
See Also:
doSwitch(EObject)
Generated

caseSetType

public T caseSetType(SetType object)
Returns the result of interpreting the object as an instance of 'Set Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Set Type'.
See Also:
doSwitch(EObject)
Generated

caseOrderedSetType

public T caseOrderedSetType(OrderedSetType object)
Returns the result of interpreting the object as an instance of 'Ordered Set Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Ordered Set Type'.
See Also:
doSwitch(EObject)
Generated

caseSequenceType

public T caseSequenceType(SequenceType object)
Returns the result of interpreting the object as an instance of 'Sequence Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Sequence Type'.
See Also:
doSwitch(EObject)
Generated

caseExpressionInOCL

public T caseExpressionInOCL(ExpressionInOCL object)
Returns the result of interpreting the object as an instance of 'Expression In OCL'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Expression In OCL'.
See Also:
doSwitch(EObject)
Generated

caseAssociationClassCallExp

public T caseAssociationClassCallExp(AssociationClassCallExp object)
Returns the result of interpreting the object as an instance of 'Association Class Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Association Class Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseNavigationCallExp

public T caseNavigationCallExp(NavigationCallExp object)
Returns the result of interpreting the object as an instance of 'Navigation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Navigation Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseFeatureCallExp

public T caseFeatureCallExp(FeatureCallExp object)
Returns the result of interpreting the object as an instance of 'Feature Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Feature Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCallExp

public T caseCallExp(CallExp object)
Returns the result of interpreting the object as an instance of 'Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseOCLExpression

public T caseOCLExpression(OCLExpression object)
Returns the result of interpreting the object as an instance of 'OCL Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'OCL Expression'.
See Also:
doSwitch(EObject)
Generated

caseBooleanLiteralExp

public T caseBooleanLiteralExp(BooleanLiteralExp object)
Returns the result of interpreting the object as an instance of 'Boolean Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Boolean Literal Exp'.
See Also:
doSwitch(EObject)
Generated

casePrimitiveLiteralExp

public T casePrimitiveLiteralExp(PrimitiveLiteralExp object)
Returns the result of interpreting the object as an instance of 'Primitive Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Primitive Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseLiteralExp

public T caseLiteralExp(LiteralExp object)
Returns the result of interpreting the object as an instance of 'Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseCollectionItem

public T caseCollectionItem(CollectionItem object)
Returns the result of interpreting the object as an instance of 'Collection Item'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Item'.
See Also:
doSwitch(EObject)
Generated

caseCollectionLiteralPart

public T caseCollectionLiteralPart(CollectionLiteralPart object)
Returns the result of interpreting the object as an instance of 'Collection Literal Part'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Literal Part'.
See Also:
doSwitch(EObject)
Generated

caseCollectionLiteralExp

public T caseCollectionLiteralExp(CollectionLiteralExp object)
Returns the result of interpreting the object as an instance of 'Collection Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseCollectionRange

public T caseCollectionRange(CollectionRange object)
Returns the result of interpreting the object as an instance of 'Collection Range'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Range'.
See Also:
doSwitch(EObject)
Generated

caseEnumLiteralExp

public T caseEnumLiteralExp(EnumLiteralExp object)
Returns the result of interpreting the object as an instance of 'Enum Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Enum Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseIfExp

public T caseIfExp(IfExp object)
Returns the result of interpreting the object as an instance of 'If Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'If Exp'.
See Also:
doSwitch(EObject)
Generated

caseIntegerLiteralExp

public T caseIntegerLiteralExp(IntegerLiteralExp object)
Returns the result of interpreting the object as an instance of 'Integer Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Integer Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseNumericLiteralExp

public T caseNumericLiteralExp(NumericLiteralExp object)
Returns the result of interpreting the object as an instance of 'Numeric Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Numeric Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseUnlimitedNaturalLiteralExp

public T caseUnlimitedNaturalLiteralExp(UnlimitedNaturalLiteralExp object)
Returns the result of interpreting the object as an instance of 'Unlimited Natural Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Unlimited Natural Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseInvalidLiteralExp

public T caseInvalidLiteralExp(InvalidLiteralExp object)
Returns the result of interpreting the object as an instance of 'Invalid Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Invalid Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseIterateExp

public T caseIterateExp(IterateExp object)
Returns the result of interpreting the object as an instance of 'Iterate Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Iterate Exp'.
See Also:
doSwitch(EObject)
Generated

caseLoopExp

public T caseLoopExp(LoopExp object)
Returns the result of interpreting the object as an instance of 'Loop Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Loop Exp'.
See Also:
doSwitch(EObject)
Generated

caseIteratorExp

public T caseIteratorExp(IteratorExp object)
Returns the result of interpreting the object as an instance of 'Iterator Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Iterator Exp'.
See Also:
doSwitch(EObject)
Generated

caseLetExp

public T caseLetExp(LetExp object)
Returns the result of interpreting the object as an instance of 'Let Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Let Exp'.
See Also:
doSwitch(EObject)
Generated

caseMessageExp

public T caseMessageExp(MessageExp object)
Returns the result of interpreting the object as an instance of 'Message Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Message Exp'.
See Also:
doSwitch(EObject)
Generated

caseNullLiteralExp

public T caseNullLiteralExp(NullLiteralExp object)
Returns the result of interpreting the object as an instance of 'Null Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Null Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseOperationCallExp

public T caseOperationCallExp(OperationCallExp object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Operation Call Exp'.
See Also:
doSwitch(EObject)
Generated

casePropertyCallExp

public T casePropertyCallExp(PropertyCallExp object)
Returns the result of interpreting the object as an instance of 'Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Property Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseRealLiteralExp

public T caseRealLiteralExp(RealLiteralExp object)
Returns the result of interpreting the object as an instance of 'Real Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Real Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseStateExp

public T caseStateExp(StateExp object)
Returns the result of interpreting the object as an instance of 'State Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'State Exp'.
See Also:
doSwitch(EObject)
Generated

caseStringLiteralExp

public T caseStringLiteralExp(StringLiteralExp object)
Returns the result of interpreting the object as an instance of 'String Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'String Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseTupleLiteralExp

public T caseTupleLiteralExp(TupleLiteralExp object)
Returns the result of interpreting the object as an instance of 'Tuple Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Tuple Literal Exp'.
See Also:
doSwitch(EObject)
Generated

caseTupleLiteralPart

public T caseTupleLiteralPart(TupleLiteralPart object)
Returns the result of interpreting the object as an instance of 'Tuple Literal Part'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Tuple Literal Part'.
See Also:
doSwitch(EObject)
Generated

caseTypeExp

public T caseTypeExp(TypeExp object)
Returns the result of interpreting the object as an instance of 'Type Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Type Exp'.
See Also:
doSwitch(EObject)
Generated

caseUnspecifiedValueExp

public T caseUnspecifiedValueExp(UnspecifiedValueExp object)
Returns the result of interpreting the object as an instance of 'Unspecified Value Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Unspecified Value Exp'.
See Also:
doSwitch(EObject)
Generated

caseVariable

public T caseVariable(Variable object)
Returns the result of interpreting the object as an instance of 'Variable'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Variable'.
See Also:
doSwitch(EObject)
Generated

caseVariableExp

public T caseVariableExp(VariableExp object)
Returns the result of interpreting the object as an instance of 'Variable Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Variable Exp'.
See Also:
doSwitch(EObject)
Generated

caseTemplateParameterType

public T caseTemplateParameterType(TemplateParameterType object)
Returns the result of interpreting the object as an instance of 'Template Parameter Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Template Parameter Type'.
Since:
3.0
See Also:
doSwitch(EObject)
Generated

caseEModelElement

public T caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
Returns the result of interpreting the object as an instance of 'EModel Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EModel Element'.
See Also:
doSwitch(EObject)
Generated

caseElement

public T caseElement(org.eclipse.uml2.uml.Element object)
Returns the result of interpreting the object as an instance of 'Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Element'.
See Also:
doSwitch(EObject)
Generated

caseNamedElement

public T caseNamedElement(org.eclipse.uml2.uml.NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Named Element'.
See Also:
doSwitch(EObject)
Generated

caseNamespace

public T caseNamespace(org.eclipse.uml2.uml.Namespace object)
Returns the result of interpreting the object as an instance of 'Namespace'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Namespace'.
See Also:
doSwitch(EObject)
Generated

caseRedefinableElement

public T caseRedefinableElement(org.eclipse.uml2.uml.RedefinableElement object)
Returns the result of interpreting the object as an instance of 'Redefinable Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Redefinable Element'.
See Also:
doSwitch(EObject)
Generated

caseParameterableElement

public T caseParameterableElement(org.eclipse.uml2.uml.ParameterableElement object)
Returns the result of interpreting the object as an instance of 'Parameterable Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Parameterable Element'.
See Also:
doSwitch(EObject)
Generated

casePackageableElement

public T casePackageableElement(org.eclipse.uml2.uml.PackageableElement object)
Returns the result of interpreting the object as an instance of 'Packageable Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Packageable Element'.
See Also:
doSwitch(EObject)
Generated

caseType

public T caseType(org.eclipse.uml2.uml.Type object)
Returns the result of interpreting the object as an instance of 'Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Type'.
See Also:
doSwitch(EObject)
Generated

caseTemplateableElement

public T caseTemplateableElement(org.eclipse.uml2.uml.TemplateableElement object)
Returns the result of interpreting the object as an instance of 'Templateable Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Templateable Element'.
See Also:
doSwitch(EObject)
Generated

caseClassifier

public T caseClassifier(org.eclipse.uml2.uml.Classifier object)
Returns the result of interpreting the object as an instance of 'Classifier'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Classifier'.
See Also:
doSwitch(EObject)
Generated

casePredefinedType

public <O> T casePredefinedType(PredefinedType<O> object)
Returns the result of interpreting the object as an instance of 'Predefined Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Predefined Type'.
See Also:
doSwitch(EObject)
Generated

caseTypes_AnyType

public <O> T caseTypes_AnyType(AnyType<O> object)
Returns the result of interpreting the object as an instance of 'Any Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Any Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_VoidType

public <O> T caseTypes_VoidType(VoidType<O> object)
Returns the result of interpreting the object as an instance of 'Void Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Void Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_InvalidType

public <O> T caseTypes_InvalidType(InvalidType<O> object)
Returns the result of interpreting the object as an instance of 'Invalid Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Invalid Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_ElementType

public T caseTypes_ElementType(ElementType object)
Returns the result of interpreting the object as an instance of 'Element Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Element Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_TypeType

public <C,O> T caseTypes_TypeType(TypeType<C,O> object)
Returns the result of interpreting the object as an instance of 'Type Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Type Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_MessageType

public <C,O,P> T caseTypes_MessageType(MessageType<C,O,P> object)
Returns the result of interpreting the object as an instance of 'Message Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Message Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseDataType

public T caseDataType(org.eclipse.uml2.uml.DataType object)
Returns the result of interpreting the object as an instance of 'Data Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Type'.
See Also:
doSwitch(EObject)
Generated

caseUML_PrimitiveType

public T caseUML_PrimitiveType(org.eclipse.uml2.uml.PrimitiveType object)
Returns the result of interpreting the object as an instance of 'Primitive Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Primitive Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated

caseTypes_PrimitiveType

public <O> T caseTypes_PrimitiveType(PrimitiveType<O> object)
Returns the result of interpreting the object as an instance of 'Primitive Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Primitive Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated

caseASTNode

public T caseASTNode(ASTNode object)
Returns the result of interpreting the object as an instance of 'AST Node'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'AST Node'.
See Also:
doSwitch(EObject)
Generated

caseTypedASTNode

public T caseTypedASTNode(TypedASTNode object)
Returns the result of interpreting the object as an instance of 'Typed AST Node'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Typed AST Node'.
See Also:
doSwitch(EObject)
Generated

caseTypes_CollectionType

public <C,O> T caseTypes_CollectionType(CollectionType<C,O> object)
Returns the result of interpreting the object as an instance of 'Collection Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_TupleType

public <O,P> T caseTypes_TupleType(TupleType<O,P> object)
Returns the result of interpreting the object as an instance of 'Tuple Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Tuple Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_BagType

public <C,O> T caseTypes_BagType(BagType<C,O> object)
Returns the result of interpreting the object as an instance of 'Bag Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Bag Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_SetType

public <C,O> T caseTypes_SetType(SetType<C,O> object)
Returns the result of interpreting the object as an instance of 'Set Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Set Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_OrderedSetType

public <C,O> T caseTypes_OrderedSetType(OrderedSetType<C,O> object)
Returns the result of interpreting the object as an instance of 'Ordered Set Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Ordered Set Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_SequenceType

public <C,O> T caseTypes_SequenceType(SequenceType<C,O> object)
Returns the result of interpreting the object as an instance of 'Sequence Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Sequence Type'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypedElement

public T caseTypedElement(org.eclipse.uml2.uml.TypedElement object)
Returns the result of interpreting the object as an instance of 'Typed Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Typed Element'.
See Also:
doSwitch(EObject)
Generated

caseValueSpecification

public T caseValueSpecification(org.eclipse.uml2.uml.ValueSpecification object)
Returns the result of interpreting the object as an instance of 'Value Specification'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Value Specification'.
See Also:
doSwitch(EObject)
Generated

caseOpaqueExpression

public T caseOpaqueExpression(org.eclipse.uml2.uml.OpaqueExpression object)
Returns the result of interpreting the object as an instance of 'Opaque Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Opaque Expression'.
See Also:
doSwitch(EObject)
Generated

caseVisitable

public T caseVisitable(Visitable object)
Returns the result of interpreting the object as an instance of 'Visitable'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Visitable'.
See Also:
doSwitch(EObject)
Generated

caseUtilities_ExpressionInOCL

public <C,PM> T caseUtilities_ExpressionInOCL(ExpressionInOCL<C,PM> object)
Returns the result of interpreting the object as an instance of 'Expression In OCL'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Expression In OCL'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseUtilities_TypedElement

public <C> T caseUtilities_TypedElement(TypedElement<C> object)
Returns the result of interpreting the object as an instance of 'Typed Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Typed Element'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated

caseExpressions_OCLExpression

public <C> T caseExpressions_OCLExpression(OCLExpression<C> object)
Returns the result of interpreting the object as an instance of 'OCL Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'OCL Expression'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseCallingASTNode

public T caseCallingASTNode(CallingASTNode object)
Returns the result of interpreting the object as an instance of 'Calling AST Node'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Calling AST Node'.
See Also:
doSwitch(EObject)
Generated

caseExpressions_CallExp

public <C> T caseExpressions_CallExp(CallExp<C> object)
Returns the result of interpreting the object as an instance of 'Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Call Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_FeatureCallExp

public <C> T caseExpressions_FeatureCallExp(FeatureCallExp<C> object)
Returns the result of interpreting the object as an instance of 'Feature Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Feature Call Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_NavigationCallExp

public <C,P> T caseExpressions_NavigationCallExp(NavigationCallExp<C,P> object)
Returns the result of interpreting the object as an instance of 'Navigation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Navigation Call Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_AssociationClassCallExp

public <C,P> T caseExpressions_AssociationClassCallExp(AssociationClassCallExp<C,P> object)
Returns the result of interpreting the object as an instance of 'Association Class Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Association Class Call Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_LiteralExp

public <C> T caseExpressions_LiteralExp(LiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_PrimitiveLiteralExp

public <C> T caseExpressions_PrimitiveLiteralExp(PrimitiveLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Primitive Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Primitive Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_BooleanLiteralExp

public <C> T caseExpressions_BooleanLiteralExp(BooleanLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Boolean Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Boolean Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_CollectionLiteralPart

public <C> T caseExpressions_CollectionLiteralPart(CollectionLiteralPart<C> object)
Returns the result of interpreting the object as an instance of 'Collection Literal Part'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Literal Part'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_CollectionItem

public <C> T caseExpressions_CollectionItem(CollectionItem<C> object)
Returns the result of interpreting the object as an instance of 'Collection Item'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Item'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_CollectionLiteralExp

public <C> T caseExpressions_CollectionLiteralExp(CollectionLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Collection Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_CollectionRange

public <C> T caseExpressions_CollectionRange(CollectionRange<C> object)
Returns the result of interpreting the object as an instance of 'Collection Range'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collection Range'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_EnumLiteralExp

public <C,EL> T caseExpressions_EnumLiteralExp(EnumLiteralExp<C,EL> object)
Returns the result of interpreting the object as an instance of 'Enum Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Enum Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_IfExp

public <C> T caseExpressions_IfExp(IfExp<C> object)
Returns the result of interpreting the object as an instance of 'If Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'If Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_NumericLiteralExp

public <C> T caseExpressions_NumericLiteralExp(NumericLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Numeric Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Numeric Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_IntegerLiteralExp

public <C> T caseExpressions_IntegerLiteralExp(IntegerLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Integer Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Integer Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_UnlimitedNaturalLiteralExp

public <C> T caseExpressions_UnlimitedNaturalLiteralExp(UnlimitedNaturalLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Unlimited Natural Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Unlimited Natural Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_InvalidLiteralExp

public <C> T caseExpressions_InvalidLiteralExp(InvalidLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Invalid Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Invalid Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_LoopExp

public <C,PM> T caseExpressions_LoopExp(LoopExp<C,PM> object)
Returns the result of interpreting the object as an instance of 'Loop Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Loop Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_IterateExp

public <C,PM> T caseExpressions_IterateExp(IterateExp<C,PM> object)
Returns the result of interpreting the object as an instance of 'Iterate Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Iterate Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_IteratorExp

public <C,PM> T caseExpressions_IteratorExp(IteratorExp<C,PM> object)
Returns the result of interpreting the object as an instance of 'Iterator Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Iterator Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_LetExp

public <C,PM> T caseExpressions_LetExp(LetExp<C,PM> object)
Returns the result of interpreting the object as an instance of 'Let Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Let Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_MessageExp

public <C,COA,SSA> T caseExpressions_MessageExp(MessageExp<C,COA,SSA> object)
Returns the result of interpreting the object as an instance of 'Message Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Message Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_NullLiteralExp

public <C> T caseExpressions_NullLiteralExp(NullLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Null Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Null Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_OperationCallExp

public <C,O> T caseExpressions_OperationCallExp(OperationCallExp<C,O> object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Operation Call Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_PropertyCallExp

public <C,P> T caseExpressions_PropertyCallExp(PropertyCallExp<C,P> object)
Returns the result of interpreting the object as an instance of 'Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Property Call Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_RealLiteralExp

public <C> T caseExpressions_RealLiteralExp(RealLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Real Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Real Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_StateExp

public <C,S> T caseExpressions_StateExp(StateExp<C,S> object)
Returns the result of interpreting the object as an instance of 'State Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'State Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_StringLiteralExp

public <C> T caseExpressions_StringLiteralExp(StringLiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'String Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'String Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_TupleLiteralExp

public <C,P> T caseExpressions_TupleLiteralExp(TupleLiteralExp<C,P> object)
Returns the result of interpreting the object as an instance of 'Tuple Literal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Tuple Literal Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_TupleLiteralPart

public <C,P> T caseExpressions_TupleLiteralPart(TupleLiteralPart<C,P> object)
Returns the result of interpreting the object as an instance of 'Tuple Literal Part'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Tuple Literal Part'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_TypeExp

public <C> T caseExpressions_TypeExp(TypeExp<C> object)
Returns the result of interpreting the object as an instance of 'Type Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Type Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_UnspecifiedValueExp

public <C> T caseExpressions_UnspecifiedValueExp(UnspecifiedValueExp<C> object)
Returns the result of interpreting the object as an instance of 'Unspecified Value Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Unspecified Value Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_Variable

public <C,PM> T caseExpressions_Variable(Variable<C,PM> object)
Returns the result of interpreting the object as an instance of 'Variable'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Variable'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseExpressions_VariableExp

public <C,PM> T caseExpressions_VariableExp(VariableExp<C,PM> object)
Returns the result of interpreting the object as an instance of 'Variable Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Variable Exp'.
Since:
2.0
See Also:
doSwitch(EObject)
Generated
NOT (generated version returns null)

caseTypes_TemplateParameterType

public <O> T caseTypes_TemplateParameterType(TemplateParameterType<O> object)
Returns the result of interpreting the object as an instance of 'Template Parameter Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Template Parameter Type'.
Since:
3.0
See Also:
doSwitch(EObject)
Generated

defaultCase

public T defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Overrides:
defaultCase in class org.eclipse.emf.ecore.util.Switch<T>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
Generated

caseAnyType_1

@Deprecated
public <O> T caseAnyType_1(AnyType<O> object)
Deprecated. Since 2.0, override the caseTypes_AnyType(org.eclipse.ocl.types.AnyType) method, instead.


caseCollectionType_1

@Deprecated
public <C,O> T caseCollectionType_1(CollectionType<C,O> object)
Deprecated. Since 2.0, override the caseTypes_CollectionType(org.eclipse.ocl.types.CollectionType) method, instead.


caseBagType_1

@Deprecated
public <C,O> T caseBagType_1(BagType<C,O> object)
Deprecated. Since 2.0, override the caseTypes_BagType(org.eclipse.ocl.types.BagType) method, instead.


caseElementType_1

@Deprecated
public T caseElementType_1(ElementType object)
Deprecated. Since 2.0, override the caseTypes_ElementType(org.eclipse.ocl.types.ElementType) method, instead.


caseInvalidType_1

@Deprecated
public <O> T caseInvalidType_1(InvalidType<O> object)
Deprecated. Since 2.0, override the caseTypes_InvalidType(org.eclipse.ocl.types.InvalidType) method, instead.


caseMessageType_1

@Deprecated
public <C,O,P> T caseMessageType_1(MessageType<C,O,P> object)
Deprecated. Since 2.0, override the caseTypes_MessageType(org.eclipse.ocl.types.MessageType) method, instead.


caseOrderedSetType_1

@Deprecated
public <C,O> T caseOrderedSetType_1(OrderedSetType<C,O> object)
Deprecated. Since 2.0, override the caseTypes_OrderedSetType(org.eclipse.ocl.types.OrderedSetType) method, instead.


caseSequenceType_1

@Deprecated
public <C,O> T caseSequenceType_1(SequenceType<C,O> object)
Deprecated. Since 2.0, override the caseTypes_SequenceType(org.eclipse.ocl.types.SequenceType) method, instead.


caseSetType_1

@Deprecated
public <C,O> T caseSetType_1(SetType<C,O> object)
Deprecated. Since 2.0, override the caseTypes_SetType(org.eclipse.ocl.types.SetType) method, instead.


caseTupleType_1

@Deprecated
public <O,P> T caseTupleType_1(TupleType<O,P> object)
Deprecated. Since 2.0, override the caseTypes_TupleType(org.eclipse.ocl.types.TupleType) method, instead.


caseTypeType_1

@Deprecated
public <C,O> T caseTypeType_1(TypeType<C,O> object)
Deprecated. Since 2.0, override the caseTypes_TypeType(org.eclipse.ocl.types.TypeType) method, instead.


caseVoidType_1

@Deprecated
public <O> T caseVoidType_1(VoidType<O> object)
Deprecated. Since 2.0, override the caseTypes_VoidType(org.eclipse.ocl.types.VoidType) method, instead.


caseExpressionInOCL_1

@Deprecated
public <C,PM> T caseExpressionInOCL_1(ExpressionInOCL<C,PM> object)
Deprecated. Since 2.0, override the caseUtilities_ExpressionInOCL(org.eclipse.ocl.utilities.ExpressionInOCL) method, instead.


caseOCLExpression_1

@Deprecated
public <C> T caseOCLExpression_1(OCLExpression<C> object)
Deprecated. Since 2.0, override the caseExpressions_OCLExpression(org.eclipse.ocl.expressions.OCLExpression) method, instead.


caseCallExp_1

@Deprecated
public <C> T caseCallExp_1(CallExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_CallExp(org.eclipse.ocl.expressions.CallExp) method, instead.


caseFeatureCallExp_1

@Deprecated
public <C> T caseFeatureCallExp_1(FeatureCallExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_FeatureCallExp(org.eclipse.ocl.expressions.FeatureCallExp) method, instead.


caseNavigationCallExp_1

@Deprecated
public <C,P> T caseNavigationCallExp_1(NavigationCallExp<C,P> object)
Deprecated. Since 2.0, override the caseExpressions_NavigationCallExp(org.eclipse.ocl.expressions.NavigationCallExp) method, instead.


caseAssociationClassCallExp_1

@Deprecated
public <C,P> T caseAssociationClassCallExp_1(AssociationClassCallExp<C,P> object)
Deprecated. Since 2.0, override the caseExpressions_AssociationClassCallExp(org.eclipse.ocl.expressions.AssociationClassCallExp) method, instead.


caseLiteralExp_1

@Deprecated
public <C> T caseLiteralExp_1(LiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_LiteralExp(org.eclipse.ocl.expressions.LiteralExp) method, instead.


casePrimitiveLiteralExp_1

@Deprecated
public <C> T casePrimitiveLiteralExp_1(PrimitiveLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_PrimitiveLiteralExp(org.eclipse.ocl.expressions.PrimitiveLiteralExp) method, instead.


caseBooleanLiteralExp_1

@Deprecated
public <C> T caseBooleanLiteralExp_1(BooleanLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_BooleanLiteralExp(org.eclipse.ocl.expressions.BooleanLiteralExp) method, instead.


caseCollectionLiteralPart_1

@Deprecated
public <C> T caseCollectionLiteralPart_1(CollectionLiteralPart<C> object)
Deprecated. Since 2.0, override the caseExpressions_CollectionLiteralPart(org.eclipse.ocl.expressions.CollectionLiteralPart) method, instead.


caseCollectionItem_1

@Deprecated
public <C> T caseCollectionItem_1(CollectionItem<C> object)
Deprecated. Since 2.0, override the caseExpressions_CollectionItem(org.eclipse.ocl.expressions.CollectionItem) method, instead.


caseCollectionLiteralExp_1

@Deprecated
public <C> T caseCollectionLiteralExp_1(CollectionLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_CollectionLiteralExp(org.eclipse.ocl.expressions.CollectionLiteralExp) method, instead.


caseCollectionRange_1

@Deprecated
public <C> T caseCollectionRange_1(CollectionRange<C> object)
Deprecated. Since 2.0, override the caseExpressions_CollectionRange(org.eclipse.ocl.expressions.CollectionRange) method, instead.


caseEnumLiteralExp_1

@Deprecated
public <C,EL> T caseEnumLiteralExp_1(EnumLiteralExp<C,EL> object)
Deprecated. Since 2.0, override the caseExpressions_EnumLiteralExp(org.eclipse.ocl.expressions.EnumLiteralExp) method, instead.


caseIfExp_1

@Deprecated
public <C> T caseIfExp_1(IfExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_IfExp(org.eclipse.ocl.expressions.IfExp) method, instead.


caseNumericLiteralExp_1

@Deprecated
public <C> T caseNumericLiteralExp_1(NumericLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_NumericLiteralExp(org.eclipse.ocl.expressions.NumericLiteralExp) method, instead.


caseIntegerLiteralExp_1

@Deprecated
public <C> T caseIntegerLiteralExp_1(IntegerLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_IntegerLiteralExp(org.eclipse.ocl.expressions.IntegerLiteralExp) method, instead.


caseUnlimitedNaturalLiteralExp_1

@Deprecated
public <C> T caseUnlimitedNaturalLiteralExp_1(UnlimitedNaturalLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_UnlimitedNaturalLiteralExp(org.eclipse.ocl.expressions.UnlimitedNaturalLiteralExp) method, instead.


caseInvalidLiteralExp_1

@Deprecated
public <C> T caseInvalidLiteralExp_1(InvalidLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_InvalidLiteralExp(org.eclipse.ocl.expressions.InvalidLiteralExp) method, instead.


caseLoopExp_1

@Deprecated
public <C,PM> T caseLoopExp_1(LoopExp<C,PM> object)
Deprecated. Since 2.0, override the caseExpressions_LoopExp(org.eclipse.ocl.expressions.LoopExp) method, instead.


caseIterateExp_1

@Deprecated
public <C,PM> T caseIterateExp_1(IterateExp<C,PM> object)
Deprecated. Since 2.0, override the caseExpressions_IterateExp(org.eclipse.ocl.expressions.IterateExp) method, instead.


caseIteratorExp_1

@Deprecated
public <C,PM> T caseIteratorExp_1(IteratorExp<C,PM> object)
Deprecated. Since 2.0, override the caseExpressions_IteratorExp(org.eclipse.ocl.expressions.IteratorExp) method, instead.


caseLetExp_1

@Deprecated
public <C,PM> T caseLetExp_1(LetExp<C,PM> object)
Deprecated. Since 2.0, override the caseExpressions_LetExp(org.eclipse.ocl.expressions.LetExp) method, instead.


caseMessageExp_1

@Deprecated
public <C,COA,SSA> T caseMessageExp_1(MessageExp<C,COA,SSA> object)
Deprecated. Since 2.0, override the caseExpressions_MessageExp(org.eclipse.ocl.expressions.MessageExp) method, instead.


caseNullLiteralExp_1

@Deprecated
public <C> T caseNullLiteralExp_1(NullLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_NullLiteralExp(org.eclipse.ocl.expressions.NullLiteralExp) method, instead.


caseOperationCallExp_1

@Deprecated
public <C,O> T caseOperationCallExp_1(OperationCallExp<C,O> object)
Deprecated. Since 2.0, override the caseExpressions_OperationCallExp(org.eclipse.ocl.expressions.OperationCallExp) method, instead.


casePropertyCallExp_1

@Deprecated
public <C,P> T casePropertyCallExp_1(PropertyCallExp<C,P> object)
Deprecated. Since 2.0, override the caseExpressions_PropertyCallExp(org.eclipse.ocl.expressions.PropertyCallExp) method, instead.


caseRealLiteralExp_1

@Deprecated
public <C> T caseRealLiteralExp_1(RealLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_RealLiteralExp(org.eclipse.ocl.expressions.RealLiteralExp) method, instead.


caseStateExp_1

@Deprecated
public <C,S> T caseStateExp_1(StateExp<C,S> object)
Deprecated. Since 2.0, override the caseExpressions_StateExp(org.eclipse.ocl.expressions.StateExp) method, instead.


caseStringLiteralExp_1

@Deprecated
public <C> T caseStringLiteralExp_1(StringLiteralExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_StringLiteralExp(org.eclipse.ocl.expressions.StringLiteralExp) method, instead.


caseTupleLiteralExp_1

@Deprecated
public <C,P> T caseTupleLiteralExp_1(TupleLiteralExp<C,P> object)
Deprecated. Since 2.0, override the caseExpressions_TupleLiteralExp(org.eclipse.ocl.expressions.TupleLiteralExp) method, instead.


caseTupleLiteralPart_1

@Deprecated
public <C,P> T caseTupleLiteralPart_1(TupleLiteralPart<C,P> object)
Deprecated. Since 2.0, override the caseExpressions_TupleLiteralPart(org.eclipse.ocl.expressions.TupleLiteralPart) method, instead.


caseTypeExp_1

@Deprecated
public <C> T caseTypeExp_1(TypeExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_TypeExp(org.eclipse.ocl.expressions.TypeExp) method, instead.


caseUnspecifiedValueExp_1

@Deprecated
public <C> T caseUnspecifiedValueExp_1(UnspecifiedValueExp<C> object)
Deprecated. Since 2.0, override the caseExpressions_UnspecifiedValueExp(org.eclipse.ocl.expressions.UnspecifiedValueExp) method, instead.


caseVariable_1

@Deprecated
public <C,PM> T caseVariable_1(Variable<C,PM> object)
Deprecated. Since 2.0, override the caseExpressions_Variable(org.eclipse.ocl.expressions.Variable) method, instead.


caseVariableExp_1

@Deprecated
public <C,PM> T caseVariableExp_1(VariableExp<C,PM> object)
Deprecated. Since 2.0, override the caseExpressions_VariableExp(org.eclipse.ocl.expressions.VariableExp) method, instead.