com.hammurapi.config.util
Class ConfigAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by com.hammurapi.config.util.ConfigAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class ConfigAdapterFactory
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:
ConfigPackage

Field Summary
protected static ConfigPackage modelPackage
          The cached model package.
protected  ConfigSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
ConfigAdapterFactory()
          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 createCollectionAdapter()
          Creates a new adapter for an object of class 'Collection'.
 org.eclipse.emf.common.notify.Adapter createCommonObjectAdapter()
          Creates a new adapter for an object of class 'Common Object'.
 org.eclipse.emf.common.notify.Adapter createConstructorAdapter()
          Creates a new adapter for an object of class 'Constructor'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createFactoryAdapter()
          Creates a new adapter for an object of class 'Factory'.
 org.eclipse.emf.common.notify.Adapter createMapAdapter()
          Creates a new adapter for an object of class 'Map'.
 org.eclipse.emf.common.notify.Adapter createMapEntryAdapter()
          Creates a new adapter for an object of class 'Map Entry'.
 org.eclipse.emf.common.notify.Adapter createMethodCallAdapter()
          Creates a new adapter for an object of class 'Method Call'.
 org.eclipse.emf.common.notify.Adapter createNamedAdapter()
          Creates a new adapter for an object of class 'Named'.
 org.eclipse.emf.common.notify.Adapter createNamedCollectionAdapter()
          Creates a new adapter for an object of class 'Named Collection'.
 org.eclipse.emf.common.notify.Adapter createNamedMapAdapter()
          Creates a new adapter for an object of class 'Named Map'.
 org.eclipse.emf.common.notify.Adapter createNamedObjectDefinitionAdapter()
          Creates a new adapter for an object of class 'Named Object Definition'.
 org.eclipse.emf.common.notify.Adapter createNamedReferenceAdapter()
          Creates a new adapter for an object of class 'Named Reference'.
 org.eclipse.emf.common.notify.Adapter createNamedScriptAdapter()
          Creates a new adapter for an object of class 'Named Script'.
 org.eclipse.emf.common.notify.Adapter createNullAdapter()
          Creates a new adapter for an object of class 'Null'.
 org.eclipse.emf.common.notify.Adapter createObjectDefinitionAdapter()
          Creates a new adapter for an object of class 'Object Definition'.
 org.eclipse.emf.common.notify.Adapter createPathAdapter()
          Creates a new adapter for an object of class 'Path'.
 org.eclipse.emf.common.notify.Adapter createProfileAdapter()
          Creates a new adapter for an object of class 'Profile'.
 org.eclipse.emf.common.notify.Adapter createPropertySourceAdapter()
          Creates a new adapter for an object of class 'Property Source'.
 org.eclipse.emf.common.notify.Adapter createReferenceAdapter()
          Creates a new adapter for an object of class 'Reference'.
 org.eclipse.emf.common.notify.Adapter createScriptAdapter()
          Creates a new adapter for an object of class 'Script'.
 org.eclipse.emf.common.notify.Adapter createSourceAdapter()
          Creates a new adapter for an object of class 'Source'.
 boolean isFactoryForType(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 ConfigPackage modelPackage
The cached model package.


modelSwitch

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

Constructor Detail

ConfigAdapterFactory

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

Method Detail

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.

createPathAdapter

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

createFactoryAdapter

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

createProfileAdapter

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

createObjectDefinitionAdapter

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

createCollectionAdapter

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

createConstructorAdapter

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

createMapAdapter

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

createMapEntryAdapter

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

createReferenceAdapter

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

createPropertySourceAdapter

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

createNullAdapter

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

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

createNamedReferenceAdapter

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

createNamedObjectDefinitionAdapter

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

createNamedCollectionAdapter

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

createNamedMapAdapter

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

createNamedAdapter

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

createMethodCallAdapter

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

createNamedScriptAdapter

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

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

createCommonObjectAdapter

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

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.