Class PlatformAdapterFactory

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

public class PlatformAdapterFactory
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:
PlatformPackage
  • Field Details

    • modelPackage

      protected static PlatformPackage modelPackage
      The cached model package.
    • modelSwitch

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

    • PlatformAdapterFactory

      public PlatformAdapterFactory()
      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.
    • createAbstractPlatformElementAdapter

      public org.eclipse.emf.common.notify.Adapter createAbstractPlatformElementAdapter()
      Creates a new adapter for an object of class 'Abstract Platform 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:
      AbstractPlatformElement
    • createPlatformModelAdapter

      public org.eclipse.emf.common.notify.Adapter createPlatformModelAdapter()
      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:
      PlatformModel
    • createAbstractPlatformRelationshipAdapter

      public org.eclipse.emf.common.notify.Adapter createAbstractPlatformRelationshipAdapter()
      Creates a new adapter for an object of class 'Abstract Platform 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:
      AbstractPlatformRelationship
    • createRequiresAdapter

      public org.eclipse.emf.common.notify.Adapter createRequiresAdapter()
      Creates a new adapter for an object of class 'Requires'. 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:
      Requires
    • createResourceTypeAdapter

      public org.eclipse.emf.common.notify.Adapter createResourceTypeAdapter()
      Creates a new adapter for an object of class 'Resource 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:
      ResourceType
    • createNamingResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createNamingResourceAdapter()
      Creates a new adapter for an object of class 'Naming 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:
      NamingResource
    • createMarshalledResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createMarshalledResourceAdapter()
      Creates a new adapter for an object of class 'Marshalled 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:
      MarshalledResource
    • createMessagingResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createMessagingResourceAdapter()
      Creates a new adapter for an object of class 'Messaging 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:
      MessagingResource
    • createFileResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createFileResourceAdapter()
      Creates a new adapter for an object of class 'File 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:
      FileResource
    • createExecutionResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createExecutionResourceAdapter()
      Creates a new adapter for an object of class 'Execution 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:
      ExecutionResource
    • createPlatformActionAdapter

      public org.eclipse.emf.common.notify.Adapter createPlatformActionAdapter()
      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:
      PlatformAction
    • createExternalActorAdapter

      public org.eclipse.emf.common.notify.Adapter createExternalActorAdapter()
      Creates a new adapter for an object of class 'External Actor'. 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:
      ExternalActor
    • createDataManagerAdapter

      public org.eclipse.emf.common.notify.Adapter createDataManagerAdapter()
      Creates a new adapter for an object of class 'Data Manager'. 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:
      DataManager
    • createBindsToAdapter

      public org.eclipse.emf.common.notify.Adapter createBindsToAdapter()
      Creates a new adapter for an object of class 'Binds 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:
      BindsTo
    • createPlatformElementAdapter

      public org.eclipse.emf.common.notify.Adapter createPlatformElementAdapter()
      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:
      PlatformElement
    • createPlatformRelationshipAdapter

      public org.eclipse.emf.common.notify.Adapter createPlatformRelationshipAdapter()
      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:
      PlatformRelationship
    • createPlatformEventAdapter

      public org.eclipse.emf.common.notify.Adapter createPlatformEventAdapter()
      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:
      PlatformEvent
    • createLockResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createLockResourceAdapter()
      Creates a new adapter for an object of class 'Lock 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:
      LockResource
    • createDeployedSoftwareSystemAdapter

      public org.eclipse.emf.common.notify.Adapter createDeployedSoftwareSystemAdapter()
      Creates a new adapter for an object of class 'Deployed 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:
      DeployedSoftwareSystem
    • createMachineAdapter

      public org.eclipse.emf.common.notify.Adapter createMachineAdapter()
      Creates a new adapter for an object of class 'Machine'. 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:
      Machine
    • createDeployedComponentAdapter

      public org.eclipse.emf.common.notify.Adapter createDeployedComponentAdapter()
      Creates a new adapter for an object of class 'Deployed 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:
      DeployedComponent
    • createDeployedResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createDeployedResourceAdapter()
      Creates a new adapter for an object of class 'Deployed 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:
      DeployedResource
    • createLoadsAdapter

      public org.eclipse.emf.common.notify.Adapter createLoadsAdapter()
      Creates a new adapter for an object of class 'Loads'. 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:
      Loads
    • createSpawnsAdapter

      public org.eclipse.emf.common.notify.Adapter createSpawnsAdapter()
      Creates a new adapter for an object of class 'Spawns'. 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:
      Spawns
    • createRuntimeResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createRuntimeResourceAdapter()
      Creates a new adapter for an object of class 'Runtime 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:
      RuntimeResource
    • createThreadAdapter

      public org.eclipse.emf.common.notify.Adapter createThreadAdapter()
      Creates a new adapter for an object of class 'Thread'. 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:
      Thread
    • createProcessAdapter

      public org.eclipse.emf.common.notify.Adapter createProcessAdapter()
      Creates a new adapter for an object of class 'Process'. 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:
      Process
    • createReadsResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createReadsResourceAdapter()
      Creates a new adapter for an object of class 'Reads 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:
      ReadsResource
    • createWritesResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createWritesResourceAdapter()
      Creates a new adapter for an object of class 'Writes 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:
      WritesResource
    • createManagesResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createManagesResourceAdapter()
      Creates a new adapter for an object of class 'Manages 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:
      ManagesResource
    • createDefinedByAdapter

      public org.eclipse.emf.common.notify.Adapter createDefinedByAdapter()
      Creates a new adapter for an object of class 'Defined 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:
      DefinedBy
    • createStreamResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createStreamResourceAdapter()
      Creates a new adapter for an object of class 'Stream 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:
      StreamResource
    • 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
    • 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
    • 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
    • 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.