Class SensitivitySwitch<T>


  • public class SensitivitySwitch<T>
    extends Switch<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:
    SensitivityPackage
    Generated class or method.
    • Field Detail

      • modelPackage

        protected static SensitivityPackage modelPackage
        The cached model package
        Generated class or method.
    • Constructor Detail

      • SensitivitySwitch

        public SensitivitySwitch()
        Creates an instance of the switch.
        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 class Switch<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)
        Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
        Overrides:
        doSwitch in class Switch<T>
        Returns:
        the first non-null result returned by a caseXXX call.
        Generated class or method.
      • caseSensitivityConfiguration

        public T caseSensitivityConfiguration​(SensitivityConfiguration object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseSensitivityParameter

        public T caseSensitivityParameter​(SensitivityParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseCombinedSensitivityParameter

        public T caseCombinedSensitivityParameter​(CombinedSensitivityParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseSensitivityResultSpecification

        public T caseSensitivityResultSpecification​(SensitivityResultSpecification object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseSingleSensitivityParameter

        public T caseSingleSensitivityParameter​(SingleSensitivityParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseSensitivityParameterVariation

        public T caseSensitivityParameterVariation​(SensitivityParameterVariation object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseComponentReliabilityParameter

        public T caseComponentReliabilityParameter​(ComponentReliabilityParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseDoubleParameterVariation

        public T caseDoubleParameterVariation​(DoubleParameterVariation object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseStringParameterSequence

        public T caseStringParameterSequence​(StringParameterSequence object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseDoubleParameterRange

        public T caseDoubleParameterRange​(DoubleParameterRange object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseDoubleParameterSequence

        public T caseDoubleParameterSequence​(DoubleParameterSequence object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseDoubleParameterFunction

        public T caseDoubleParameterFunction​(DoubleParameterFunction object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseInternalActionReliabilityParameter

        public T caseInternalActionReliabilityParameter​(InternalActionReliabilityParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseProbabilisticBranchParameter

        public T caseProbabilisticBranchParameter​(ProbabilisticBranchParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseHardwareMTTFParameter

        public T caseHardwareMTTFParameter​(HardwareMTTFParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseHardwareMTTRParameter

        public T caseHardwareMTTRParameter​(HardwareMTTRParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseResourceMTTFParameter

        public T caseResourceMTTFParameter​(ResourceMTTFParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseResourceMTTRParameter

        public T caseResourceMTTRParameter​(ResourceMTTRParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseNetworkReliabilityParameter

        public T caseNetworkReliabilityParameter​(NetworkReliabilityParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseCommunicationLinkReliabilityParameter

        public T caseCommunicationLinkReliabilityParameter​(CommunicationLinkReliabilityParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseSoftwareReliabilityParameter

        public T caseSoftwareReliabilityParameter​(SoftwareReliabilityParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseVariableUsageParameter

        public T caseVariableUsageParameter​(VariableUsageParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseUsageBranchParameter

        public T caseUsageBranchParameter​(UsageBranchParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseDoubleOffsetSequence

        public T caseDoubleOffsetSequence​(DoubleOffsetSequence object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseSoftwareFailureTypesParameter

        public T caseSoftwareFailureTypesParameter​(SoftwareFailureTypesParameter object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseFailureTypeResultSpecification

        public T caseFailureTypeResultSpecification​(FailureTypeResultSpecification object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseFailureDimensionResultSpecification

        public T caseFailureDimensionResultSpecification​(FailureDimensionResultSpecification object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseIdentifier

        public T caseIdentifier​(de.uka.ipd.sdq.identifier.Identifier object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseNamedElement

        public T caseNamedElement​(org.palladiosimulator.pcm.core.entity.NamedElement object)
        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:
        doSwitch(EObject)
        Generated class or method.
      • caseEntity

        public T caseEntity​(org.palladiosimulator.pcm.core.entity.Entity object)
        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:
        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 class Switch<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.