Public Member Functions | Protected Member Functions | Static Protected Attributes

de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< T > Class Reference

List of all members.

Public Member Functions

caseAnalysisLevel (AnalysisLevel object)
caseContext (Context object)
caseDesignLevel (DesignLevel object)
caseEAElement (EAElement object)
caseEAPackageableElement (EAPackageableElement object)
caseIdentifiable (Identifiable object)
caseImplementationLevel (ImplementationLevel object)
caseSystemModel (SystemModel object)
caseUserAttributeableElement (UserAttributeableElement object)
caseVehicleLevel (VehicleLevel object)
defaultCase (EObject object)
doSwitch (EObject theEObject)
 SystemmodelingSwitch ()

Protected Member Functions

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

Static Protected Attributes

static SystemmodelingPackage 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.systemmodeling.SystemmodelingPackage

Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< T >.SystemmodelingSwitch (  ) 

Creates an instance of the switch.


Member Function Documentation

T de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< T >.caseAnalysisLevel ( AnalysisLevel  object  ) 

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

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 'Analysis Level'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< 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.systemmodeling.util.SystemmodelingSwitch< T >.caseDesignLevel ( DesignLevel  object  ) 

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

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 'Design Level'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< 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.systemmodeling.util.SystemmodelingSwitch< 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.systemmodeling.util.SystemmodelingSwitch< 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.systemmodeling.util.SystemmodelingSwitch< T >.caseImplementationLevel ( ImplementationLevel  object  ) 

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

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 'Implementation Level'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< T >.caseSystemModel ( SystemModel  object  ) 

Returns the result of interpreting the object as an instance of 'System Model'.

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 'System Model'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< 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.systemmodeling.util.SystemmodelingSwitch< T >.caseVehicleLevel ( VehicleLevel  object  ) 

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

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 'Vehicle Level'.
See also:
doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
T de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< 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.systemmodeling.util.SystemmodelingSwitch< 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.systemmodeling.util.SystemmodelingSwitch< 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.systemmodeling.util.SystemmodelingSwitch< 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.

Member Data Documentation

SystemmodelingPackage de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingSwitch< T >.modelPackage [static, protected]

The cached model package