org.eclipse.uml2.uml.profile.standard.util
Class StandardAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.uml2.uml.profile.standard.util.StandardAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class StandardAdapterFactory
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:
StandardPackage

Field Summary
protected static StandardPackage modelPackage
          The cached model package
protected  StandardSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
          The switch that delegates to the createXXX methods
 
Constructor Summary
StandardAdapterFactory()
          Creates an instance of the adapter factory
 
Method Summary
 org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
          Creates an adapter for the target
 org.eclipse.emf.common.notify.Adapter createAuxiliaryAdapter()
          Creates a new adapter for an object of class 'Auxiliary'
 org.eclipse.emf.common.notify.Adapter createBuildComponentAdapter()
          Creates a new adapter for an object of class 'Build Component'
 org.eclipse.emf.common.notify.Adapter createCallAdapter()
          Creates a new adapter for an object of class 'Call'
 org.eclipse.emf.common.notify.Adapter createCreateAdapter()
          Creates a new adapter for an object of class 'Create'
 org.eclipse.emf.common.notify.Adapter createDeriveAdapter()
          Creates a new adapter for an object of class 'Derive'
 org.eclipse.emf.common.notify.Adapter createDestroyAdapter()
          Creates a new adapter for an object of class 'Destroy'
 org.eclipse.emf.common.notify.Adapter createDocumentAdapter()
          Creates a new adapter for an object of class 'Document'
 org.eclipse.emf.common.notify.Adapter createEntityAdapter()
          Creates a new adapter for an object of class 'Entity'
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case
 org.eclipse.emf.common.notify.Adapter createExecutableAdapter()
          Creates a new adapter for an object of class 'Executable'
 org.eclipse.emf.common.notify.Adapter createFileAdapter()
          Creates a new adapter for an object of class 'File'
 org.eclipse.emf.common.notify.Adapter createFocusAdapter()
          Creates a new adapter for an object of class 'Focus'
 org.eclipse.emf.common.notify.Adapter createFrameworkAdapter()
          Creates a new adapter for an object of class 'Framework'
 org.eclipse.emf.common.notify.Adapter createImplementAdapter()
          Creates a new adapter for an object of class 'Implement'
 org.eclipse.emf.common.notify.Adapter createImplementationClassAdapter()
          Creates a new adapter for an object of class 'Implementation Class'
 org.eclipse.emf.common.notify.Adapter createInstantiateAdapter()
          Creates a new adapter for an object of class 'Instantiate'
 org.eclipse.emf.common.notify.Adapter createLibraryAdapter()
          Creates a new adapter for an object of class 'Library'
 org.eclipse.emf.common.notify.Adapter createMetaclassAdapter()
          Creates a new adapter for an object of class 'Metaclass'
 org.eclipse.emf.common.notify.Adapter createMetamodelAdapter()
          Creates a new adapter for an object of class 'Metamodel'
 org.eclipse.emf.common.notify.Adapter createModelLibraryAdapter()
          Creates a new adapter for an object of class 'Model Library'
 org.eclipse.emf.common.notify.Adapter createProcessAdapter()
          Creates a new adapter for an object of class 'Process'
 org.eclipse.emf.common.notify.Adapter createRealizationAdapter()
          Creates a new adapter for an object of class 'Realization'
 org.eclipse.emf.common.notify.Adapter createRefineAdapter()
          Creates a new adapter for an object of class 'Refine'
 org.eclipse.emf.common.notify.Adapter createResponsibilityAdapter()
          Creates a new adapter for an object of class 'Responsibility'
 org.eclipse.emf.common.notify.Adapter createScriptAdapter()
          Creates a new adapter for an object of class 'Script'
 org.eclipse.emf.common.notify.Adapter createSendAdapter()
          Creates a new adapter for an object of class 'Send'
 org.eclipse.emf.common.notify.Adapter createServiceAdapter()
          Creates a new adapter for an object of class 'Service'
 org.eclipse.emf.common.notify.Adapter createSourceAdapter()
          Creates a new adapter for an object of class 'Source'
 org.eclipse.emf.common.notify.Adapter createSpecificationAdapter()
          Creates a new adapter for an object of class 'Specification'
 org.eclipse.emf.common.notify.Adapter createSubsystemAdapter()
          Creates a new adapter for an object of class 'Subsystem'
 org.eclipse.emf.common.notify.Adapter createSystemModelAdapter()
          Creates a new adapter for an object of class 'System Model'
 org.eclipse.emf.common.notify.Adapter createTraceAdapter()
          Creates a new adapter for an object of class 'Trace'
 org.eclipse.emf.common.notify.Adapter createTypeAdapter()
          Creates a new adapter for an object of class 'Type'
 org.eclipse.emf.common.notify.Adapter createUtilityAdapter()
          Creates a new adapter for an object of class 'Utility'
 boolean isFactoryForType(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static StandardPackage modelPackage
The cached model package.


modelSwitch

protected StandardSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
The switch that delegates to the createXXX methods.

Constructor Detail

StandardAdapterFactory

public StandardAdapterFactory()
Creates an instance of the adapter factory.

Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.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.

createAuxiliaryAdapter

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

createCallAdapter

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

createCreateAdapter

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

createDeriveAdapter

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

createDestroyAdapter

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

createDocumentAdapter

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

createFileAdapter

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

createEntityAdapter

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

createExecutableAdapter

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

createFocusAdapter

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

createFrameworkAdapter

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

createImplementAdapter

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

createImplementationClassAdapter

public org.eclipse.emf.common.notify.Adapter createImplementationClassAdapter()
Creates a new adapter for an object of class 'Implementation Class'. 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:
ImplementationClass

createInstantiateAdapter

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

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

createMetaclassAdapter

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

createModelLibraryAdapter

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

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

createRealizationAdapter

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

createRefineAdapter

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

createResponsibilityAdapter

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

createScriptAdapter

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

createSendAdapter

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

createServiceAdapter

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

createSourceAdapter

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

createSpecificationAdapter

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

createSubsystemAdapter

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

createTraceAdapter

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

createTypeAdapter

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

createUtilityAdapter

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

createBuildComponentAdapter

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

createMetamodelAdapter

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

createSystemModelAdapter

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

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.

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.