Class ExperimentsSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.experimentautomation.experiments.util.ExperimentsSwitch<T>
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
Modifier and TypeFieldDescriptionstatic final String
protected static ExperimentsPackage
The cached model package -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncaseExperiment
(Experiment object) Returns the result of interpreting the object as an instance of 'Experiment'.caseExperimentDesign
(ExperimentDesign object) Returns the result of interpreting the object as an instance of 'Experiment Design'.Returns the result of interpreting the object as an instance of 'Experiment Repository'.Returns the result of interpreting the object as an instance of 'Exponential Value Provider'.Returns the result of interpreting the object as an instance of 'Fractional Factorial Design'.Returns the result of interpreting the object as an instance of 'Full Factorial Design'.caseInitialModel
(InitialModel object) Returns the result of interpreting the object as an instance of 'Initial Model'.caseJMXMeasurement
(JMXMeasurement object) Returns the result of interpreting the object as an instance of 'JMX Measurement'.Returns the result of interpreting the object as an instance of 'Linear Value Provider'.caseModification
(Modification object) Returns the result of interpreting the object as an instance of 'Modification'.Returns the result of interpreting the object as an instance of 'Nested Intervals Double Value Provider'.Returns the result of interpreting the object as an instance of 'Nested Intervals Long Value Provider'.Returns the result of interpreting the object as an instance of 'Object Modification'.caseOneFactorAtATime
(OneFactorAtATime object) Returns the result of interpreting the object as an instance of 'One Factor At ATime'.Returns the result of interpreting the object as an instance of 'Placket Burman Design'.Returns the result of interpreting the object as an instance of 'Polynomial Value Provider'.Returns the result of interpreting the object as an instance of 'Profiling Measurement'.Returns the result of interpreting the object as an instance of 'Reconfiguration Rules Folder'.Returns the result of interpreting the object as an instance of 'Response Measurement'.Returns the result of interpreting the object as an instance of 'Scheduling Policy2 Delay Modification'.caseSetValueProvider
(SetValueProvider object) Returns the result of interpreting the object as an instance of 'Set Value Provider'.Returns the result of interpreting the object as an instance of 'Simulation Duration Measurement'.Returns the result of interpreting the object as an instance of 'Tool Configuration'.caseValueProvider
(ValueProvider object) Returns the result of interpreting the object as an instance of 'Value Provider'.caseVariation
(Variation object) Returns the result of interpreting the object as an instance of 'Variation'.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 boolean
isSwitchFor
(EPackage ePackage) Checks whether this is a switch for the given package.
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
modelPackage
The cached model package- Generated class or method.
-
-
Constructor Details
-
ExperimentsSwitch
public ExperimentsSwitch()Creates an instance of the switch.- Generated class or method.
-
-
Method Details
-
isSwitchFor
Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classSwitch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated class or method.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result. -
caseExperimentRepository
Returns the result of interpreting the object as an instance of 'Experiment Repository'. 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 'Experiment Repository'.
- See Also:
- Generated class or method.
-
caseExperiment
Returns the result of interpreting the object as an instance of 'Experiment'. 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 'Experiment'.
- See Also:
- Generated class or method.
-
caseVariation
Returns the result of interpreting the object as an instance of 'Variation'. 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 'Variation'.
- See Also:
- Generated class or method.
-
caseValueProvider
Returns the result of interpreting the object as an instance of 'Value Provider'. 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 'Value Provider'.
- See Also:
- Generated class or method.
-
caseToolConfiguration
Returns the result of interpreting the object as an instance of 'Tool Configuration'. 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 'Tool Configuration'.
- See Also:
- Generated class or method.
-
caseExperimentDesign
Returns the result of interpreting the object as an instance of 'Experiment Design'. 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 'Experiment Design'.
- See Also:
- Generated class or method.
-
caseResponseMeasurement
Returns the result of interpreting the object as an instance of 'Response Measurement'. 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 'Response Measurement'.
- See Also:
- Generated class or method.
-
casePolynomialValueProvider
Returns the result of interpreting the object as an instance of 'Polynomial Value Provider'. 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 'Polynomial Value Provider'.
- See Also:
- Generated class or method.
-
caseExponentialValueProvider
Returns the result of interpreting the object as an instance of 'Exponential Value Provider'. 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 'Exponential Value Provider'.
- See Also:
- Generated class or method.
-
caseSetValueProvider
Returns the result of interpreting the object as an instance of 'Set Value Provider'. 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 'Set Value Provider'.
- See Also:
- Generated class or method.
-
casePlacketBurmanDesign
Returns the result of interpreting the object as an instance of 'Placket Burman Design'. 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 'Placket Burman Design'.
- See Also:
- Generated class or method.
-
caseFullFactorialDesign
Returns the result of interpreting the object as an instance of 'Full Factorial Design'. 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 'Full Factorial Design'.
- See Also:
- Generated class or method.
-
caseFractionalFactorialDesign
Returns the result of interpreting the object as an instance of 'Fractional Factorial Design'. 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 'Fractional Factorial Design'.
- See Also:
- Generated class or method.
-
caseOneFactorAtATime
Returns the result of interpreting the object as an instance of 'One Factor At ATime'. 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 'One Factor At ATime'.
- See Also:
- Generated class or method.
-
caseSimulationDurationMeasurement
Returns the result of interpreting the object as an instance of 'Simulation Duration Measurement'. 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 'Simulation Duration Measurement'.
- See Also:
- Generated class or method.
-
caseProfilingMeasurement
Returns the result of interpreting the object as an instance of 'Profiling Measurement'. 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 'Profiling Measurement'.
- See Also:
- Generated class or method.
-
caseJMXMeasurement
Returns the result of interpreting the object as an instance of 'JMX Measurement'. 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 'JMX Measurement'.
- See Also:
- Generated class or method.
-
caseLinearValueProvider
Returns the result of interpreting the object as an instance of 'Linear Value Provider'. 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 'Linear Value Provider'.
- See Also:
- Generated class or method.
-
caseObjectModification
Returns the result of interpreting the object as an instance of 'Object Modification'. 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 'Object Modification'.
- See Also:
- Generated class or method.
-
caseInitialModel
Returns the result of interpreting the object as an instance of 'Initial 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 'Initial Model'.
- See Also:
- Generated class or method.
-
caseReconfigurationRulesFolder
Returns the result of interpreting the object as an instance of 'Reconfiguration Rules Folder'. 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 'Reconfiguration Rules Folder'.
- See Also:
- Generated class or method.
-
caseNestedIntervalsDoubleValueProvider
Returns the result of interpreting the object as an instance of 'Nested Intervals Double Value Provider'. 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 'Nested Intervals Double Value Provider'.
- See Also:
- Generated class or method.
-
caseNestedIntervalsLongValueProvider
Returns the result of interpreting the object as an instance of 'Nested Intervals Long Value Provider'. 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 'Nested Intervals Long Value Provider'.
- See Also:
- Generated class or method.
-
caseModification
Returns the result of interpreting the object as an instance of 'Modification'. 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 'Modification'.
- See Also:
- Generated class or method.
-
caseSchedulingPolicy2DelayModification
Returns the result of interpreting the object as an instance of 'Scheduling Policy2 Delay Modification'. 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 'Scheduling Policy2 Delay Modification'.
- 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.- Overrides:
defaultCase
in classSwitch<T>
- 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.
-