Class DataAdapterFactory

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.gmt.modisco.omg.kdm.data.util.DataAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class DataAdapterFactory
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:
DataPackage
  • Field Details

    • modelPackage

      protected static DataPackage modelPackage
      The cached model package.
    • modelSwitch

      protected DataSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
      The switch that delegates to the createXXX methods.
  • Constructor Details

    • DataAdapterFactory

      public DataAdapterFactory()
      Creates an instance of the adapter factory.
  • Method Details

    • isFactoryForType

      public boolean isFactoryForType​(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.
    • createDataModelAdapter

      public org.eclipse.emf.common.notify.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
    • createAbstractDataElementAdapter

      public org.eclipse.emf.common.notify.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
    • createDataResourceAdapter

      public org.eclipse.emf.common.notify.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
    • createIndexElementAdapter

      public org.eclipse.emf.common.notify.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
    • createUniqueKeyAdapter

      public org.eclipse.emf.common.notify.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
    • createIndexAdapter

      public org.eclipse.emf.common.notify.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
    • createAbstractDataRelationshipAdapter

      public org.eclipse.emf.common.notify.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
    • createKeyRelationAdapter

      public org.eclipse.emf.common.notify.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
    • createReferenceKeyAdapter

      public org.eclipse.emf.common.notify.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
    • createDataContainerAdapter

      public org.eclipse.emf.common.notify.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
    • createCatalogAdapter

      public org.eclipse.emf.common.notify.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
    • createRelationalSchemaAdapter

      public org.eclipse.emf.common.notify.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
    • createColumnSetAdapter

      public org.eclipse.emf.common.notify.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
    • createRelationalTableAdapter

      public org.eclipse.emf.common.notify.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
    • createRelationalViewAdapter

      public org.eclipse.emf.common.notify.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
    • createRecordFileAdapter

      public org.eclipse.emf.common.notify.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
    • createDataEventAdapter

      public org.eclipse.emf.common.notify.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
    • createXMLSchemaAdapter

      public org.eclipse.emf.common.notify.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
    • createAbstractContentElementAdapter

      public org.eclipse.emf.common.notify.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
    • createComplexContentTypeAdapter

      public org.eclipse.emf.common.notify.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
    • createAllContentAdapter

      public org.eclipse.emf.common.notify.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
    • createSeqContentAdapter

      public org.eclipse.emf.common.notify.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
    • createChoiceContentAdapter

      public org.eclipse.emf.common.notify.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
    • createContentItemAdapter

      public org.eclipse.emf.common.notify.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
    • createGroupContentAdapter

      public org.eclipse.emf.common.notify.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
    • createContentRestrictionAdapter

      public org.eclipse.emf.common.notify.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
    • createSimpleContentTypeAdapter

      public org.eclipse.emf.common.notify.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
    • createExtendedDataElementAdapter

      public org.eclipse.emf.common.notify.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
    • createDataRelationshipAdapter

      public org.eclipse.emf.common.notify.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
    • createMixedContentAdapter

      public org.eclipse.emf.common.notify.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
    • createContentReferenceAdapter

      public org.eclipse.emf.common.notify.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
    • createDataActionAdapter

      public org.eclipse.emf.common.notify.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
    • createReadsColumnSetAdapter

      public org.eclipse.emf.common.notify.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
    • createContentAttributeAdapter

      public org.eclipse.emf.common.notify.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
    • createTypedByAdapter

      public org.eclipse.emf.common.notify.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
    • createReferenceToAdapter

      public org.eclipse.emf.common.notify.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
    • createRestrictionOfAdapter

      public org.eclipse.emf.common.notify.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
    • createExtensionToAdapter

      public org.eclipse.emf.common.notify.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
    • createDatatypeOfAdapter

      public org.eclipse.emf.common.notify.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
    • createHasContentAdapter

      public org.eclipse.emf.common.notify.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
    • createWritesColumnSetAdapter

      public org.eclipse.emf.common.notify.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
    • createProducesDataEventAdapter

      public org.eclipse.emf.common.notify.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
    • createDataSegmentAdapter

      public org.eclipse.emf.common.notify.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
    • createContentElementAdapter

      public org.eclipse.emf.common.notify.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
    • createManagesDataAdapter

      public org.eclipse.emf.common.notify.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
    • 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
    • createModelElementAdapter

      public org.eclipse.emf.common.notify.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
    • createKDMFrameworkAdapter

      public org.eclipse.emf.common.notify.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
    • createKDMModelAdapter

      public org.eclipse.emf.common.notify.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
    • createKDMEntityAdapter

      public org.eclipse.emf.common.notify.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
    • createKDMRelationshipAdapter

      public org.eclipse.emf.common.notify.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
    • createAbstractActionRelationshipAdapter

      public org.eclipse.emf.common.notify.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
    • 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.