Public Member Functions | Protected Member Functions | Static Protected Attributes
org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T > Class Reference
Inheritance diagram for org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

caseComplexType (ComplexType object)
caseCustomType (CustomType object)
caseDataType (DataType object)
caseField (Field object)
caseIDLReference (IDLReference object)
caseRosIDLReference (RosIDLReference object)
caseSimpleType (SimpleType object)
caseTypesLibrary (TypesLibrary object)
caseVectorType (VectorType object)
 DatatypesSwitch ()
defaultCase (EObject object)

Protected Member Functions

doSwitch (int classifierID, EObject theEObject)
boolean isSwitchFor (EPackage ePackage)

Static Protected Attributes

static DatatypesPackage modelPackage

Detailed Description

The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.

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

Definition at line 44 of file DatatypesSwitch.java.


Constructor & Destructor Documentation

org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.DatatypesSwitch ( ) [inline]

Creates an instance of the switch.

Definition at line 59 of file DatatypesSwitch.java.


Member Function Documentation

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseComplexType ( ComplexType  object) [inline]

Returns the result of interpreting the object as an instance of 'Complex Type'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'Complex Type'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 213 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseCustomType ( CustomType  object) [inline]

Returns the result of interpreting the object as an instance of 'Custom Type'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'Custom Type'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 258 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseDataType ( DataType  object) [inline]

Returns the result of interpreting the object as an instance of 'Data Type'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Type'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 183 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseField ( Field  object) [inline]

Returns the result of interpreting the object as an instance of 'Field'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'Field'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 273 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseIDLReference ( IDLReference  object) [inline]

Returns the result of interpreting the object as an instance of 'IDL Reference'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'IDL Reference'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 288 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseRosIDLReference ( RosIDLReference  object) [inline]

Returns the result of interpreting the object as an instance of 'Ros IDL Reference'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'Ros IDL Reference'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 228 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseSimpleType ( SimpleType  object) [inline]

Returns the result of interpreting the object as an instance of 'Simple Type'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'Simple Type'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 198 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseTypesLibrary ( TypesLibrary  object) [inline]

Returns the result of interpreting the object as an instance of 'Types Library'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'Types Library'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 168 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.caseVectorType ( VectorType  object) [inline]

Returns the result of interpreting the object as an instance of 'Vector Type'.

This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'Vector Type'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)

Definition at line 243 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.defaultCase ( EObject  object) [inline]

Returns the result of interpreting the object as an instance of 'EObject'.

This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Parameters:
objectthe target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject)

Definition at line 304 of file DatatypesSwitch.java.

T org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.doSwitch ( int  classifierID,
EObject  theEObject 
) [inline, protected]

Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Returns:
the first non-null result returned by a caseXXX call.

Definition at line 86 of file DatatypesSwitch.java.

boolean org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.isSwitchFor ( EPackage  ePackage) [inline, protected]

Checks whether this is a switch for the given package.

ePackage the package in question.

Returns:
whether this is a switch for the given package.

Definition at line 74 of file DatatypesSwitch.java.


Member Data Documentation

DatatypesPackage org.best_of_robotics.model.datatypes.util.DatatypesSwitch< T >.modelPackage [static, protected]

The cached model package

Definition at line 51 of file DatatypesSwitch.java.


The documentation for this class was generated from the following file:


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Sun Oct 5 2014 22:38:35