public class TypesAdapterFactory
extends AdapterFactoryImpl
createXXX
method for each class of the model.
TypesPackage
Constructor and Description |
---|
TypesAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
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 |
createTemplateParameterTypeAdapter()
Creates a new adapter for an object of class '
Template Parameter 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.
|
public TypesAdapterFactory()
public boolean isFactoryForType(Object object)
true
if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target
.
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 createTemplateParameterTypeAdapter()
Template Parameter 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.TemplateParameterType
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 © 2005, 2018 IBM Corporation and others. All Rights Reserved.