Public Member Functions | Protected Member Functions | Static Protected Attributes

de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T > Class Reference

List of all members.

Public Member Functions

caseComment (Comment object)
caseContext (Context object)
caseEAElement (EAElement object)
caseEAElementInstanceRef (EAElementInstanceRef object)
caseEAPackage (EAPackage object)
caseEAPackageableElement (EAPackageableElement object)
caseEAXML (EAXML object)
caseFormulaExpression (FormulaExpression object)
caseIdentifiable (Identifiable object)
caseMultiLevelReference (MultiLevelReference object)
caseRationale (Rationale object)
caseRealization (Realization object)
caseRelationship (Relationship object)
caseTraceableSpecification (TraceableSpecification object)
caseUserAttributeableElement (UserAttributeableElement object)
defaultCase (EObject object)
doSwitch (EObject theEObject)
 ElementsSwitch ()

Protected Member Functions

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

Static Protected Attributes

static ElementsPackage 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.elements.ElementsPackage

Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.ElementsSwitch (  ) 

Creates an instance of the switch.


Member Function Documentation

T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.caseComment ( Comment  object  ) 

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

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 'Comment'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.caseContext ( Context  object  ) 

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

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 'Context'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< 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.elements.util.ElementsSwitch< T >.caseEAElementInstanceRef ( EAElementInstanceRef  object  ) 

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

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 Instance Ref'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.caseEAPackage ( EAPackage  object  ) 

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

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 Package'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< 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.elements.util.ElementsSwitch< T >.caseEAXML ( EAXML  object  ) 

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

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 'EAXML'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.caseFormulaExpression ( FormulaExpression  object  ) 

Returns the result of interpreting the object as an instance of 'Formula Expression'.

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 'Formula Expression'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< 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.elements.util.ElementsSwitch< T >.caseMultiLevelReference ( MultiLevelReference  object  ) 

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

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 'Multi Level Reference'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.caseRationale ( Rationale  object  ) 

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

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 'Rationale'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.caseRealization ( Realization  object  ) 

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

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 'Realization'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.caseRelationship ( Relationship  object  ) 

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

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 'Relationship'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< 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.elements.util.ElementsSwitch< 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.elements.util.ElementsSwitch< 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.elements.util.ElementsSwitch< 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.
T de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< 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.elements.util.ElementsSwitch< 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.

Member Data Documentation

ElementsPackage de.fraunhofer.isst.eastadl.elements.util.ElementsSwitch< T >.modelPackage [static, protected]

The cached model package