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 Summary
Fields Modifier and Type Field Description protected static PlatformPackagemodelPackageThe cached model package.protected PlatformSwitch<org.eclipse.emf.common.notify.Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors Constructor Description PlatformAdapterFactory()Creates an instance of the adapter factory. -
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.notify.AdaptercreateAbstractActionRelationshipAdapter()Creates a new adapter for an object of class 'Abstract Action Relationship'.org.eclipse.emf.common.notify.AdaptercreateAbstractPlatformElementAdapter()Creates a new adapter for an object of class 'Abstract Platform Element'.org.eclipse.emf.common.notify.AdaptercreateAbstractPlatformRelationshipAdapter()Creates a new adapter for an object of class 'Abstract Platform Relationship'.org.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdaptercreateBindsToAdapter()Creates a new adapter for an object of class 'Binds To'.org.eclipse.emf.common.notify.AdaptercreateDataManagerAdapter()Creates a new adapter for an object of class 'Data Manager'.org.eclipse.emf.common.notify.AdaptercreateDefinedByAdapter()Creates a new adapter for an object of class 'Defined By'.org.eclipse.emf.common.notify.AdaptercreateDeployedComponentAdapter()Creates a new adapter for an object of class 'Deployed Component'.org.eclipse.emf.common.notify.AdaptercreateDeployedResourceAdapter()Creates a new adapter for an object of class 'Deployed Resource'.org.eclipse.emf.common.notify.AdaptercreateDeployedSoftwareSystemAdapter()Creates a new adapter for an object of class 'Deployed Software System'.org.eclipse.emf.common.notify.AdaptercreateElementAdapter()Creates a new adapter for an object of class 'Element'.org.eclipse.emf.common.notify.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.org.eclipse.emf.common.notify.AdaptercreateExecutionResourceAdapter()Creates a new adapter for an object of class 'Execution Resource'.org.eclipse.emf.common.notify.AdaptercreateExternalActorAdapter()Creates a new adapter for an object of class 'External Actor'.org.eclipse.emf.common.notify.AdaptercreateFileResourceAdapter()Creates a new adapter for an object of class 'File Resource'.org.eclipse.emf.common.notify.AdaptercreateKDMEntityAdapter()Creates a new adapter for an object of class 'KDM Entity'.org.eclipse.emf.common.notify.AdaptercreateKDMFrameworkAdapter()Creates a new adapter for an object of class 'KDM Framework'.org.eclipse.emf.common.notify.AdaptercreateKDMModelAdapter()Creates a new adapter for an object of class 'KDM Model'.org.eclipse.emf.common.notify.AdaptercreateKDMRelationshipAdapter()Creates a new adapter for an object of class 'KDM Relationship'.org.eclipse.emf.common.notify.AdaptercreateLoadsAdapter()Creates a new adapter for an object of class 'Loads'.org.eclipse.emf.common.notify.AdaptercreateLockResourceAdapter()Creates a new adapter for an object of class 'Lock Resource'.org.eclipse.emf.common.notify.AdaptercreateMachineAdapter()Creates a new adapter for an object of class 'Machine'.org.eclipse.emf.common.notify.AdaptercreateManagesResourceAdapter()Creates a new adapter for an object of class 'Manages Resource'.org.eclipse.emf.common.notify.AdaptercreateMarshalledResourceAdapter()Creates a new adapter for an object of class 'Marshalled Resource'.org.eclipse.emf.common.notify.AdaptercreateMessagingResourceAdapter()Creates a new adapter for an object of class 'Messaging Resource'.org.eclipse.emf.common.notify.AdaptercreateModelElementAdapter()Creates a new adapter for an object of class 'Model Element'.org.eclipse.emf.common.notify.AdaptercreateNamingResourceAdapter()Creates a new adapter for an object of class 'Naming Resource'.org.eclipse.emf.common.notify.AdaptercreatePlatformActionAdapter()Creates a new adapter for an object of class 'Action'.org.eclipse.emf.common.notify.AdaptercreatePlatformElementAdapter()Creates a new adapter for an object of class 'Element'.org.eclipse.emf.common.notify.AdaptercreatePlatformEventAdapter()Creates a new adapter for an object of class 'Event'.org.eclipse.emf.common.notify.AdaptercreatePlatformModelAdapter()Creates a new adapter for an object of class 'Model'.org.eclipse.emf.common.notify.AdaptercreatePlatformRelationshipAdapter()Creates a new adapter for an object of class 'Relationship'.org.eclipse.emf.common.notify.AdaptercreateProcessAdapter()Creates a new adapter for an object of class 'Process'.org.eclipse.emf.common.notify.AdaptercreateReadsResourceAdapter()Creates a new adapter for an object of class 'Reads Resource'.org.eclipse.emf.common.notify.AdaptercreateRequiresAdapter()Creates a new adapter for an object of class 'Requires'.org.eclipse.emf.common.notify.AdaptercreateResourceTypeAdapter()Creates a new adapter for an object of class 'Resource Type'.org.eclipse.emf.common.notify.AdaptercreateRuntimeResourceAdapter()Creates a new adapter for an object of class 'Runtime Resource'.org.eclipse.emf.common.notify.AdaptercreateSpawnsAdapter()Creates a new adapter for an object of class 'Spawns'.org.eclipse.emf.common.notify.AdaptercreateStreamResourceAdapter()Creates a new adapter for an object of class 'Stream Resource'.org.eclipse.emf.common.notify.AdaptercreateThreadAdapter()Creates a new adapter for an object of class 'Thread'.org.eclipse.emf.common.notify.AdaptercreateWritesResourceAdapter()Creates a new adapter for an object of class 'Writes Resource'.booleanisFactoryForType(Object object)Returns whether this factory is applicable for the type of the object.Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
Field Details
-
modelPackage
The cached model package. -
modelSwitch
The switch that delegates to thecreateXXXmethods.
-
-
Constructor Details
-
PlatformAdapterFactory
public PlatformAdapterFactory()Creates an instance of the adapter factory.
-
-
Method Details
-
isFactoryForType
Returns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceorg.eclipse.emf.common.notify.AdapterFactory- Overrides:
isFactoryForTypein classorg.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 thetarget.- Overrides:
createAdapterin classorg.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.
-