org.eclipse.gmt.modisco.omg.kdm.data.util
Class DataAdapterFactory

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

public class DataAdapterFactory
extends AdapterFactoryImpl

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

See Also:
DataPackage
Generated:

Constructor Summary
DataAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAbstractActionRelationshipAdapter()
          Creates a new adapter for an object of class 'Abstract Action Relationship'.
 Adapter createAbstractContentElementAdapter()
          Creates a new adapter for an object of class 'Abstract Content Element'.
 Adapter createAbstractDataElementAdapter()
          Creates a new adapter for an object of class 'Abstract Data Element'.
 Adapter createAbstractDataRelationshipAdapter()
          Creates a new adapter for an object of class 'Abstract Data Relationship'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createAllContentAdapter()
          Creates a new adapter for an object of class 'All Content'.
 Adapter createCatalogAdapter()
          Creates a new adapter for an object of class 'Catalog'.
 Adapter createChoiceContentAdapter()
          Creates a new adapter for an object of class 'Choice Content'.
 Adapter createColumnSetAdapter()
          Creates a new adapter for an object of class 'Column Set'.
 Adapter createComplexContentTypeAdapter()
          Creates a new adapter for an object of class 'Complex Content Type'.
 Adapter createContentAttributeAdapter()
          Creates a new adapter for an object of class 'Content Attribute'.
 Adapter createContentElementAdapter()
          Creates a new adapter for an object of class 'Content Element'.
 Adapter createContentItemAdapter()
          Creates a new adapter for an object of class 'Content Item'.
 Adapter createContentReferenceAdapter()
          Creates a new adapter for an object of class 'Content Reference'.
 Adapter createContentRestrictionAdapter()
          Creates a new adapter for an object of class 'Content Restriction'.
 Adapter createDataActionAdapter()
          Creates a new adapter for an object of class 'Action'.
 Adapter createDataContainerAdapter()
          Creates a new adapter for an object of class 'Container'.
 Adapter createDataEventAdapter()
          Creates a new adapter for an object of class 'Event'.
 Adapter createDataModelAdapter()
          Creates a new adapter for an object of class 'Model'.
 Adapter createDataRelationshipAdapter()
          Creates a new adapter for an object of class 'Relationship'.
 Adapter createDataResourceAdapter()
          Creates a new adapter for an object of class 'Resource'.
 Adapter createDataSegmentAdapter()
          Creates a new adapter for an object of class 'Segment'.
 Adapter createDatatypeOfAdapter()
          Creates a new adapter for an object of class 'Datatype Of'.
 Adapter createElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createExtendedDataElementAdapter()
          Creates a new adapter for an object of class 'Extended Data Element'.
 Adapter createExtensionToAdapter()
          Creates a new adapter for an object of class 'Extension To'.
 Adapter createGroupContentAdapter()
          Creates a new adapter for an object of class 'Group Content'.
 Adapter createHasContentAdapter()
          Creates a new adapter for an object of class 'Has Content'.
 Adapter createIndexAdapter()
          Creates a new adapter for an object of class 'Index'.
 Adapter createIndexElementAdapter()
          Creates a new adapter for an object of class 'Index Element'.
 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 createKeyRelationAdapter()
          Creates a new adapter for an object of class 'Key Relation'.
 Adapter createManagesDataAdapter()
          Creates a new adapter for an object of class 'Manages Data'.
 Adapter createMixedContentAdapter()
          Creates a new adapter for an object of class 'Mixed Content'.
 Adapter createModelElementAdapter()
          Creates a new adapter for an object of class 'Model Element'.
 Adapter createProducesDataEventAdapter()
          Creates a new adapter for an object of class 'Produces Data Event'.
 Adapter createReadsColumnSetAdapter()
          Creates a new adapter for an object of class 'Reads Column Set'.
 Adapter createRecordFileAdapter()
          Creates a new adapter for an object of class 'Record File'.
 Adapter createReferenceKeyAdapter()
          Creates a new adapter for an object of class 'Reference Key'.
 Adapter createReferenceToAdapter()
          Creates a new adapter for an object of class 'Reference To'.
 Adapter createRelationalSchemaAdapter()
          Creates a new adapter for an object of class 'Relational Schema'.
 Adapter createRelationalTableAdapter()
          Creates a new adapter for an object of class 'Relational Table'.
 Adapter createRelationalViewAdapter()
          Creates a new adapter for an object of class 'Relational View'.
 Adapter createRestrictionOfAdapter()
          Creates a new adapter for an object of class 'Restriction Of'.
 Adapter createSeqContentAdapter()
          Creates a new adapter for an object of class 'Seq Content'.
 Adapter createSimpleContentTypeAdapter()
          Creates a new adapter for an object of class 'Simple Content Type'.
 Adapter createTypedByAdapter()
          Creates a new adapter for an object of class 'Typed By'.
 Adapter createUniqueKeyAdapter()
          Creates a new adapter for an object of class 'Unique Key'.
 Adapter createWritesColumnSetAdapter()
          Creates a new adapter for an object of class 'Writes Column Set'.
 Adapter createXMLSchemaAdapter()
          Creates a new adapter for an object of class 'XML Schema'.
 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

DataAdapterFactory

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

createDataModelAdapter

public Adapter createDataModelAdapter()
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:
DataModel
Generated:

createAbstractDataElementAdapter

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

createDataResourceAdapter

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

createIndexElementAdapter

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

createUniqueKeyAdapter

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

createIndexAdapter

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

createAbstractDataRelationshipAdapter

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

createKeyRelationAdapter

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

createReferenceKeyAdapter

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

createDataContainerAdapter

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

createCatalogAdapter

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

createRelationalSchemaAdapter

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

createColumnSetAdapter

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

createRelationalTableAdapter

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

createRelationalViewAdapter

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

createRecordFileAdapter

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

createDataEventAdapter

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

createXMLSchemaAdapter

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

createAbstractContentElementAdapter

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

createComplexContentTypeAdapter

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

createAllContentAdapter

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

createSeqContentAdapter

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

createChoiceContentAdapter

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

createContentItemAdapter

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

createGroupContentAdapter

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

createContentRestrictionAdapter

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

createSimpleContentTypeAdapter

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

createExtendedDataElementAdapter

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

createDataRelationshipAdapter

public Adapter createDataRelationshipAdapter()
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:
DataRelationship
Generated:

createMixedContentAdapter

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

createContentReferenceAdapter

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

createDataActionAdapter

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

createReadsColumnSetAdapter

public Adapter createReadsColumnSetAdapter()
Creates a new adapter for an object of class 'Reads Column Set'. 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:
ReadsColumnSet
Generated:

createContentAttributeAdapter

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

createTypedByAdapter

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

createReferenceToAdapter

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

createRestrictionOfAdapter

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

createExtensionToAdapter

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

createDatatypeOfAdapter

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

createHasContentAdapter

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

createWritesColumnSetAdapter

public Adapter createWritesColumnSetAdapter()
Creates a new adapter for an object of class 'Writes Column Set'. 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:
WritesColumnSet
Generated:

createProducesDataEventAdapter

public Adapter createProducesDataEventAdapter()
Creates a new adapter for an object of class 'Produces Data Event'. 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:
ProducesDataEvent
Generated:

createDataSegmentAdapter

public Adapter createDataSegmentAdapter()
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:
DataSegment
Generated:

createContentElementAdapter

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

createManagesDataAdapter

public Adapter createManagesDataAdapter()
Creates a new adapter for an object of class 'Manages Data'. 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:
ManagesData
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:

createAbstractActionRelationshipAdapter

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

createEObjectAdapter

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

Returns:
the new adapter.
Generated: