org.eclipse.gmt.modisco.omg.kdm.source.util
Class SourceAdapterFactory

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

public class SourceAdapterFactory
extends AdapterFactoryImpl

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

See Also:
SourcePackage
Generated:

Constructor Summary
SourceAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAbstractInventoryElementAdapter()
          Creates a new adapter for an object of class 'Abstract Inventory Element'.
 Adapter createAbstractInventoryRelationshipAdapter()
          Creates a new adapter for an object of class 'Abstract Inventory Relationship'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createBinaryFileAdapter()
          Creates a new adapter for an object of class 'Binary File'.
 Adapter createConfigurationAdapter()
          Creates a new adapter for an object of class 'Configuration'.
 Adapter createDependsOnAdapter()
          Creates a new adapter for an object of class 'Depends On'.
 Adapter createDirectoryAdapter()
          Creates a new adapter for an object of class 'Directory'.
 Adapter createElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createExecutableFileAdapter()
          Creates a new adapter for an object of class 'Executable File'.
 Adapter createImageAdapter()
          Creates a new adapter for an object of class 'Image'.
 Adapter createInventoryContainerAdapter()
          Creates a new adapter for an object of class 'Inventory Container'.
 Adapter createInventoryElementAdapter()
          Creates a new adapter for an object of class 'Inventory Element'.
 Adapter createInventoryItemAdapter()
          Creates a new adapter for an object of class 'Inventory Item'.
 Adapter createInventoryModelAdapter()
          Creates a new adapter for an object of class 'Inventory Model'.
 Adapter createInventoryRelationshipAdapter()
          Creates a new adapter for an object of class 'Inventory Relationship'.
 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 createModelElementAdapter()
          Creates a new adapter for an object of class 'Model Element'.
 Adapter createProjectAdapter()
          Creates a new adapter for an object of class 'Project'.
 Adapter createResourceDescriptionAdapter()
          Creates a new adapter for an object of class 'Resource Description'.
 Adapter createSourceFileAdapter()
          Creates a new adapter for an object of class 'File'.
 Adapter createSourceRefAdapter()
          Creates a new adapter for an object of class 'Ref'.
 Adapter createSourceRegionAdapter()
          Creates a new adapter for an object of class 'Region'.
 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

SourceAdapterFactory

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

createInventoryModelAdapter

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

createAbstractInventoryElementAdapter

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

createAbstractInventoryRelationshipAdapter

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

createInventoryItemAdapter

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

createSourceFileAdapter

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

createImageAdapter

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

createConfigurationAdapter

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

createResourceDescriptionAdapter

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

createBinaryFileAdapter

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

createExecutableFileAdapter

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

createInventoryContainerAdapter

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

createDirectoryAdapter

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

createProjectAdapter

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

createDependsOnAdapter

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

createSourceRefAdapter

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

createSourceRegionAdapter

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

createInventoryElementAdapter

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

createInventoryRelationshipAdapter

public Adapter createInventoryRelationshipAdapter()
Creates a new adapter for an object of class 'Inventory 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:
InventoryRelationship
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:

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:

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:

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: