public class SimucomstatusSwitch<T> extends 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.
SimucomstatusPackage
Constructor and Description |
---|
SimucomstatusSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'.
|
T |
caseActiveResouce(ActiveResouce object)
Returns the result of interpreting the object as an instance of 'Active Resouce'.
|
T |
casePassiveResource(PassiveResource object)
Returns the result of interpreting the object as an instance of 'Passive Resource'.
|
T |
caseProcess(Process object)
Returns the result of interpreting the object as an instance of 'Process'.
|
T |
caseSimuComStatus(SimuComStatus object)
Returns the result of interpreting the object as an instance of 'Simu Com Status'.
|
T |
caseSimulatedProcesses(SimulatedProcesses object)
Returns the result of interpreting the object as an instance of 'Simulated Processes
'.
|
T |
caseSimulatedResources(SimulatedResources object)
Returns the result of interpreting the object as an instance of 'Simulated Resources
'.
|
T |
caseWaitForAcquire(WaitForAcquire object)
Returns the result of interpreting the object as an instance of 'Wait For Acquire'.
|
T |
caseWaitForDelay(WaitForDelay object)
Returns the result of interpreting the object as an instance of 'Wait For Delay'.
|
T |
caseWaitForDemand(WaitForDemand object)
Returns the result of interpreting the object as an instance of 'Wait For Demand'.
|
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 SimucomstatusSwitch()
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 caseSimuComStatus(SimuComStatus object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimulatedProcesses(SimulatedProcesses object)
object
- the target of the switch.doSwitch(EObject)
public T caseProcess(Process object)
object
- the target of the switch.doSwitch(EObject)
public T caseAction(Action object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimulatedResources(SimulatedResources object)
object
- the target of the switch.doSwitch(EObject)
public T caseActiveResouce(ActiveResouce object)
object
- the target of the switch.doSwitch(EObject)
public T caseWaitForDemand(WaitForDemand object)
object
- the target of the switch.doSwitch(EObject)
public T casePassiveResource(PassiveResource object)
object
- the target of the switch.doSwitch(EObject)
public T caseWaitForAcquire(WaitForAcquire object)
object
- the target of the switch.doSwitch(EObject)
public T caseWaitForDelay(WaitForDelay 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)