org.eclipse.gmt.modisco.omg.kdm.structure.util
Class StructureAdapterFactory

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

public class StructureAdapterFactory
extends AdapterFactoryImpl

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

See Also:
StructurePackage
Generated:

Constructor Summary
StructureAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAbstractStructureElementAdapter()
          Creates a new adapter for an object of class 'Abstract Structure Element'.
 Adapter createAbstractStructureRelationshipAdapter()
          Creates a new adapter for an object of class 'Abstract Structure Relationship'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createArchitectureViewAdapter()
          Creates a new adapter for an object of class 'Architecture View'.
 Adapter createComponentAdapter()
          Creates a new adapter for an object of class 'Component'.
 Adapter createElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createKDMEntityAdapter()
          Creates a new adapter for an object of class 'KDM Entity'.
 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 createKDMRelationshipAdapter()
          Creates a new adapter for an object of class 'KDM Relationship'.
 Adapter createLayerAdapter()
          Creates a new adapter for an object of class 'Layer'.
 Adapter createModelElementAdapter()
          Creates a new adapter for an object of class 'Model Element'.
 Adapter createSoftwareSystemAdapter()
          Creates a new adapter for an object of class 'Software System'.
 Adapter createStructureElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createStructureModelAdapter()
          Creates a new adapter for an object of class 'Model'.
 Adapter createStructureRelationshipAdapter()
          Creates a new adapter for an object of class 'Relationship'.
 Adapter createSubsystemAdapter()
          Creates a new adapter for an object of class 'Subsystem'.
 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

StructureAdapterFactory

public StructureAdapterFactory()
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:

createAbstractStructureElementAdapter

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

createSubsystemAdapter

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

createLayerAdapter

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

createStructureModelAdapter

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

createComponentAdapter

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

createSoftwareSystemAdapter

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

createAbstractStructureRelationshipAdapter

public Adapter createAbstractStructureRelationshipAdapter()
Creates a new adapter for an object of class 'Abstract Structure Relationship'. 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:
AbstractStructureRelationship
Generated:

createStructureRelationshipAdapter

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

createArchitectureViewAdapter

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

createStructureElementAdapter

public Adapter createStructureElementAdapter()
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:
StructureElement
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:

createKDMEntityAdapter

public Adapter createKDMEntityAdapter()
Creates a new adapter for an object of class 'KDM Entity'. 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:
KDMEntity
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:

createKDMRelationshipAdapter

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

createEObjectAdapter

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

Returns:
the new adapter.
Generated: