org.eclipse.ocl.examples.domain.values.util
Class ValuesAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.ocl.examples.domain.values.util.ValuesAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class ValuesAdapterFactory
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:
ValuesPackage
Generated

Field Summary
protected static ValuesPackage modelPackage
          The cached model package.
protected  ValuesSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
ValuesAdapterFactory()
          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 createBagValueAdapter()
          Creates a new adapter for an object of class 'Bag Value'.
 org.eclipse.emf.common.notify.Adapter createCollectionValueAdapter()
          Creates a new adapter for an object of class 'Collection Value'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createIntegerValueAdapter()
          Creates a new adapter for an object of class 'Integer Value'.
 org.eclipse.emf.common.notify.Adapter createInvalidValueAdapter()
          Creates a new adapter for an object of class 'Invalid Value'.
 org.eclipse.emf.common.notify.Adapter createNullValueAdapter()
          Creates a new adapter for an object of class 'Null Value'.
 org.eclipse.emf.common.notify.Adapter createObjectValueAdapter()
          Creates a new adapter for an object of class 'Object Value'.
 org.eclipse.emf.common.notify.Adapter createOrderedCollectionValueAdapter()
          Creates a new adapter for an object of class 'Ordered Collection Value'.
 org.eclipse.emf.common.notify.Adapter createOrderedSetValueAdapter()
          Creates a new adapter for an object of class 'Ordered Set Value'.
 org.eclipse.emf.common.notify.Adapter createRealValueAdapter()
          Creates a new adapter for an object of class 'Real Value'.
 org.eclipse.emf.common.notify.Adapter createSequenceValueAdapter()
          Creates a new adapter for an object of class 'Sequence Value'.
 org.eclipse.emf.common.notify.Adapter createSetValueAdapter()
          Creates a new adapter for an object of class 'Set Value'.
 org.eclipse.emf.common.notify.Adapter createTupleValueAdapter()
          Creates a new adapter for an object of class 'Tuple Value'.
 org.eclipse.emf.common.notify.Adapter createUniqueCollectionValueAdapter()
          Creates a new adapter for an object of class 'Unique Collection Value'.
 org.eclipse.emf.common.notify.Adapter createUnlimitedValueAdapter()
          Creates a new adapter for an object of class 'Unlimited Value'.
 org.eclipse.emf.common.notify.Adapter createValueAdapter()
          Creates a new adapter for an object of class 'Value'.
 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 ValuesPackage modelPackage
The cached model package.

Generated

modelSwitch

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

Generated
Constructor Detail

ValuesAdapterFactory

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

Generated
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.
Generated

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.
Generated

createBagValueAdapter

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

createCollectionValueAdapter

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

createIntegerValueAdapter

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

createInvalidValueAdapter

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

createNullValueAdapter

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

createObjectValueAdapter

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

createOrderedCollectionValueAdapter

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

createOrderedSetValueAdapter

public org.eclipse.emf.common.notify.Adapter createOrderedSetValueAdapter()
Creates a new adapter for an object of class 'Ordered Set Value'. 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:
OrderedSetValue
Generated

createRealValueAdapter

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

createSequenceValueAdapter

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

createSetValueAdapter

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

createTupleValueAdapter

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

createUniqueCollectionValueAdapter

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

createUnlimitedValueAdapter

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

createValueAdapter

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

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.
Generated