Class QualityAnnotationSwitch<T>

java.lang.Object
org.palladiosimulator.analyzer.quality.qualityannotation.util.QualityAnnotationSwitch<T>
Direct Known Subclasses:
PCMRandomVariableSpecificationAccuracyMaximumTrafo, PCMRandomVariableSpecificationAccuracyMinimumTrafo, ValidationPrecisionToMaximumLongValue, ValidationPrecisionToMinimumLongValue

public class QualityAnnotationSwitch<T> extends Object
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 Details

    • modelPackage

      protected static QualityAnnotationPackage modelPackage
      The cached model package
      Generated class or method.
  • Constructor Details

    • QualityAnnotationSwitch

      public QualityAnnotationSwitch()
      Creates an instance of the switch.
      Generated class or method.
  • Method Details

    • doSwitch

      public T doSwitch(EObject theEObject)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      Returns:
      the first non-null result returned by a caseXXX call.
      Generated class or method.
    • doSwitch

      protected T doSwitch(EClass theEClass, EObject theEObject)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      Returns:
      the first non-null result returned by a caseXXX call.
      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.
      Returns:
      the first non-null result returned by a caseXXX call.
      Generated class or method.
    • caseParameterValueDeviation

      public T caseParameterValueDeviation(ParameterValueDeviation object)
      Returns the result of interpreting the object as an instance of ' Parameter Value Deviation'. 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 Value Deviation'.
      See Also:
      Generated class or method.
    • caseQualityAnnotation

      public T caseQualityAnnotation(QualityAnnotation object)
      Returns the result of interpreting the object as an instance of 'Quality Annotation '. 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 'Quality Annotation '.
      See Also:
      Generated class or method.
    • caseServiceSpecification

      public T caseServiceSpecification(ServiceSpecification object)
      Returns the result of interpreting the object as an instance of ' Service 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 ' Service Specification'.
      See Also:
      Generated class or method.
    • caseRequiredElement

      public T caseRequiredElement(RequiredElement object)
      Returns the result of interpreting the object as an instance of 'Required 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 'Required Element'.
      See Also:
      Generated class or method.
    • caseRequiredElementDeviation

      public T caseRequiredElementDeviation(RequiredElementDeviation object)
      Returns the result of interpreting the object as an instance of ' Required Element Deviation'. 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 ' Required Element Deviation'.
      See Also:
      Generated class or method.
    • caseInternalStateInfluenceAnalysisAggregation

      public T caseInternalStateInfluenceAnalysisAggregation(InternalStateInfluenceAnalysisAggregation object)
      Returns the result of interpreting the object as an instance of ' Internal State Influence Analysis Aggregation'. 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 State Influence Analysis Aggregation'.
      See Also:
      Generated class or method.
    • casePrecision

      public T casePrecision(Precision object)
      Returns the result of interpreting the object as an instance of 'Precision'. 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 'Precision'.
      See Also:
      Generated class or method.
    • caseREPrecision

      public T caseREPrecision(REPrecision object)
      Returns the result of interpreting the object as an instance of 'RE Precision'. 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 'RE Precision'.
      See Also:
      Generated class or method.
    • caseProbabilisticElement

      public T caseProbabilisticElement(ProbabilisticElement object)
      Returns the result of interpreting the object as an instance of ' Probabilistic 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 ' Probabilistic Element'.
      See Also:
      Generated class or method.
    • caseCharacterisedPCMParameterPartition

      public T caseCharacterisedPCMParameterPartition(CharacterisedPCMParameterPartition object)
      Returns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition'. 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 ' Characterised PCM Parameter Partition'.
      See Also:
      Generated class or method.
    • casePCMParameterPartition

      public T casePCMParameterPartition(PCMParameterPartition object)
      Returns the result of interpreting the object as an instance of ' PCM Parameter Partition'. 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 ' PCM Parameter Partition'.
      See Also:
      Generated class or method.
    • caseCharacterisedPCMParameterPartitionInterval

      public T caseCharacterisedPCMParameterPartitionInterval(CharacterisedPCMParameterPartitionInterval object)
      Returns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition Interval'. 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 ' Characterised PCM Parameter Partition Interval'.
      See Also:
      Generated class or method.
    • caseCharacterisedPCMParameterPartitionRange

      public T caseCharacterisedPCMParameterPartitionRange(CharacterisedPCMParameterPartitionRange object)
      Returns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition 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 ' Characterised PCM Parameter Partition Range'.
      See Also:
      Generated class or method.
    • caseExactlyAsSpecifiedPrecision

      public T caseExactlyAsSpecifiedPrecision(ExactlyAsSpecifiedPrecision object)
      Returns the result of interpreting the object as an instance of ' Exactly As Specified Precision'. 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 ' Exactly As Specified Precision'.
      See Also:
      Generated class or method.
    • caseLimitedDeviationPrecision

      public T caseLimitedDeviationPrecision(LimitedDeviationPrecision object)
      Returns the result of interpreting the object as an instance of ' Limited Deviation Precision'. 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 ' Limited Deviation Precision'.
      See Also:
      Generated class or method.
    • caseNoPrecision

      public T caseNoPrecision(NoPrecision object)
      Returns the result of interpreting the object as an instance of 'No Precision'. 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 'No Precision'.
      See Also:
      Generated class or method.
    • casePCMRECategory

      public T casePCMRECategory(PCMRECategory object)
      Returns the result of interpreting the object as an instance of 'PCMRE Category'. 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 'PCMRE Category'.
      See Also:
      Generated class or method.
    • casePCMRE

      public T casePCMRE(PCMRE object)
      Returns the result of interpreting the object as an instance of 'PCMRE'. 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 'PCMRE'.
      See Also:
      Generated class or method.
    • casePCMREInterface

      public T casePCMREInterface(PCMREInterface object)
      Returns the result of interpreting the object as an instance of 'PCMRE Interface'. 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 'PCMRE Interface'.
      See Also:
      Generated class or method.
    • casePCMRERole

      public T casePCMRERole(PCMRERole object)
      Returns the result of interpreting the object as an instance of 'PCMRE Role'. 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 'PCMRE Role'.
      See Also:
      Generated class or method.
    • casePCMRESignature

      public T casePCMRESignature(PCMRESignature object)
      Returns the result of interpreting the object as an instance of 'PCMRE Signature'. 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 'PCMRE Signature'.
      See Also:
      Generated class or method.
    • casePCMServiceSpecification

      public T casePCMServiceSpecification(PCMServiceSpecification object)
      Returns the result of interpreting the object as an instance of ' PCM Service 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 ' PCM Service Specification'.
      See Also:
      Generated class or method.
    • casePCMREResourceInterface

      public T casePCMREResourceInterface(PCMREResourceInterface object)
      Returns the result of interpreting the object as an instance of ' PCMRE Resource Interface'. 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 ' PCMRE Resource Interface'.
      See Also:
      Generated class or method.
    • casePCMREResourceSignature

      public T casePCMREResourceSignature(PCMREResourceSignature object)
      Returns the result of interpreting the object as an instance of ' PCMRE Resource Signature'. 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 ' PCMRE Resource Signature'.
      See Also:
      Generated class or method.
    • casePCMREResource

      public T casePCMREResource(PCMREResource object)
      Returns the result of interpreting the object as an instance of 'PCMRE Resource'. 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 'PCMRE Resource'.
      See Also:
      Generated class or method.
    • casePCMREResourceRole

      public T casePCMREResourceRole(PCMREResourceRole object)
      Returns the result of interpreting the object as an instance of 'PCMRE Resource Role '. 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 'PCMRE Resource Role '.
      See Also:
      Generated class or method.
    • casePCMRECIBehavior

      public T casePCMRECIBehavior(PCMRECIBehavior object)
      Returns the result of interpreting the object as an instance of 'PCMRECI Behavior'. 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 'PCMRECI Behavior'.
      See Also:
      Generated class or method.
    • casePCMREInfrastructureInterface

      public T casePCMREInfrastructureInterface(PCMREInfrastructureInterface object)
      Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Interface'. 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 ' PCMRE Infrastructure Interface'.
      See Also:
      Generated class or method.
    • casePCMREInfrastructureRole

      public T casePCMREInfrastructureRole(PCMREInfrastructureRole object)
      Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Role'. 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 ' PCMRE Infrastructure Role'.
      See Also:
      Generated class or method.
    • casePCMREInfrastructureSignature

      public T casePCMREInfrastructureSignature(PCMREInfrastructureSignature object)
      Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Signature'. 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 ' PCMRE Infrastructure Signature'.
      See Also:
      Generated class or method.
    • casePCMPE

      public T casePCMPE(PCMPE object)
      Returns the result of interpreting the object as an instance of 'PCMPE'. 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 'PCMPE'.
      See Also:
      Generated class or method.
    • casePCMPEAllDecisions

      public T casePCMPEAllDecisions(PCMPEAllDecisions object)
      Returns the result of interpreting the object as an instance of 'PCMPE All Decisions '. 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 'PCMPE All Decisions '.
      See Also:
      Generated class or method.
    • casePCMPEDecision

      public T casePCMPEDecision(PCMPEDecision object)
      Returns the result of interpreting the object as an instance of 'PCMPE Decision'. 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 'PCMPE Decision'.
      See Also:
      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:
      Generated class or method.
    • caseQualityStatement

      public T caseQualityStatement(QualityStatement object)
      Returns the result of interpreting the object as an instance of 'Statement'. 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 'Statement'.
      See Also:
      Generated class or method.
    • caseParameterPartition

      public T caseParameterPartition(ParameterPartition object)
      Returns the result of interpreting the object as an instance of 'Parameter Partition '. 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 Partition '.
      See Also:
      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.
      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.