|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.AdapterFactoryImpl org.eclipse.ocl.types.util.TypesAdapterFactory
public class TypesAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
TypesPackage
Field Summary | |
---|---|
protected static TypesPackage |
modelPackage
The cached model package |
protected TypesSwitch<Adapter> |
modelSwitch
The switch that delegates to the createXXX methods |
Constructor Summary | |
---|---|
TypesAdapterFactory()
Creates an instance of the adapter factory |
Method Summary | |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target |
Adapter |
createAnyTypeAdapter()
Creates a new adapter for an object of class ' Any Type ' |
Adapter |
createASTNodeAdapter()
Creates a new adapter for an object of class ' AST Node ' |
Adapter |
createBagTypeAdapter()
Creates a new adapter for an object of class ' Bag Type ' |
Adapter |
createCollectionTypeAdapter()
Creates a new adapter for an object of class ' Collection Type ' |
Adapter |
createElementTypeAdapter()
Creates a new adapter for an object of class ' Element Type ' |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case |
Adapter |
createInvalidTypeAdapter()
Creates a new adapter for an object of class ' Invalid Type ' |
Adapter |
createMessageTypeAdapter()
Creates a new adapter for an object of class ' Message Type ' |
Adapter |
createOrderedSetTypeAdapter()
Creates a new adapter for an object of class ' Ordered Set Type ' |
Adapter |
createPredefinedTypeAdapter()
Creates a new adapter for an object of class ' Predefined Type ' |
Adapter |
createPrimitiveTypeAdapter()
Creates a new adapter for an object of class ' Primitive Type ' |
Adapter |
createSequenceTypeAdapter()
Creates a new adapter for an object of class ' Sequence Type ' |
Adapter |
createSetTypeAdapter()
Creates a new adapter for an object of class ' Set Type ' |
Adapter |
createTupleTypeAdapter()
Creates a new adapter for an object of class ' Tuple Type ' |
Adapter |
createTypedASTNodeAdapter()
Creates a new adapter for an object of class ' Typed AST Node ' |
Adapter |
createTypeTypeAdapter()
Creates a new adapter for an object of class ' Type Type ' |
Adapter |
createVoidTypeAdapter()
Creates a new adapter for an object of class ' Void 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 |
---|
protected static TypesPackage modelPackage
protected TypesSwitch<Adapter> modelSwitch
createXXX
methods.
Constructor Detail |
---|
public TypesAdapterFactory()
Method Detail |
---|
public boolean isFactoryForType(Object object)
true
if the object is either the model's package or is an instance object of the model.
isFactoryForType
in interface AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- the object to adapt.
target
.public Adapter createAnyTypeAdapter()
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.
AnyType
public Adapter createBagTypeAdapter()
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.
BagType
public Adapter createCollectionTypeAdapter()
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.
CollectionType
public Adapter createElementTypeAdapter()
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.
ElementType
public Adapter createInvalidTypeAdapter()
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.
InvalidType
public Adapter createMessageTypeAdapter()
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.
MessageType
public Adapter createOrderedSetTypeAdapter()
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.
OrderedSetType
public Adapter createPrimitiveTypeAdapter()
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.
PrimitiveType
public Adapter createSequenceTypeAdapter()
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.
SequenceType
public Adapter createSetTypeAdapter()
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.
SetType
public Adapter createTupleTypeAdapter()
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.
TupleType
public Adapter createTypeTypeAdapter()
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.
TypeType
public Adapter createVoidTypeAdapter()
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.
VoidType
public Adapter createPredefinedTypeAdapter()
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.
PredefinedType
public Adapter createASTNodeAdapter()
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.
ASTNode
public Adapter createTypedASTNodeAdapter()
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.
TypedASTNode
public Adapter createEObjectAdapter()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |