Class BuildAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.gmt.modisco.omg.kdm.build.util.BuildAdapterFactory
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class BuildAdapterFactory
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:
BuildPackage
-
Field Summary
Fields Modifier and Type Field Description protected static BuildPackagemodelPackageThe cached model package.protected BuildSwitch<org.eclipse.emf.common.notify.Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors Constructor Description BuildAdapterFactory()Creates an instance of the adapter factory. -
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.notify.AdaptercreateAbstractBuildElementAdapter()Creates a new adapter for an object of class 'Abstract Build Element'.org.eclipse.emf.common.notify.AdaptercreateAbstractBuildRelationshipAdapter()Creates a new adapter for an object of class 'Abstract Build Relationship'.org.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdaptercreateBuildComponentAdapter()Creates a new adapter for an object of class 'Component'.org.eclipse.emf.common.notify.AdaptercreateBuildDescriptionAdapter()Creates a new adapter for an object of class 'Description'.org.eclipse.emf.common.notify.AdaptercreateBuildElementAdapter()Creates a new adapter for an object of class 'Element'.org.eclipse.emf.common.notify.AdaptercreateBuildModelAdapter()Creates a new adapter for an object of class 'Model'.org.eclipse.emf.common.notify.AdaptercreateBuildProductAdapter()Creates a new adapter for an object of class 'Product'.org.eclipse.emf.common.notify.AdaptercreateBuildRelationshipAdapter()Creates a new adapter for an object of class 'Relationship'.org.eclipse.emf.common.notify.AdaptercreateBuildResourceAdapter()Creates a new adapter for an object of class 'Resource'.org.eclipse.emf.common.notify.AdaptercreateBuildStepAdapter()Creates a new adapter for an object of class 'Step'.org.eclipse.emf.common.notify.AdaptercreateConsumesAdapter()Creates a new adapter for an object of class 'Consumes'.org.eclipse.emf.common.notify.AdaptercreateDescribedByAdapter()Creates a new adapter for an object of class 'Described By'.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.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.AdaptercreateLibraryAdapter()Creates a new adapter for an object of class 'Library'.org.eclipse.emf.common.notify.AdaptercreateLinksToAdapter()Creates a new adapter for an object of class 'Links To'.org.eclipse.emf.common.notify.AdaptercreateModelElementAdapter()Creates a new adapter for an object of class 'Model Element'.org.eclipse.emf.common.notify.AdaptercreateProducesAdapter()Creates a new adapter for an object of class 'Produces'.org.eclipse.emf.common.notify.AdaptercreateSuppliedByAdapter()Creates a new adapter for an object of class 'Supplied By'.org.eclipse.emf.common.notify.AdaptercreateSupplierAdapter()Creates a new adapter for an object of class 'Supplier'.org.eclipse.emf.common.notify.AdaptercreateSupportedByAdapter()Creates a new adapter for an object of class 'Supported By'.org.eclipse.emf.common.notify.AdaptercreateSymbolicLinkAdapter()Creates a new adapter for an object of class 'Symbolic Link'.org.eclipse.emf.common.notify.AdaptercreateToolAdapter()Creates a new adapter for an object of class 'Tool'.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
-
BuildAdapterFactory
public BuildAdapterFactory()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.
-
createAbstractBuildElementAdapter
public org.eclipse.emf.common.notify.Adapter createAbstractBuildElementAdapter()Creates a new adapter for an object of class 'Abstract Build 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:
AbstractBuildElement
-
createBuildResourceAdapter
public org.eclipse.emf.common.notify.Adapter createBuildResourceAdapter()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:
BuildResource
-
createBuildDescriptionAdapter
public org.eclipse.emf.common.notify.Adapter createBuildDescriptionAdapter()Creates a new adapter for an object of class '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:
BuildDescription
-
createSymbolicLinkAdapter
public org.eclipse.emf.common.notify.Adapter createSymbolicLinkAdapter()Creates a new adapter for an object of class 'Symbolic Link'. 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:
SymbolicLink
-
createAbstractBuildRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createAbstractBuildRelationshipAdapter()Creates a new adapter for an object of class 'Abstract Build 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:
AbstractBuildRelationship
-
createLinksToAdapter
public org.eclipse.emf.common.notify.Adapter createLinksToAdapter()Creates a new adapter for an object of class 'Links 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:
LinksTo
-
createConsumesAdapter
public org.eclipse.emf.common.notify.Adapter createConsumesAdapter()Creates a new adapter for an object of class 'Consumes'. 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:
Consumes
-
createBuildModelAdapter
public org.eclipse.emf.common.notify.Adapter createBuildModelAdapter()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:
BuildModel
-
createBuildComponentAdapter
public org.eclipse.emf.common.notify.Adapter createBuildComponentAdapter()Creates a new adapter for an object of class '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:
BuildComponent
-
createSupplierAdapter
public org.eclipse.emf.common.notify.Adapter createSupplierAdapter()Creates a new adapter for an object of class 'Supplier'. 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:
Supplier
-
createToolAdapter
public org.eclipse.emf.common.notify.Adapter createToolAdapter()Creates a new adapter for an object of class 'Tool'. 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:
Tool
-
createBuildElementAdapter
public org.eclipse.emf.common.notify.Adapter createBuildElementAdapter()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:
BuildElement
-
createBuildRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createBuildRelationshipAdapter()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:
BuildRelationship
-
createSuppliedByAdapter
public org.eclipse.emf.common.notify.Adapter createSuppliedByAdapter()Creates a new adapter for an object of class 'Supplied 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:
SuppliedBy
-
createLibraryAdapter
public org.eclipse.emf.common.notify.Adapter createLibraryAdapter()Creates a new adapter for an object of class 'Library'. 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:
Library
-
createBuildStepAdapter
public org.eclipse.emf.common.notify.Adapter createBuildStepAdapter()Creates a new adapter for an object of class 'Step'. 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:
BuildStep
-
createProducesAdapter
public org.eclipse.emf.common.notify.Adapter createProducesAdapter()Creates a new adapter for an object of class 'Produces'. 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:
Produces
-
createSupportedByAdapter
public org.eclipse.emf.common.notify.Adapter createSupportedByAdapter()Creates a new adapter for an object of class 'Supported 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:
SupportedBy
-
createBuildProductAdapter
public org.eclipse.emf.common.notify.Adapter createBuildProductAdapter()Creates a new adapter for an object of class 'Product'. 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:
BuildProduct
-
createDescribedByAdapter
public org.eclipse.emf.common.notify.Adapter createDescribedByAdapter()Creates a new adapter for an object of class 'Described 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:
DescribedBy
-
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
-
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
-
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
-
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.
-