$search

org::best_of_robotics::model::datatypes::util::DatatypesAdapterFactory Class Reference

Inheritance diagram for org::best_of_robotics::model::datatypes::util::DatatypesAdapterFactory:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See also:
org.best_of_robotics.model.datatypes.DatatypesPackage

Definition at line 40 of file DatatypesAdapterFactory.java.


Constructor & Destructor Documentation

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.


Member Function Documentation

Adapter org::best_of_robotics::model::datatypes::util::DatatypesAdapterFactory::createAdapter ( Notifier  target  )  [inline]

Creates an adapter for the target.

Parameters:
target the object to adapt.
Returns:
the adapter for the 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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.ComplexType

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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.CustomType

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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.DataType

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.

Returns:
the new adapter.

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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.Field

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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.IDLReference

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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.RosIDLReference

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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.SimpleType

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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.TypesLibrary

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.

Returns:
the new adapter.
See also:
org.best_of_robotics.model.datatypes.VectorType

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.

Returns:
whether this factory is applicable for the type of the object.

Reimplemented in org::best_of_robotics::model::datatypes::provider::DatatypesItemProviderAdapterFactory.

Definition at line 70 of file DatatypesAdapterFactory.java.


Member Data Documentation

The cached model package.

Definition at line 47 of file DatatypesAdapterFactory.java.

The switch that delegates to the createXXX methods.

Definition at line 86 of file DatatypesAdapterFactory.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Tue Mar 5 11:39:52 2013