public class OopAdapterFactory extends AdapterFactoryImpl
createXXX
method for each class of the model.
OopPackage
Constructor and Description |
---|
OopAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createANY_DERIVEDAdapter()
Creates a new adapter for an object of class '
ANY DERIVED '. |
Adapter |
createANYAdapter()
Creates a new adapter for an object of class '
ANY '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createGetAccessorAdapter()
Creates a new adapter for an object of class '
Get Accessor '. |
Adapter |
createInheritanceAdapter()
Creates a new adapter for an object of class '
Inheritance '. |
Adapter |
createInterfaceAdapter()
Creates a new adapter for an object of class '
Interface '. |
Adapter |
createMethodAdapter()
Creates a new adapter for an object of class '
Method '. |
Adapter |
createMethodSignatureAdapter()
Creates a new adapter for an object of class '
Method Signature '. |
Adapter |
createPropertyAdapter()
Creates a new adapter for an object of class '
Property '. |
Adapter |
createPropertySignatureAdapter()
Creates a new adapter for an object of class '
Property Signature '. |
Adapter |
createSetAccessorAdapter()
Creates a new adapter for an object of class '
Set Accessor '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNew
public OopAdapterFactory()
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 createInterfaceAdapter()
Interface
'.
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.
Interface
public Adapter createInheritanceAdapter()
Inheritance
'.
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.
Inheritance
public Adapter createPropertyAdapter()
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.
Property
public Adapter createPropertySignatureAdapter()
Property Signature
'.
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.
PropertySignature
public Adapter createSetAccessorAdapter()
Set Accessor
'.
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.
SetAccessor
public Adapter createGetAccessorAdapter()
Get Accessor
'.
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.
GetAccessor
public Adapter createMethodAdapter()
Method
'.
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.
Method
public Adapter createMethodSignatureAdapter()
Method Signature
'.
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.
MethodSignature
public Adapter createANYAdapter()
ANY
'.
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.
ANY
public Adapter createANY_DERIVEDAdapter()
ANY DERIVED
'.
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.
ANY_DERIVED
public Adapter createEObjectAdapter()