org.eclipse.gmt.modisco.omg.kdm.kdm.util
Class KdmAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by org.eclipse.gmt.modisco.omg.kdm.kdm.util.KdmAdapterFactory

public class KdmAdapterFactory
extends AdapterFactoryImpl

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See Also:
KdmPackage
Generated:

Constructor Summary
KdmAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createAnnotationAdapter()
          Creates a new adapter for an object of class 'Annotation'.
 Adapter createAttributeAdapter()
          Creates a new adapter for an object of class 'Attribute'.
 Adapter createAuditAdapter()
          Creates a new adapter for an object of class 'Audit'.
 Adapter createElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createExtendedValueAdapter()
          Creates a new adapter for an object of class 'Extended Value'.
 Adapter createExtensionFamilyAdapter()
          Creates a new adapter for an object of class 'Extension Family'.
 Adapter createKDMFrameworkAdapter()
          Creates a new adapter for an object of class 'KDM Framework'.
 Adapter createKDMModelAdapter()
          Creates a new adapter for an object of class 'KDM Model'.
 Adapter createModelElementAdapter()
          Creates a new adapter for an object of class 'Model Element'.
 Adapter createSegmentAdapter()
          Creates a new adapter for an object of class 'Segment'.
 Adapter createStereotypeAdapter()
          Creates a new adapter for an object of class 'Stereotype'.
 Adapter createTagDefinitionAdapter()
          Creates a new adapter for an object of class 'Tag Definition'.
 Adapter createTaggedRefAdapter()
          Creates a new adapter for an object of class 'Tagged Ref'.
 Adapter createTaggedValueAdapter()
          Creates a new adapter for an object of class 'Tagged Value'.
 boolean isFactoryForType(java.lang.Object object)
          Returns whether this factory is applicable for the type of the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KdmAdapterFactory

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

Generated:
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.

Returns:
whether this factory is applicable for the type of the object.
Generated:

createAdapter

public Adapter createAdapter(Notifier target)
Creates an adapter for the target.

Parameters:
target - the object to adapt.
Returns:
the adapter for the target.
Generated:

createKDMFrameworkAdapter

public Adapter createKDMFrameworkAdapter()
Creates a new adapter for an object of class 'KDM Framework'. 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:
KDMFramework
Generated:

createKDMModelAdapter

public Adapter createKDMModelAdapter()
Creates a new adapter for an object of class 'KDM 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:
KDMModel
Generated:

createSegmentAdapter

public Adapter createSegmentAdapter()
Creates a new adapter for an object of class 'Segment'. 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:
Segment
Generated:

createAuditAdapter

public Adapter createAuditAdapter()
Creates a new adapter for an object of class 'Audit'. 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:
Audit
Generated:

createStereotypeAdapter

public Adapter createStereotypeAdapter()
Creates a new adapter for an object of class 'Stereotype'. 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:
Stereotype
Generated:

createTagDefinitionAdapter

public Adapter createTagDefinitionAdapter()
Creates a new adapter for an object of class 'Tag 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:
TagDefinition
Generated:

createExtensionFamilyAdapter

public Adapter createExtensionFamilyAdapter()
Creates a new adapter for an object of class 'Extension Family'. 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:
ExtensionFamily
Generated:

createExtendedValueAdapter

public Adapter createExtendedValueAdapter()
Creates a new adapter for an object of class 'Extended Value'. 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:
ExtendedValue
Generated:

createTaggedValueAdapter

public Adapter createTaggedValueAdapter()
Creates a new adapter for an object of class 'Tagged Value'. 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:
TaggedValue
Generated:

createTaggedRefAdapter

public Adapter createTaggedRefAdapter()
Creates a new adapter for an object of class 'Tagged Ref'. 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:
TaggedRef
Generated:

createAttributeAdapter

public 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:
Attribute
Generated:

createAnnotationAdapter

public Adapter createAnnotationAdapter()
Creates a new adapter for an object of class 'Annotation'. 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:
Annotation
Generated:

createElementAdapter

public 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
Generated:

createModelElementAdapter

public Adapter createModelElementAdapter()
Creates a new adapter for an object of class '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:
ModelElement
Generated:

createEObjectAdapter

public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.
Generated: