public class ActionSwitch<T>
extends java.lang.Object
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.
ActionPackage| Constructor and Description |
|---|
ActionSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAbstractActionRelationship(AbstractActionRelationship object)
Returns the result of interpreting the object as an instance of 'Abstract Action Relationship'.
|
T |
caseAbstractCodeElement(AbstractCodeElement object)
Returns the result of interpreting the object as an instance of 'Abstract Code Element'.
|
T |
caseActionElement(ActionElement object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseActionRelationship(ActionRelationship object)
Returns the result of interpreting the object as an instance of 'Relationship'.
|
T |
caseAddresses(Addresses object)
Returns the result of interpreting the object as an instance of 'Addresses'.
|
T |
caseBlockUnit(BlockUnit object)
Returns the result of interpreting the object as an instance of 'Block Unit'.
|
T |
caseCalls(Calls object)
Returns the result of interpreting the object as an instance of 'Calls'.
|
T |
caseCatchUnit(CatchUnit object)
Returns the result of interpreting the object as an instance of 'Catch Unit'.
|
T |
caseCompliesTo(CompliesTo object)
Returns the result of interpreting the object as an instance of 'Complies To'.
|
T |
caseControlFlow(ControlFlow object)
Returns the result of interpreting the object as an instance of 'Control Flow'.
|
T |
caseCreates(Creates object)
Returns the result of interpreting the object as an instance of 'Creates'.
|
T |
caseDispatches(Dispatches object)
Returns the result of interpreting the object as an instance of 'Dispatches'.
|
T |
caseElement(Element object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseEntryFlow(EntryFlow object)
Returns the result of interpreting the object as an instance of 'Entry Flow'.
|
T |
caseExceptionFlow(ExceptionFlow object)
Returns the result of interpreting the object as an instance of 'Exception Flow'.
|
T |
caseExceptionUnit(ExceptionUnit object)
Returns the result of interpreting the object as an instance of 'Exception Unit'.
|
T |
caseExitFlow(ExitFlow object)
Returns the result of interpreting the object as an instance of 'Exit Flow'.
|
T |
caseFalseFlow(FalseFlow object)
Returns the result of interpreting the object as an instance of 'False Flow'.
|
T |
caseFinallyUnit(FinallyUnit object)
Returns the result of interpreting the object as an instance of 'Finally Unit'.
|
T |
caseFlow(Flow object)
Returns the result of interpreting the object as an instance of 'Flow'.
|
T |
caseGuardedFlow(GuardedFlow object)
Returns the result of interpreting the object as an instance of 'Guarded Flow'.
|
T |
caseKDMEntity(KDMEntity object)
Returns the result of interpreting the object as an instance of 'KDM Entity'.
|
T |
caseKDMRelationship(KDMRelationship object)
Returns the result of interpreting the object as an instance of 'KDM Relationship'.
|
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'.
|
T |
caseReads(Reads object)
Returns the result of interpreting the object as an instance of 'Reads'.
|
T |
caseThrows(Throws object)
Returns the result of interpreting the object as an instance of 'Throws'.
|
T |
caseTrueFlow(TrueFlow object)
Returns the result of interpreting the object as an instance of 'True Flow'.
|
T |
caseTryUnit(TryUnit object)
Returns the result of interpreting the object as an instance of 'Try Unit'.
|
T |
caseUsesType(UsesType object)
Returns the result of interpreting the object as an instance of 'Uses Type'.
|
T |
caseWrites(Writes object)
Returns the result of interpreting the object as an instance of 'Writes'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
T |
doSwitch(EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
public T doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public T caseActionElement(ActionElement object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractActionRelationship(AbstractActionRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseControlFlow(ControlFlow object)
object - the target of the switch.doSwitch(EObject)public T caseCalls(Calls object)
object - the target of the switch.doSwitch(EObject)public T caseCreates(Creates object)
object - the target of the switch.doSwitch(EObject)public T caseReads(Reads object)
object - the target of the switch.doSwitch(EObject)public T caseWrites(Writes object)
object - the target of the switch.doSwitch(EObject)public T caseCompliesTo(CompliesTo object)
object - the target of the switch.doSwitch(EObject)public T caseFlow(Flow object)
object - the target of the switch.doSwitch(EObject)public T caseTrueFlow(TrueFlow object)
object - the target of the switch.doSwitch(EObject)public T caseFalseFlow(FalseFlow object)
object - the target of the switch.doSwitch(EObject)public T caseGuardedFlow(GuardedFlow object)
object - the target of the switch.doSwitch(EObject)public T caseUsesType(UsesType object)
object - the target of the switch.doSwitch(EObject)public T caseAddresses(Addresses object)
object - the target of the switch.doSwitch(EObject)public T caseActionRelationship(ActionRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseThrows(Throws object)
object - the target of the switch.doSwitch(EObject)public T caseDispatches(Dispatches object)
object - the target of the switch.doSwitch(EObject)public T caseEntryFlow(EntryFlow object)
object - the target of the switch.doSwitch(EObject)public T caseBlockUnit(BlockUnit object)
object - the target of the switch.doSwitch(EObject)public T caseExceptionUnit(ExceptionUnit object)
object - the target of the switch.doSwitch(EObject)public T caseTryUnit(TryUnit object)
object - the target of the switch.doSwitch(EObject)public T caseFinallyUnit(FinallyUnit object)
object - the target of the switch.doSwitch(EObject)public T caseCatchUnit(CatchUnit object)
object - the target of the switch.doSwitch(EObject)public T caseExitFlow(ExitFlow object)
object - the target of the switch.doSwitch(EObject)public T caseExceptionFlow(ExceptionFlow object)
object - the target of the switch.doSwitch(EObject)public T caseElement(Element object)
object - the target of the switch.doSwitch(EObject)public T caseModelElement(ModelElement object)
object - the target of the switch.doSwitch(EObject)public T caseKDMEntity(KDMEntity object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractCodeElement(AbstractCodeElement object)
object - the target of the switch.doSwitch(EObject)public T caseKDMRelationship(KDMRelationship object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(EObject object)
object - the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)