Class QualityAnnotationSwitch<T>
java.lang.Object
org.palladiosimulator.analyzer.quality.qualityannotation.util.QualityAnnotationSwitch<T>
- Direct Known Subclasses:
PCMRandomVariableSpecificationAccuracyMaximumTrafo
,PCMRandomVariableSpecificationAccuracyMinimumTrafo
,ValidationPrecisionToMaximumLongValue
,ValidationPrecisionToMinimumLongValue
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 TypeFieldDescriptionprotected static QualityAnnotationPackage
The cached model package -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition'.Returns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition Interval'.Returns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition Range'.Returns the result of interpreting the object as an instance of ' Exactly As Specified Precision'.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 State Influence Analysis Aggregation'.Returns the result of interpreting the object as an instance of ' Limited Deviation Precision'.caseNoPrecision
(NoPrecision object) Returns the result of interpreting the object as an instance of 'No Precision'.Returns the result of interpreting the object as an instance of 'Parameter Partition '.Returns the result of interpreting the object as an instance of ' Parameter Value Deviation'.Returns the result of interpreting the object as an instance of ' PCM Parameter Partition'.Returns the result of interpreting the object as an instance of 'PCMPE'.Returns the result of interpreting the object as an instance of 'PCMPE All Decisions '.casePCMPEDecision
(PCMPEDecision object) Returns the result of interpreting the object as an instance of 'PCMPE Decision'.Returns the result of interpreting the object as an instance of 'PCMRE'.casePCMRECategory
(PCMRECategory object) Returns the result of interpreting the object as an instance of 'PCMRE Category'.casePCMRECIBehavior
(PCMRECIBehavior object) Returns the result of interpreting the object as an instance of 'PCMRECI Behavior'.Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Interface'.Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Role'.Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Signature'.casePCMREInterface
(PCMREInterface object) Returns the result of interpreting the object as an instance of 'PCMRE Interface'.casePCMREResource
(PCMREResource object) Returns the result of interpreting the object as an instance of 'PCMRE Resource'.Returns the result of interpreting the object as an instance of ' PCMRE Resource Interface'.Returns the result of interpreting the object as an instance of 'PCMRE Resource Role '.Returns the result of interpreting the object as an instance of ' PCMRE Resource Signature'.casePCMRERole
(PCMRERole object) Returns the result of interpreting the object as an instance of 'PCMRE Role'.casePCMRESignature
(PCMRESignature object) Returns the result of interpreting the object as an instance of 'PCMRE Signature'.Returns the result of interpreting the object as an instance of ' PCM Service Specification'.casePrecision
(Precision object) Returns the result of interpreting the object as an instance of 'Precision'.Returns the result of interpreting the object as an instance of ' Probabilistic Element'.Returns the result of interpreting the object as an instance of 'Quality Annotation '.caseQualityStatement
(QualityStatement object) Returns the result of interpreting the object as an instance of 'Statement'.caseREPrecision
(REPrecision object) Returns the result of interpreting the object as an instance of 'RE Precision'.caseRequiredElement
(RequiredElement object) Returns the result of interpreting the object as an instance of 'Required Element'.Returns the result of interpreting the object as an instance of ' Required Element Deviation'.Returns the result of interpreting the object as an instance of ' Service Specification'.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 T
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
Field Details
-
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
CallscaseXXX
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
CallscaseXXX
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
CallscaseXXX
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-