org.eclipse.gmt.umlx.emof.util
Class EmofAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.gmt.umlx.emof.util.EmofAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class EmofAdapterFactory
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:
EmofPackage

Constructor Summary
EmofAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
          Creates an adapter for the target.
 org.eclipse.emf.common.notify.Adapter createClassAdapter()
          Creates a new adapter for an object of class 'Class'.
 org.eclipse.emf.common.notify.Adapter createCommentAdapter()
          Creates a new adapter for an object of class 'Comment'.
 org.eclipse.emf.common.notify.Adapter createDataTypeAdapter()
          Creates a new adapter for an object of class 'Data Type'.
 org.eclipse.emf.common.notify.Adapter createElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 org.eclipse.emf.common.notify.Adapter createEnumerationAdapter()
          Creates a new adapter for an object of class 'Enumeration'.
 org.eclipse.emf.common.notify.Adapter createEnumerationLiteralAdapter()
          Creates a new adapter for an object of class 'Enumeration Literal'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createExtentAdapter()
          Creates a new adapter for an object of class 'Extent'.
 org.eclipse.emf.common.notify.Adapter createMultiplicityElementAdapter()
          Creates a new adapter for an object of class 'Multiplicity Element'.
 org.eclipse.emf.common.notify.Adapter createNamedElementAdapter()
          Creates a new adapter for an object of class 'Named Element'.
 org.eclipse.emf.common.notify.Adapter createObjectAdapter()
          Creates a new adapter for an object of class 'Object'.
 org.eclipse.emf.common.notify.Adapter createOperationAdapter()
          Creates a new adapter for an object of class 'Operation'.
 org.eclipse.emf.common.notify.Adapter createPackageAdapter()
          Creates a new adapter for an object of class 'Package'.
 org.eclipse.emf.common.notify.Adapter createParameterAdapter()
          Creates a new adapter for an object of class 'Parameter'.
 org.eclipse.emf.common.notify.Adapter createPrimitiveTypeAdapter()
          Creates a new adapter for an object of class 'Primitive Type'.
 org.eclipse.emf.common.notify.Adapter createPropertyAdapter()
          Creates a new adapter for an object of class 'Property'.
 org.eclipse.emf.common.notify.Adapter createTagAdapter()
          Creates a new adapter for an object of class 'Tag'.
 org.eclipse.emf.common.notify.Adapter createTypeAdapter()
          Creates a new adapter for an object of class 'Type'.
 org.eclipse.emf.common.notify.Adapter createTypedElementAdapter()
          Creates a new adapter for an object of class 'Typed Element'.
 org.eclipse.emf.common.notify.Adapter createURIExtentAdapter()
          Creates a new adapter for an object of class 'URI Extent'.
 boolean isFactoryForType(java.lang.Object object)
          Returns whether this factory is applicable for the type of the object.
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmofAdapterFactory

public EmofAdapterFactory()
Creates an instance of the adapter factory.

Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.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.

createClassAdapter

public org.eclipse.emf.common.notify.Adapter createClassAdapter()
Creates a new adapter for an object of class 'Class'. 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:
Class

createDataTypeAdapter

public org.eclipse.emf.common.notify.Adapter createDataTypeAdapter()
Creates a new adapter for an object of class 'Data 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:
DataType

createElementAdapter

public org.eclipse.emf.common.notify.Adapter createElementAdapter()
Creates a new adapter for an object of class '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:
Element

createTagAdapter

public org.eclipse.emf.common.notify.Adapter createTagAdapter()
Creates a new adapter for an object of class 'Tag'. 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:
Tag

createEnumerationAdapter

public org.eclipse.emf.common.notify.Adapter createEnumerationAdapter()
Creates a new adapter for an object of class 'Enumeration'. 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:
Enumeration

createNamedElementAdapter

public org.eclipse.emf.common.notify.Adapter createNamedElementAdapter()
Creates a new adapter for an object of class 'Named 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:
NamedElement

createExtentAdapter

public org.eclipse.emf.common.notify.Adapter createExtentAdapter()
Creates a new adapter for an object of class 'Extent'. 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:
Extent

createObjectAdapter

public org.eclipse.emf.common.notify.Adapter createObjectAdapter()
Creates a new adapter for an object of class 'Object'. 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:
Object

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:
Operation

createMultiplicityElementAdapter

public org.eclipse.emf.common.notify.Adapter createMultiplicityElementAdapter()
Creates a new adapter for an object of class 'Multiplicity 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:
MultiplicityElement

createPackageAdapter

public org.eclipse.emf.common.notify.Adapter createPackageAdapter()
Creates a new adapter for an object of class 'Package'. 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:
Package

createTypeAdapter

public org.eclipse.emf.common.notify.Adapter createTypeAdapter()
Creates a new adapter for an object of class '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:
Type

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:
Parameter

createEnumerationLiteralAdapter

public org.eclipse.emf.common.notify.Adapter createEnumerationLiteralAdapter()
Creates a new adapter for an object of class 'Enumeration Literal'. 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:
EnumerationLiteral

createPropertyAdapter

public org.eclipse.emf.common.notify.Adapter createPropertyAdapter()
Creates a new adapter for an object of class 'Property'. 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:
Property

createTypedElementAdapter

public org.eclipse.emf.common.notify.Adapter createTypedElementAdapter()
Creates a new adapter for an object of class 'Typed 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:
TypedElement

createPrimitiveTypeAdapter

public org.eclipse.emf.common.notify.Adapter createPrimitiveTypeAdapter()
Creates a new adapter for an object of class 'Primitive 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:
PrimitiveType

createURIExtentAdapter

public org.eclipse.emf.common.notify.Adapter createURIExtentAdapter()
Creates a new adapter for an object of class 'URI Extent'. 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:
URIExtent

createCommentAdapter

public org.eclipse.emf.common.notify.Adapter createCommentAdapter()
Creates a new adapter for an object of class 'Comment'. 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:
Comment

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.