Public Member Functions | |
Adapter | createAdapter (Notifier target) |
Adapter | createComplexTypeAdapter () |
Adapter | createCustomTypeAdapter () |
Adapter | createDataTypeAdapter () |
Adapter | createEObjectAdapter () |
Adapter | createFieldAdapter () |
Adapter | createIDLReferenceAdapter () |
Adapter | createRosIDLReferenceAdapter () |
Adapter | createSimpleTypeAdapter () |
Adapter | createTypesLibraryAdapter () |
Adapter | createVectorTypeAdapter () |
DatatypesAdapterFactory () | |
boolean | isFactoryForType (Object object) |
Protected Attributes | |
DatatypesSwitch< Adapter > | modelSwitch |
Static Protected Attributes | |
static DatatypesPackage | modelPackage |
The Adapter Factory for the model. It provides an adapter createXXX
method for each class of the model.
Definition at line 40 of file DatatypesAdapterFactory.java.
org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.DatatypesAdapterFactory | ( | ) | [inline] |
Creates an instance of the adapter factory.
Definition at line 55 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createAdapter | ( | Notifier | target | ) | [inline] |
Creates an adapter for the target
.
target | the object to adapt. |
target
. Definition at line 139 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createComplexTypeAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Complex 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.
Definition at line 196 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createCustomTypeAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Custom 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.
Reimplemented in org.best_of_robotics.model.datatypes.provider.DatatypesItemProviderAdapterFactory.
Definition at line 238 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createDataTypeAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Data 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.
Definition at line 168 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createEObjectAdapter | ( | ) | [inline] |
Creates a new adapter for the default case.
This default implementation returns null.
Definition at line 278 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createFieldAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Field'.
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.
Reimplemented in org.best_of_robotics.model.datatypes.provider.DatatypesItemProviderAdapterFactory.
Definition at line 252 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createIDLReferenceAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'IDL Reference'.
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.
Definition at line 266 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createRosIDLReferenceAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Ros IDL Reference'.
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.
Reimplemented in org.best_of_robotics.model.datatypes.provider.DatatypesItemProviderAdapterFactory.
Definition at line 210 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createSimpleTypeAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Simple 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.
Reimplemented in org.best_of_robotics.model.datatypes.provider.DatatypesItemProviderAdapterFactory.
Definition at line 182 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createTypesLibraryAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Types 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.
Reimplemented in org.best_of_robotics.model.datatypes.provider.DatatypesItemProviderAdapterFactory.
Definition at line 154 of file DatatypesAdapterFactory.java.
Adapter org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.createVectorTypeAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Vector 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.
Reimplemented in org.best_of_robotics.model.datatypes.provider.DatatypesItemProviderAdapterFactory.
Definition at line 224 of file DatatypesAdapterFactory.java.
boolean org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.isFactoryForType | ( | Object | object | ) | [inline] |
Returns whether this factory is applicable for the type of the object.
This implementation returns true
if the object is either the model's package or is an instance object of the model.
Reimplemented in org.best_of_robotics.model.datatypes.provider.DatatypesItemProviderAdapterFactory.
Definition at line 70 of file DatatypesAdapterFactory.java.
DatatypesPackage org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.modelPackage [static, protected] |
The cached model package.
Definition at line 47 of file DatatypesAdapterFactory.java.
DatatypesSwitch<Adapter> org.best_of_robotics.model.datatypes.util.DatatypesAdapterFactory.modelSwitch [protected] |
The switch that delegates to the createXXX
methods.
Definition at line 86 of file DatatypesAdapterFactory.java.