Class ExperimentsSwitch<T>
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.palladiosimulator.experimentautomation.experiments.util.ExperimentsSwitch<T>
-
public class ExperimentsSwitch<T> extends Switch<T>
The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)
to invoke thecaseXXX
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:
ExperimentsPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description static String
copyright
protected static ExperimentsPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description ExperimentsSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseExperiment(Experiment object)
Returns the result of interpreting the object as an instance of 'Experiment'.T
caseExperimentDesign(ExperimentDesign object)
Returns the result of interpreting the object as an instance of 'Experiment Design'.T
caseExperimentRepository(ExperimentRepository object)
Returns the result of interpreting the object as an instance of 'Experiment Repository'.T
caseExponentialValueProvider(ExponentialValueProvider object)
Returns the result of interpreting the object as an instance of 'Exponential Value Provider'.T
caseFractionalFactorialDesign(FractionalFactorialDesign object)
Returns the result of interpreting the object as an instance of 'Fractional Factorial Design'.T
caseFullFactorialDesign(FullFactorialDesign object)
Returns the result of interpreting the object as an instance of 'Full Factorial Design'.T
caseInitialModel(InitialModel object)
Returns the result of interpreting the object as an instance of 'Initial Model'.T
caseJMXMeasurement(JMXMeasurement object)
Returns the result of interpreting the object as an instance of 'JMX Measurement'.T
caseLinearValueProvider(LinearValueProvider object)
Returns the result of interpreting the object as an instance of 'Linear Value Provider'.T
caseModification(Modification object)
Returns the result of interpreting the object as an instance of 'Modification'.T
caseNestedIntervalsDoubleValueProvider(NestedIntervalsDoubleValueProvider object)
Returns the result of interpreting the object as an instance of 'Nested Intervals Double Value Provider'.T
caseNestedIntervalsLongValueProvider(NestedIntervalsLongValueProvider object)
Returns the result of interpreting the object as an instance of 'Nested Intervals Long Value Provider'.T
caseObjectModification(ObjectModification object)
Returns the result of interpreting the object as an instance of 'Object Modification'.T
caseOneFactorAtATime(OneFactorAtATime object)
Returns the result of interpreting the object as an instance of 'One Factor At ATime'.T
casePlacketBurmanDesign(PlacketBurmanDesign object)
Returns the result of interpreting the object as an instance of 'Placket Burman Design'.T
casePolynomialValueProvider(PolynomialValueProvider object)
Returns the result of interpreting the object as an instance of 'Polynomial Value Provider'.T
caseProfilingMeasurement(ProfilingMeasurement object)
Returns the result of interpreting the object as an instance of 'Profiling Measurement'.T
caseReconfigurationRulesFolder(ReconfigurationRulesFolder object)
Returns the result of interpreting the object as an instance of 'Reconfiguration Rules Folder'.T
caseResponseMeasurement(ResponseMeasurement object)
Returns the result of interpreting the object as an instance of 'Response Measurement'.T
caseSchedulingPolicy2DelayModification(SchedulingPolicy2DelayModification object)
Returns the result of interpreting the object as an instance of 'Scheduling Policy2 Delay Modification'.T
caseSetValueProvider(SetValueProvider object)
Returns the result of interpreting the object as an instance of 'Set Value Provider'.T
caseSimulationDurationMeasurement(SimulationDurationMeasurement object)
Returns the result of interpreting the object as an instance of 'Simulation Duration Measurement'.T
caseToolConfiguration(ToolConfiguration object)
Returns the result of interpreting the object as an instance of 'Tool Configuration'.T
caseValueProvider(ValueProvider object)
Returns the result of interpreting the object as an instance of 'Value Provider'.T
caseVariation(Variation object)
Returns the result of interpreting the object as an instance of 'Variation'.T
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch(int classifierID, EObject theEObject)
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 Detail
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- Generated class or method.
-
modelPackage
protected static ExperimentsPackage modelPackage
The cached model package- Generated class or method.
-
-
Method Detail
-
isSwitchFor
protected boolean isSwitchFor(EPackage ePackage)
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
protected T doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
caseExperimentRepository
public T caseExperimentRepository(ExperimentRepository object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseExperiment
public T caseExperiment(Experiment object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseVariation
public T caseVariation(Variation object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseValueProvider
public T caseValueProvider(ValueProvider object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseToolConfiguration
public T caseToolConfiguration(ToolConfiguration object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseExperimentDesign
public T caseExperimentDesign(ExperimentDesign object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseResponseMeasurement
public T caseResponseMeasurement(ResponseMeasurement object)
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:
doSwitch(EObject)
- Generated class or method.
-
casePolynomialValueProvider
public T casePolynomialValueProvider(PolynomialValueProvider object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseExponentialValueProvider
public T caseExponentialValueProvider(ExponentialValueProvider object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseSetValueProvider
public T caseSetValueProvider(SetValueProvider object)
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:
doSwitch(EObject)
- Generated class or method.
-
casePlacketBurmanDesign
public T casePlacketBurmanDesign(PlacketBurmanDesign object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseFullFactorialDesign
public T caseFullFactorialDesign(FullFactorialDesign object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseFractionalFactorialDesign
public T caseFractionalFactorialDesign(FractionalFactorialDesign object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseOneFactorAtATime
public T caseOneFactorAtATime(OneFactorAtATime object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseSimulationDurationMeasurement
public T caseSimulationDurationMeasurement(SimulationDurationMeasurement object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseProfilingMeasurement
public T caseProfilingMeasurement(ProfilingMeasurement object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseJMXMeasurement
public T caseJMXMeasurement(JMXMeasurement object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseLinearValueProvider
public T caseLinearValueProvider(LinearValueProvider object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseObjectModification
public T caseObjectModification(ObjectModification object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseInitialModel
public T caseInitialModel(InitialModel object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseReconfigurationRulesFolder
public T caseReconfigurationRulesFolder(ReconfigurationRulesFolder object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseNestedIntervalsDoubleValueProvider
public T caseNestedIntervalsDoubleValueProvider(NestedIntervalsDoubleValueProvider object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseNestedIntervalsLongValueProvider
public T caseNestedIntervalsLongValueProvider(NestedIntervalsLongValueProvider object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseModification
public T caseModification(Modification object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseSchedulingPolicy2DelayModification
public T caseSchedulingPolicy2DelayModification(SchedulingPolicy2DelayModification object)
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:
doSwitch(EObject)
- Generated class or method.
-
defaultCase
public T defaultCase(EObject object)
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:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
- Generated class or method.
-
-