public class GeppettoAdapterFactory
extends AdapterFactoryImpl
createXXX
method for each class of the model.
GeppettoPackage
Modifier and Type | Field and Description |
---|---|
protected static GeppettoPackage |
modelPackage
The cached model package.
|
protected GeppettoSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
Constructor and Description |
---|
GeppettoAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createDomainModelAdapter()
Creates a new adapter for an object of class '
Domain Model '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createExperimentStateAdapter()
Creates a new adapter for an object of class '
Experiment State '. |
Adapter |
createExternalDomainModelAdapter()
Creates a new adapter for an object of class '
External Domain Model '. |
Adapter |
createGeppettoLibraryAdapter()
Creates a new adapter for an object of class '
Library '. |
Adapter |
createGeppettoModelAdapter()
Creates a new adapter for an object of class '
Model '. |
Adapter |
createISynchableAdapter()
Creates a new adapter for an object of class '
ISynchable '. |
Adapter |
createLibraryManagerAdapter()
Creates a new adapter for an object of class '
Library Manager '. |
Adapter |
createModelFormatAdapter()
Creates a new adapter for an object of class '
Model Format '. |
Adapter |
createNodeAdapter()
Creates a new adapter for an object of class '
Node '. |
Adapter |
createStringToStringMapAdapter()
Creates a new adapter for an object of class '
String To String Map '. |
Adapter |
createTagAdapter()
Creates a new adapter for an object of class '
Tag '. |
Adapter |
createVariableValueAdapter()
Creates a new adapter for an object of class '
Variable Value '. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static GeppettoPackage modelPackage
protected GeppettoSwitch<Adapter> modelSwitch
createXXX
methods.
public GeppettoAdapterFactory()
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 createGeppettoModelAdapter()
Model
'.
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.
GeppettoModel
public Adapter createNodeAdapter()
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.
Node
public Adapter createGeppettoLibraryAdapter()
Library
'.
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.
GeppettoLibrary
public Adapter createLibraryManagerAdapter()
Library Manager
'.
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.
LibraryManager
public Adapter createExperimentStateAdapter()
Experiment State
'.
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.
ExperimentState
public Adapter createVariableValueAdapter()
Variable Value
'.
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.
VariableValue
public Adapter createTagAdapter()
Tag
'.
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.
Tag
public Adapter createDomainModelAdapter()
Domain Model
'.
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.
DomainModel
public Adapter createModelFormatAdapter()
Model Format
'.
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.
ModelFormat
public Adapter createExternalDomainModelAdapter()
External Domain Model
'.
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.
ExternalDomainModel
public 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.Entry
public Adapter createISynchableAdapter()
ISynchable
'.
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.
ISynchable
public Adapter createEObjectAdapter()