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 Details

    • modelPackage

      protected static BuildPackage modelPackage
      The cached model package.
    • modelSwitch

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

    • BuildAdapterFactory

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