Class SimucomstatusSwitch<T>
java.lang.Object
de.uka.ipd.sdq.simucomframework.simucomstatus.util.SimucomstatusSwitch<T>
- Direct Known Subclasses:
ProcessActionPrintVisitor
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:
- Generated class or method.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncaseAction
(Action object) Returns the result of interpreting the object as an instance of 'Action'.caseActiveResouce
(ActiveResouce object) Returns the result of interpreting the object as an instance of 'Active Resouce'.casePassiveResource
(PassiveResource object) Returns the result of interpreting the object as an instance of 'Passive Resource'.caseProcess
(Process object) Returns the result of interpreting the object as an instance of 'Process'.caseSimuComStatus
(SimuComStatus object) Returns the result of interpreting the object as an instance of 'Simu Com Status'.Returns the result of interpreting the object as an instance of 'Simulated Processes '.Returns the result of interpreting the object as an instance of 'Simulated Resources '.caseWaitForAcquire
(WaitForAcquire object) Returns the result of interpreting the object as an instance of 'Wait For Acquire'.caseWaitForDelay
(WaitForDelay object) Returns the result of interpreting the object as an instance of 'Wait For Delay'.caseWaitForDemand
(WaitForDemand object) Returns the result of interpreting the object as an instance of 'Wait For Demand'.defaultCase
(EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected T
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
Field Details
-
modelPackage
The cached model package- Generated class or method.
-
-
Constructor Details
-
SimucomstatusSwitch
public SimucomstatusSwitch()Creates an instance of the switch.- Generated class or method.
-
-
Method Details
-
doSwitch
CallscaseXXX
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. - Generated class or method.
-
doSwitch
CallscaseXXX
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. - Generated class or method.
-
doSwitch
CallscaseXXX
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. - Generated class or method.
-
caseSimuComStatus
Returns the result of interpreting the object as an instance of 'Simu Com Status'. 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 'Simu Com Status'.
- See Also:
- Generated class or method.
-
caseSimulatedProcesses
Returns the result of interpreting the object as an instance of 'Simulated Processes '. 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 'Simulated Processes '.
- See Also:
- Generated class or method.
-
caseProcess
Returns the result of interpreting the object as an instance of 'Process'. 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 'Process'.
- See Also:
- Generated class or method.
-
caseAction
Returns the result of interpreting the object as an instance of 'Action'. 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 'Action'.
- See Also:
- Generated class or method.
-
caseSimulatedResources
Returns the result of interpreting the object as an instance of 'Simulated Resources '. 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 'Simulated Resources '.
- See Also:
- Generated class or method.
-
caseActiveResouce
Returns the result of interpreting the object as an instance of 'Active Resouce'. 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 'Active Resouce'.
- See Also:
- Generated class or method.
-
caseWaitForDemand
Returns the result of interpreting the object as an instance of 'Wait For Demand'. 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 'Wait For Demand'.
- See Also:
- Generated class or method.
-
casePassiveResource
Returns the result of interpreting the object as an instance of 'Passive Resource'. 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 'Passive Resource'.
- See Also:
- Generated class or method.
-
caseWaitForAcquire
Returns the result of interpreting the object as an instance of 'Wait For Acquire'. 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 'Wait For Acquire'.
- See Also:
- Generated class or method.
-
caseWaitForDelay
Returns the result of interpreting the object as an instance of 'Wait For Delay'. 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 'Wait For Delay'.
- See Also:
- Generated class or method.
-
defaultCase
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:
- Generated class or method.
-