Class OCLAdapterFactory

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.m2m.atl.common.OCL.util.OCLAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class OCLAdapterFactory extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.
See Also:
  • Field Details

    • modelPackage

      protected static OCLPackage modelPackage
      The cached model package.
    • modelSwitch

      protected OCLSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
      The switch that delegates to the createXXX methods.
  • Constructor Details

    • OCLAdapterFactory

      public OCLAdapterFactory()
      Creates an instance of the adapter factory.
  • Method Details

    • isFactoryForType

      public boolean isFactoryForType(Object object)
      Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
      Specified by:
      isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
      Overrides:
      isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      Returns:
      whether this factory is applicable for the type of the object.
    • createAdapter

      public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
      Creates an adapter for the target.
      Overrides:
      createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      Parameters:
      target - the object to adapt.
      Returns:
      the adapter for the target.
    • createOclExpressionAdapter

      public org.eclipse.emf.common.notify.Adapter createOclExpressionAdapter()
      Creates a new adapter for an object of class 'Ocl Expression'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createVariableExpAdapter

      public org.eclipse.emf.common.notify.Adapter createVariableExpAdapter()
      Creates a new adapter for an object of class 'Variable Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createSuperExpAdapter

      public org.eclipse.emf.common.notify.Adapter createSuperExpAdapter()
      Creates a new adapter for an object of class 'Super Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createPrimitiveExpAdapter

      public org.eclipse.emf.common.notify.Adapter createPrimitiveExpAdapter()
      Creates a new adapter for an object of class 'Primitive Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createStringExpAdapter

      public org.eclipse.emf.common.notify.Adapter createStringExpAdapter()
      Creates a new adapter for an object of class 'String Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createBooleanExpAdapter

      public org.eclipse.emf.common.notify.Adapter createBooleanExpAdapter()
      Creates a new adapter for an object of class 'Boolean Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createNumericExpAdapter

      public org.eclipse.emf.common.notify.Adapter createNumericExpAdapter()
      Creates a new adapter for an object of class 'Numeric Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createRealExpAdapter

      public org.eclipse.emf.common.notify.Adapter createRealExpAdapter()
      Creates a new adapter for an object of class 'Real Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createIntegerExpAdapter

      public org.eclipse.emf.common.notify.Adapter createIntegerExpAdapter()
      Creates a new adapter for an object of class 'Integer Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createCollectionExpAdapter

      public org.eclipse.emf.common.notify.Adapter createCollectionExpAdapter()
      Creates a new adapter for an object of class 'Collection Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createBagExpAdapter

      public org.eclipse.emf.common.notify.Adapter createBagExpAdapter()
      Creates a new adapter for an object of class 'Bag Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOrderedSetExpAdapter

      public org.eclipse.emf.common.notify.Adapter createOrderedSetExpAdapter()
      Creates a new adapter for an object of class 'Ordered Set Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createSequenceExpAdapter

      public org.eclipse.emf.common.notify.Adapter createSequenceExpAdapter()
      Creates a new adapter for an object of class 'Sequence Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createSetExpAdapter

      public org.eclipse.emf.common.notify.Adapter createSetExpAdapter()
      Creates a new adapter for an object of class 'Set Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createTupleExpAdapter

      public org.eclipse.emf.common.notify.Adapter createTupleExpAdapter()
      Creates a new adapter for an object of class 'Tuple Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createTuplePartAdapter

      public org.eclipse.emf.common.notify.Adapter createTuplePartAdapter()
      Creates a new adapter for an object of class 'Tuple Part'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createMapExpAdapter

      public org.eclipse.emf.common.notify.Adapter createMapExpAdapter()
      Creates a new adapter for an object of class 'Map Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createMapElementAdapter

      public org.eclipse.emf.common.notify.Adapter createMapElementAdapter()
      Creates a new adapter for an object of class 'Map Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createEnumLiteralExpAdapter

      public org.eclipse.emf.common.notify.Adapter createEnumLiteralExpAdapter()
      Creates a new adapter for an object of class 'Enum Literal Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOclUndefinedExpAdapter

      public org.eclipse.emf.common.notify.Adapter createOclUndefinedExpAdapter()
      Creates a new adapter for an object of class 'Ocl Undefined Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createPropertyCallExpAdapter

      public org.eclipse.emf.common.notify.Adapter createPropertyCallExpAdapter()
      Creates a new adapter for an object of class 'Property Call Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createNavigationOrAttributeCallExpAdapter

      public org.eclipse.emf.common.notify.Adapter createNavigationOrAttributeCallExpAdapter()
      Creates a new adapter for an object of class 'Navigation Or Attribute Call Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOperationCallExpAdapter

      public org.eclipse.emf.common.notify.Adapter createOperationCallExpAdapter()
      Creates a new adapter for an object of class 'Operation Call Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOperatorCallExpAdapter

      public org.eclipse.emf.common.notify.Adapter createOperatorCallExpAdapter()
      Creates a new adapter for an object of class 'Operator Call Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createCollectionOperationCallExpAdapter

      public org.eclipse.emf.common.notify.Adapter createCollectionOperationCallExpAdapter()
      Creates a new adapter for an object of class 'Collection Operation Call Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createLoopExpAdapter

      public org.eclipse.emf.common.notify.Adapter createLoopExpAdapter()
      Creates a new adapter for an object of class 'Loop Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createIterateExpAdapter

      public org.eclipse.emf.common.notify.Adapter createIterateExpAdapter()
      Creates a new adapter for an object of class 'Iterate Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createIteratorExpAdapter

      public org.eclipse.emf.common.notify.Adapter createIteratorExpAdapter()
      Creates a new adapter for an object of class 'Iterator Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createLetExpAdapter

      public org.eclipse.emf.common.notify.Adapter createLetExpAdapter()
      Creates a new adapter for an object of class 'Let Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createIfExpAdapter

      public org.eclipse.emf.common.notify.Adapter createIfExpAdapter()
      Creates a new adapter for an object of class 'If Exp'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createVariableDeclarationAdapter

      public org.eclipse.emf.common.notify.Adapter createVariableDeclarationAdapter()
      Creates a new adapter for an object of class 'Variable Declaration'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createIteratorAdapter

      public org.eclipse.emf.common.notify.Adapter createIteratorAdapter()
      Creates a new adapter for an object of class 'Iterator'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createParameterAdapter

      public org.eclipse.emf.common.notify.Adapter createParameterAdapter()
      Creates a new adapter for an object of class 'Parameter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createCollectionTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createCollectionTypeAdapter()
      Creates a new adapter for an object of class 'Collection Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOclTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createOclTypeAdapter()
      Creates a new adapter for an object of class 'Ocl Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createPrimitiveAdapter

      public org.eclipse.emf.common.notify.Adapter createPrimitiveAdapter()
      Creates a new adapter for an object of class 'Primitive'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createStringTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createStringTypeAdapter()
      Creates a new adapter for an object of class 'String Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createBooleanTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createBooleanTypeAdapter()
      Creates a new adapter for an object of class 'Boolean Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createNumericTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createNumericTypeAdapter()
      Creates a new adapter for an object of class 'Numeric Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createIntegerTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createIntegerTypeAdapter()
      Creates a new adapter for an object of class 'Integer Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createRealTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createRealTypeAdapter()
      Creates a new adapter for an object of class 'Real Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createBagTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createBagTypeAdapter()
      Creates a new adapter for an object of class 'Bag Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOrderedSetTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createOrderedSetTypeAdapter()
      Creates a new adapter for an object of class 'Ordered Set Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createSequenceTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createSequenceTypeAdapter()
      Creates a new adapter for an object of class 'Sequence Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createSetTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createSetTypeAdapter()
      Creates a new adapter for an object of class 'Set Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOclAnyTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createOclAnyTypeAdapter()
      Creates a new adapter for an object of class 'Ocl Any Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createTupleTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createTupleTypeAdapter()
      Creates a new adapter for an object of class 'Tuple Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createTupleTypeAttributeAdapter

      public org.eclipse.emf.common.notify.Adapter createTupleTypeAttributeAdapter()
      Creates a new adapter for an object of class 'Tuple Type Attribute'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOclModelElementAdapter

      public org.eclipse.emf.common.notify.Adapter createOclModelElementAdapter()
      Creates a new adapter for an object of class 'Ocl Model Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createMapTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createMapTypeAdapter()
      Creates a new adapter for an object of class 'Map Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOclFeatureDefinitionAdapter

      public org.eclipse.emf.common.notify.Adapter createOclFeatureDefinitionAdapter()
      Creates a new adapter for an object of class 'Ocl Feature Definition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOclContextDefinitionAdapter

      public org.eclipse.emf.common.notify.Adapter createOclContextDefinitionAdapter()
      Creates a new adapter for an object of class 'Ocl Context Definition'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOclFeatureAdapter

      public org.eclipse.emf.common.notify.Adapter createOclFeatureAdapter()
      Creates a new adapter for an object of class 'Ocl Feature'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createAttributeAdapter

      public org.eclipse.emf.common.notify.Adapter createAttributeAdapter()
      Creates a new adapter for an object of class 'Attribute'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOperationAdapter

      public org.eclipse.emf.common.notify.Adapter createOperationAdapter()
      Creates a new adapter for an object of class 'Operation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createOclModelAdapter

      public org.eclipse.emf.common.notify.Adapter createOclModelAdapter()
      Creates a new adapter for an object of class 'Ocl Model'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createLocatedElementAdapter

      public org.eclipse.emf.common.notify.Adapter createLocatedElementAdapter()
      Creates a new adapter for an object of class 'Located Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
      Returns:
      the new adapter.
      See Also:
    • createEObjectAdapter

      public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
      Creates a new adapter for the default case. This default implementation returns null.
      Returns:
      the new adapter.