public class GraphqlTestAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
GraphqlTestPackage| Modifier and Type | Field and Description |
|---|---|
protected static GraphqlTestPackage |
modelPackage
The cached model package.
|
protected GraphqlTestSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
| Constructor and Description |
|---|
GraphqlTestAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createCatalogAdapter()
Creates a new adapter for an object of class '
Catalog'. |
Adapter |
createCatalogEntryAdapter()
Creates a new adapter for an object of class '
Catalog Entry'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createProductAdapter()
Creates a new adapter for an object of class '
Product'. |
Adapter |
createSKUAdapter()
Creates a new adapter for an object of class '
SKU'. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static GraphqlTestPackage modelPackage
protected GraphqlTestSwitch<Adapter> modelSwitch
createXXX methods.
public GraphqlTestAdapterFactory()
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 createCatalogAdapter()
Catalog'.
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.
Catalogpublic Adapter createCatalogEntryAdapter()
Catalog Entry'.
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.
CatalogEntrypublic Adapter createProductAdapter()
Product'.
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.
Productpublic Adapter createSKUAdapter()
SKU'.
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.
SKUpublic Adapter createEObjectAdapter()
Data In Motion GmbH all rights reserved