public class UtilAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
UtilPackage| Modifier and Type | Field and Description |
|---|---|
protected static UtilPackage |
modelPackage
The cached model package.
|
protected UtilSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
| Constructor and Description |
|---|
UtilAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createConverterAdapter()
Creates a new adapter for an object of class '
Converter'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createFeaturePathAdapter()
Creates a new adapter for an object of class '
Feature Path'. |
Adapter |
createFilterAdapter()
Creates a new adapter for an object of class '
Filter'. |
Adapter |
createLatLngAdapter()
Creates a new adapter for an object of class '
Lat Lng'. |
Adapter |
createRequestAdapter()
Creates a new adapter for an object of class '
Request'. |
Adapter |
createResponseAdapter()
Creates a new adapter for an object of class '
Response'. |
Adapter |
createSortAdapter()
Creates a new adapter for an object of class '
Sort'. |
Adapter |
createStringToStringMapAdapter()
Creates a new adapter for an object of class '
String To String Map'. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static UtilPackage modelPackage
protected UtilSwitch<Adapter> modelSwitch
createXXX methods.
public UtilAdapterFactory()
public boolean isFactoryForType(java.lang.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 createFeaturePathAdapter()
Feature Path'.
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.
FeaturePathpublic Adapter createConverterAdapter()
Converter'.
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.
Converterpublic Adapter createLatLngAdapter()
Lat Lng'.
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.
LatLngpublic Adapter createStringToStringMapAdapter()
String To String Map'.
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.
Map.Entrypublic Adapter createRequestAdapter()
Request'.
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.
Requestpublic Adapter createResponseAdapter()
Response'.
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.
Responsepublic Adapter createSortAdapter()
Sort'.
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.
Sortpublic Adapter createFilterAdapter()
Filter'.
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.
Filterpublic Adapter createEObjectAdapter()
Data In Motion GmbH all rights reserved