org.eclipse.emf.ocl.types.util
Class TypesAdapterFactory

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended byorg.eclipse.emf.ocl.types.util.TypesAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class TypesAdapterFactory
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:
TypesPackage

Field Summary
static java.lang.String copyright
           
protected static TypesPackage modelPackage
          The cached model package
protected  TypesSwitch modelSwitch
          The switch the delegates to the createXXX methods
 
Constructor Summary
TypesAdapterFactory()
          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 createASTNodeAdapter()
          Creates a new adapter for an object of class 'AST Node'
 org.eclipse.emf.common.notify.Adapter createBagTypeAdapter()
          Creates a new adapter for an object of class 'Bag Type'
 org.eclipse.emf.common.notify.Adapter createCollectionTypeAdapter()
          Creates a new adapter for an object of class 'Collection Type'
 org.eclipse.emf.common.notify.Adapter createEClassAdapter()
          Creates a new adapter for an object of class 'EClass'
 org.eclipse.emf.common.notify.Adapter createEClassifierAdapter()
          Creates a new adapter for an object of class 'EClassifier'
 org.eclipse.emf.common.notify.Adapter createEDataTypeAdapter()
          Creates a new adapter for an object of class 'EData Type'
 org.eclipse.emf.common.notify.Adapter createElementTypeAdapter()
          Creates a new adapter for an object of class 'Element Type'
 org.eclipse.emf.common.notify.Adapter createEModelElementAdapter()
          Creates a new adapter for an object of class 'EModel Element'
 org.eclipse.emf.common.notify.Adapter createENamedElementAdapter()
          Creates a new adapter for an object of class 'ENamed Element'
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case
 org.eclipse.emf.common.notify.Adapter createInvalidTypeAdapter()
          Creates a new adapter for an object of class 'Invalid Type'
 org.eclipse.emf.common.notify.Adapter createMessageTypeAdapter()
          Creates a new adapter for an object of class 'Message Type'
 org.eclipse.emf.common.notify.Adapter createOrderedSetTypeAdapter()
          Creates a new adapter for an object of class 'Ordered Set Type'
 org.eclipse.emf.common.notify.Adapter createPredefinedTypeAdapter()
          Creates a new adapter for an object of class 'Predefined Type'
 org.eclipse.emf.common.notify.Adapter createPrimitiveBooleanAdapter()
          Creates a new adapter for an object of class 'Primitive Boolean'
 org.eclipse.emf.common.notify.Adapter createPrimitiveIntegerAdapter()
          Creates a new adapter for an object of class 'Primitive Integer'
 org.eclipse.emf.common.notify.Adapter createPrimitiveRealAdapter()
          Creates a new adapter for an object of class 'Primitive Real'
 org.eclipse.emf.common.notify.Adapter createPrimitiveStringAdapter()
          Creates a new adapter for an object of class 'Primitive String'
 org.eclipse.emf.common.notify.Adapter createPrimitiveTypeAdapter()
          Creates a new adapter for an object of class 'Primitive Type'
 org.eclipse.emf.common.notify.Adapter createSequenceTypeAdapter()
          Creates a new adapter for an object of class 'Sequence Type'
 org.eclipse.emf.common.notify.Adapter createSetTypeAdapter()
          Creates a new adapter for an object of class 'Set Type'
 org.eclipse.emf.common.notify.Adapter createTupleTypeAdapter()
          Creates a new adapter for an object of class 'Tuple Type'
 org.eclipse.emf.common.notify.Adapter createTypedASTNodeAdapter()
          Creates a new adapter for an object of class 'Typed AST Node'
 org.eclipse.emf.common.notify.Adapter createTypeTypeAdapter()
          Creates a new adapter for an object of class 'Type Type'
 org.eclipse.emf.common.notify.Adapter createVoidTypeAdapter()
          Creates a new adapter for an object of class 'Void Type'
 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

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

modelPackage

protected static TypesPackage modelPackage
The cached model package.


modelSwitch

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

Constructor Detail

TypesAdapterFactory

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

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.

createBagTypeAdapter

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

createCollectionTypeAdapter

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

createOrderedSetTypeAdapter

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

createSequenceTypeAdapter

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

createSetTypeAdapter

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

createTupleTypeAdapter

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

createVoidTypeAdapter

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

createMessageTypeAdapter

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

createElementTypeAdapter

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

createInvalidTypeAdapter

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

createTypeTypeAdapter

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

createPrimitiveTypeAdapter

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

createPrimitiveBooleanAdapter

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

createPrimitiveIntegerAdapter

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

createPrimitiveRealAdapter

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

createPrimitiveStringAdapter

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

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

createEModelElementAdapter

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

createENamedElementAdapter

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

createEClassifierAdapter

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

createPredefinedTypeAdapter

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

createEDataTypeAdapter

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

createASTNodeAdapter

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

createTypedASTNodeAdapter

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

createEClassAdapter

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

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 2002, 2006 IBM Corporation and others.
All Rights Reserved.