Class SensitivitySwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.reliability.sensitivity.util.SensitivitySwitch<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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of ' Combined Sensitivity Parameter'.Returns the result of interpreting the object as an instance of ' Communication Link Reliability Parameter'.Returns the result of interpreting the object as an instance of ' Component Reliability Parameter'.Returns the result of interpreting the object as an instance of ' Double Offset Sequence'.Returns the result of interpreting the object as an instance of ' Double Parameter Function'.Returns the result of interpreting the object as an instance of ' Double Parameter Range'.Returns the result of interpreting the object as an instance of ' Double Parameter Sequence'.Returns the result of interpreting the object as an instance of ' Double Parameter Variation'.caseEntity
(org.palladiosimulator.pcm.core.entity.Entity object) Returns the result of interpreting the object as an instance of 'Entity'.Returns the result of interpreting the object as an instance of ' Failure Dimension Result Specification'.Returns the result of interpreting the object as an instance of ' Failure Type Result Specification'.Returns the result of interpreting the object as an instance of ' Hardware MTTF Parameter'.Returns the result of interpreting the object as an instance of ' Hardware MTTR Parameter'.caseIdentifier
(de.uka.ipd.sdq.identifier.Identifier object) Returns the result of interpreting the object as an instance of 'Identifier'.Returns the result of interpreting the object as an instance of ' Internal Action Reliability Parameter'.caseNamedElement
(org.palladiosimulator.pcm.core.entity.NamedElement object) Returns the result of interpreting the object as an instance of 'Named Element'.Returns the result of interpreting the object as an instance of ' Network Reliability Parameter'.Returns the result of interpreting the object as an instance of ' Probabilistic Branch Parameter'.Returns the result of interpreting the object as an instance of ' Resource MTTF Parameter'.Returns the result of interpreting the object as an instance of ' Resource MTTR Parameter'.Returns the result of interpreting the object as an instance of 'Configuration'.Returns the result of interpreting the object as an instance of 'Parameter'.Returns the result of interpreting the object as an instance of 'Parameter Variation '.Returns the result of interpreting the object as an instance of ' Result Specification'.Returns the result of interpreting the object as an instance of ' Single Sensitivity Parameter'.Returns the result of interpreting the object as an instance of ' Software Failure Types Parameter'.Returns the result of interpreting the object as an instance of ' Software Reliability Parameter'.Returns the result of interpreting the object as an instance of ' String Parameter Sequence'.Returns the result of interpreting the object as an instance of ' Usage Branch Parameter'.Returns the result of interpreting the object as an instance of ' Variable Usage Parameter'.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
-
modelPackage
The cached model package- Generated class or method.
-
-
Constructor Details
-
SensitivitySwitch
public SensitivitySwitch()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. -
caseSensitivityConfiguration
Returns the result of interpreting the object as an instance of '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 'Configuration'.
- See Also:
- Generated class or method.
-
caseSensitivityParameter
Returns the result of interpreting the object as an instance of 'Parameter'. 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 'Parameter'.
- See Also:
- Generated class or method.
-
caseCombinedSensitivityParameter
Returns the result of interpreting the object as an instance of ' Combined Sensitivity Parameter'. 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 ' Combined Sensitivity Parameter'.
- See Also:
- Generated class or method.
-
caseSensitivityResultSpecification
Returns the result of interpreting the object as an instance of ' Result Specification'. 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 ' Result Specification'.
- See Also:
- Generated class or method.
-
caseSingleSensitivityParameter
Returns the result of interpreting the object as an instance of ' Single Sensitivity Parameter'. 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 ' Single Sensitivity Parameter'.
- See Also:
- Generated class or method.
-
caseSensitivityParameterVariation
Returns the result of interpreting the object as an instance of 'Parameter 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 'Parameter Variation '.
- See Also:
- Generated class or method.
-
caseComponentReliabilityParameter
Returns the result of interpreting the object as an instance of ' Component Reliability Parameter'. 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 ' Component Reliability Parameter'.
- See Also:
- Generated class or method.
-
caseDoubleParameterVariation
Returns the result of interpreting the object as an instance of ' Double Parameter 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 ' Double Parameter Variation'.
- See Also:
- Generated class or method.
-
caseStringParameterSequence
Returns the result of interpreting the object as an instance of ' String Parameter Sequence'. 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 ' String Parameter Sequence'.
- See Also:
- Generated class or method.
-
caseDoubleParameterRange
Returns the result of interpreting the object as an instance of ' Double Parameter Range'. 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 ' Double Parameter Range'.
- See Also:
- Generated class or method.
-
caseDoubleParameterSequence
Returns the result of interpreting the object as an instance of ' Double Parameter Sequence'. 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 ' Double Parameter Sequence'.
- See Also:
- Generated class or method.
-
caseDoubleParameterFunction
Returns the result of interpreting the object as an instance of ' Double Parameter Function'. 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 ' Double Parameter Function'.
- See Also:
- Generated class or method.
-
caseInternalActionReliabilityParameter
Returns the result of interpreting the object as an instance of ' Internal Action Reliability Parameter'. 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 ' Internal Action Reliability Parameter'.
- See Also:
- Generated class or method.
-
caseProbabilisticBranchParameter
Returns the result of interpreting the object as an instance of ' Probabilistic Branch Parameter'. 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 ' Probabilistic Branch Parameter'.
- See Also:
- Generated class or method.
-
caseHardwareMTTFParameter
Returns the result of interpreting the object as an instance of ' Hardware MTTF Parameter'. 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 ' Hardware MTTF Parameter'.
- See Also:
- Generated class or method.
-
caseHardwareMTTRParameter
Returns the result of interpreting the object as an instance of ' Hardware MTTR Parameter'. 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 ' Hardware MTTR Parameter'.
- See Also:
- Generated class or method.
-
caseResourceMTTFParameter
Returns the result of interpreting the object as an instance of ' Resource MTTF Parameter'. 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 ' Resource MTTF Parameter'.
- See Also:
- Generated class or method.
-
caseResourceMTTRParameter
Returns the result of interpreting the object as an instance of ' Resource MTTR Parameter'. 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 ' Resource MTTR Parameter'.
- See Also:
- Generated class or method.
-
caseNetworkReliabilityParameter
Returns the result of interpreting the object as an instance of ' Network Reliability Parameter'. 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 ' Network Reliability Parameter'.
- See Also:
- Generated class or method.
-
caseCommunicationLinkReliabilityParameter
Returns the result of interpreting the object as an instance of ' Communication Link Reliability Parameter'. 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 ' Communication Link Reliability Parameter'.
- See Also:
- Generated class or method.
-
caseSoftwareReliabilityParameter
Returns the result of interpreting the object as an instance of ' Software Reliability Parameter'. 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 ' Software Reliability Parameter'.
- See Also:
- Generated class or method.
-
caseVariableUsageParameter
Returns the result of interpreting the object as an instance of ' Variable Usage Parameter'. 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 ' Variable Usage Parameter'.
- See Also:
- Generated class or method.
-
caseUsageBranchParameter
Returns the result of interpreting the object as an instance of ' Usage Branch Parameter'. 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 ' Usage Branch Parameter'.
- See Also:
- Generated class or method.
-
caseDoubleOffsetSequence
Returns the result of interpreting the object as an instance of ' Double Offset Sequence'. 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 ' Double Offset Sequence'.
- See Also:
- Generated class or method.
-
caseSoftwareFailureTypesParameter
Returns the result of interpreting the object as an instance of ' Software Failure Types Parameter'. 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 ' Software Failure Types Parameter'.
- See Also:
- Generated class or method.
-
caseFailureTypeResultSpecification
Returns the result of interpreting the object as an instance of ' Failure Type Result Specification'. 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 ' Failure Type Result Specification'.
- See Also:
- Generated class or method.
-
caseFailureDimensionResultSpecification
Returns the result of interpreting the object as an instance of ' Failure Dimension Result Specification'. 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 ' Failure Dimension Result Specification'.
- See Also:
- Generated class or method.
-
caseIdentifier
Returns the result of interpreting the object as an instance of 'Identifier'. 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 'Identifier'.
- See Also:
- Generated class or method.
-
caseNamedElement
Returns the result of interpreting the object as an instance of 'Named Element'. 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 'Named Element'.
- See Also:
- Generated class or method.
-
caseEntity
Returns the result of interpreting the object as an instance of 'Entity'. 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 'Entity'.
- 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.
-