Public Member Functions | Protected Member Functions | Static Protected Attributes

de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T > Class Reference

List of all members.

Public Member Functions

caseCompositeDatatype (CompositeDatatype object)
caseEABoolean (EABoolean object)
caseEADatatype (EADatatype object)
caseEADatatypePrototype (EADatatypePrototype object)
caseEAElement (EAElement object)
caseEAFloat (EAFloat object)
caseEAInteger (EAInteger object)
caseEAPackageableElement (EAPackageableElement object)
caseEAString (EAString object)
caseEnumeration (Enumeration object)
caseEnumerationLiteral (EnumerationLiteral object)
caseEnumerationValueType (EnumerationValueType object)
caseIdentifiable (Identifiable object)
caseRangeableDatatype (RangeableDatatype object)
caseRangeableValueType (RangeableValueType object)
caseTraceableSpecification (TraceableSpecification object)
caseUserAttributeableElement (UserAttributeableElement object)
caseValueType (ValueType object)
 DatatypesSwitch ()
defaultCase (EObject object)
doSwitch (EObject theEObject)

Protected Member Functions

doSwitch (EClass theEClass, EObject theEObject)
doSwitch (int classifierID, EObject theEObject)

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:
de.fraunhofer.isst.eastadl.datatypes.DatatypesPackage

Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.DatatypesSwitch (  ) 

Creates an instance of the switch.


Member Function Documentation

T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseCompositeDatatype ( CompositeDatatype  object  ) 

Returns the result of interpreting the object as an instance of 'Composite Datatype'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Composite Datatype'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEABoolean ( EABoolean  object  ) 

Returns the result of interpreting the object as an instance of 'EA Boolean'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EA Boolean'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEADatatype ( EADatatype  object  ) 

Returns the result of interpreting the object as an instance of 'EA Datatype'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EA Datatype'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEADatatypePrototype ( EADatatypePrototype  object  ) 

Returns the result of interpreting the object as an instance of 'EA Datatype Prototype'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EA Datatype Prototype'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEAElement ( EAElement  object  ) 

Returns the result of interpreting the object as an instance of 'EA Element'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EA Element'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEAFloat ( EAFloat  object  ) 

Returns the result of interpreting the object as an instance of 'EA Float'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EA Float'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEAInteger ( EAInteger  object  ) 

Returns the result of interpreting the object as an instance of 'EA Integer'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EA Integer'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEAPackageableElement ( EAPackageableElement  object  ) 

Returns the result of interpreting the object as an instance of 'EA Packageable Element'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EA Packageable Element'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEAString ( EAString  object  ) 

Returns the result of interpreting the object as an instance of 'EA String'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EA String'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEnumeration ( Enumeration  object  ) 

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

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Enumeration'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEnumerationLiteral ( EnumerationLiteral  object  ) 

Returns the result of interpreting the object as an instance of 'Enumeration Literal'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Enumeration Literal'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseEnumerationValueType ( EnumerationValueType  object  ) 

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

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Enumeration Value Type'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseIdentifiable ( Identifiable  object  ) 

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

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Identifiable'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseRangeableDatatype ( RangeableDatatype  object  ) 

Returns the result of interpreting the object as an instance of 'Rangeable Datatype'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Rangeable Datatype'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseRangeableValueType ( RangeableValueType  object  ) 

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

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Rangeable Value Type'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseTraceableSpecification ( TraceableSpecification  object  ) 

Returns the result of interpreting the object as an instance of 'Traceable Specification'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Traceable Specification'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseUserAttributeableElement ( UserAttributeableElement  object  ) 

Returns the result of interpreting the object as an instance of 'User Attributeable Element'.

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'User Attributeable Element'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.caseValueType ( ValueType  object  ) 

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

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

Parameters:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Value Type'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.defaultCase ( EObject  object  ) 

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:
object the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject)
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.doSwitch ( int  classifierID,
EObject  theEObject 
) [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.
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.doSwitch ( EClass  theEClass,
EObject  theEObject 
) [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.
T de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.doSwitch ( EObject  theEObject  ) 

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.

Member Data Documentation

DatatypesPackage de.fraunhofer.isst.eastadl.datatypes.util.DatatypesSwitch< T >.modelPackage [static, protected]

The cached model package