org.eclipse.emf.ecore.sdo.util
Class SDOAdapterFactory

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended byorg.eclipse.emf.ecore.sdo.util.SDOAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
Direct Known Subclasses:
SDOItemProviderAdapterFactory

public class SDOAdapterFactory
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:
SDOPackage

Field Summary
protected static SDOPackage modelPackage
          The cached model package
protected  SDOSwitch modelSwitch
          The switch the delegates to the createXXX methods
 
Constructor Summary
SDOAdapterFactory()
          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 createAnyTypeAdapter()
          Creates a new adapter for an object of class 'Any Type'
 org.eclipse.emf.common.notify.Adapter createChangeDescriptionAdapter()
          Creates a new adapter for an object of class 'Description'
 org.eclipse.emf.common.notify.Adapter createChangeSummaryAdapter()
          Creates a new adapter for an object of class 'Change Summary'
 org.eclipse.emf.common.notify.Adapter createChangeSummarySettingAdapter()
          Creates a new adapter for an object of class 'Change Summary Setting'
 org.eclipse.emf.common.notify.Adapter createDataGraphAdapter()
          Creates a new adapter for an object of class 'Data Graph'
 org.eclipse.emf.common.notify.Adapter createDataObjectAdapter()
          Creates a new adapter for an object of class 'Data Object'
 org.eclipse.emf.common.notify.Adapter createEChangeSummaryAdapter()
          Creates a new adapter for an object of class 'EChange Summary'
 org.eclipse.emf.common.notify.Adapter createEChangeSummarySettingAdapter()
          Creates a new adapter for an object of class 'EChange Summary Setting'
 org.eclipse.emf.common.notify.Adapter createEDataGraphAdapter()
          Creates a new adapter for an object of class 'EData Graph'
 org.eclipse.emf.common.notify.Adapter createEDataObjectAdapter()
          Creates a new adapter for an object of class 'EData Object'
 org.eclipse.emf.common.notify.Adapter createEDataObjectAnyTypeAdapter()
          Creates a new adapter for an object of class 'EData Object Any Type'
 org.eclipse.emf.common.notify.Adapter createEDataObjectSimpleAnyTypeAdapter()
          Creates a new adapter for an object of class 'EData Object Simple Any Type'
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case
 org.eclipse.emf.common.notify.Adapter createEPropertyAdapter()
          Creates a new adapter for an object of class 'EProperty'
 org.eclipse.emf.common.notify.Adapter createESequenceAdapter()
          Creates a new adapter for an object of class 'ESequence'
 org.eclipse.emf.common.notify.Adapter createETypeAdapter()
          Creates a new adapter for an object of class 'EType'
 org.eclipse.emf.common.notify.Adapter createFeatureChangeAdapter()
          Creates a new adapter for an object of class 'Feature Change'
 org.eclipse.emf.common.notify.Adapter createInternalEDataObjectAdapter()
          Creates a new adapter for an object of class 'Internal EData Object'
 org.eclipse.emf.common.notify.Adapter createPropertyAdapter()
          Creates a new adapter for an object of class 'Property'
 org.eclipse.emf.common.notify.Adapter createSequenceAdapter()
          Creates a new adapter for an object of class 'Sequence'
 org.eclipse.emf.common.notify.Adapter createSimpleAnyTypeAdapter()
          Creates a new adapter for an object of class 'Simple Any Type'
 org.eclipse.emf.common.notify.Adapter createTypeAdapter()
          Creates a new adapter for an object of class 'Type'
 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 SDOPackage modelPackage
The cached model package.


modelSwitch

protected SDOSwitch modelSwitch
The switch the delegates to the createXXX methods.

Constructor Detail

SDOAdapterFactory

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

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.

Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createEDataObjectAdapter

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

createEDataGraphAdapter

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

createEChangeSummaryAdapter

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

createEPropertyAdapter

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

createDataObjectAdapter

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

createESequenceAdapter

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

createDataGraphAdapter

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

createChangeSummaryAdapter

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

createETypeAdapter

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

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

createPropertyAdapter

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

createSequenceAdapter

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

createEChangeSummarySettingAdapter

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

createInternalEDataObjectAdapter

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

createEDataObjectAnyTypeAdapter

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

createEDataObjectSimpleAnyTypeAdapter

public org.eclipse.emf.common.notify.Adapter createEDataObjectSimpleAnyTypeAdapter()
Creates a new adapter for an object of class 'EData Object Simple Any 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:
EDataObjectSimpleAnyType

createChangeDescriptionAdapter

public org.eclipse.emf.common.notify.Adapter createChangeDescriptionAdapter()
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:
ChangeDescription

createFeatureChangeAdapter

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

createAnyTypeAdapter

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

createSimpleAnyTypeAdapter

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

createChangeSummarySettingAdapter

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

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 2001-2004 IBM Corporation and others.
All Rights Reserved.