public class RequestSwitch<T> extends Switch<T>
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.
RequestPackage| Constructor and Description |
|---|
RequestSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseChangeOptimizationIntervalRequest(ChangeOptimizationIntervalRequest object)
Returns the result of interpreting the object as an instance of 'Change Optimization Interval Request'.
|
T |
caseExperimentScenarioRequest(ExperimentScenarioRequest object)
Returns the result of interpreting the object as an instance of 'Experiment Scenario Request'.
|
T |
caseIdentifier(eu.cactosfp7.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T |
caseMigrateApplicationRequest(MigrateApplicationRequest object)
Returns the result of interpreting the object as an instance of 'Migrate Application Request'.
|
T |
caseReconfigureOptimizationAlgorithmRequest(ReconfigureOptimizationAlgorithmRequest object)
Returns the result of interpreting the object as an instance of 'Reconfigure Optimization Algorithm Request'.
|
T |
caseReconfigureScalableImageConnectorRequest(ReconfigureScalableImageConnectorRequest object)
Returns the result of interpreting the object as an instance of 'Reconfigure Scalable Image Connector Request'.
|
T |
caseResumeApplicationRequest(ResumeApplicationRequest object)
Returns the result of interpreting the object as an instance of 'Resume Application Request'.
|
T |
caseSetPhysicalNodeStateRequest(SetPhysicalNodeStateRequest object)
Returns the result of interpreting the object as an instance of 'Set Physical Node State Request'.
|
T |
caseStartApplicationRequest(StartApplicationRequest object)
Returns the result of interpreting the object as an instance of 'Start Application Request'.
|
T |
caseSuspendApplicationRequest(SuspendApplicationRequest object)
Returns the result of interpreting the object as an instance of 'Suspend Application Request'.
|
T |
caseTerminateApplicationRequest(TerminateApplicationRequest object)
Returns the result of interpreting the object as an instance of 'Terminate Application Request'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public RequestSwitch()
public T caseReconfigureOptimizationAlgorithmRequest(ReconfigureOptimizationAlgorithmRequest object)
object - the target of the switch.doSwitch(EObject)public T caseMigrateApplicationRequest(MigrateApplicationRequest object)
object - the target of the switch.doSwitch(EObject)public T caseStartApplicationRequest(StartApplicationRequest object)
object - the target of the switch.doSwitch(EObject)public T caseSuspendApplicationRequest(SuspendApplicationRequest object)
object - the target of the switch.doSwitch(EObject)public T caseTerminateApplicationRequest(TerminateApplicationRequest object)
object - the target of the switch.doSwitch(EObject)public T caseChangeOptimizationIntervalRequest(ChangeOptimizationIntervalRequest object)
object - the target of the switch.doSwitch(EObject)public T caseReconfigureScalableImageConnectorRequest(ReconfigureScalableImageConnectorRequest object)
object - the target of the switch.doSwitch(EObject)public T caseSetPhysicalNodeStateRequest(SetPhysicalNodeStateRequest object)
object - the target of the switch.doSwitch(EObject)public T caseResumeApplicationRequest(ResumeApplicationRequest object)
object - the target of the switch.doSwitch(EObject)public T caseExperimentScenarioRequest(ExperimentScenarioRequest object)
object - the target of the switch.doSwitch(EObject)public T caseIdentifier(eu.cactosfp7.identifier.Identifier object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(EObject object)
defaultCase in class Switch<T>object - the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)