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 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:
QualityAnnotationPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static QualityAnnotationPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description QualityAnnotationSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseCharacterisedPCMParameterPartition(CharacterisedPCMParameterPartition object)
Returns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition'.T
caseCharacterisedPCMParameterPartitionInterval(CharacterisedPCMParameterPartitionInterval object)
Returns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition Interval'.T
caseCharacterisedPCMParameterPartitionRange(CharacterisedPCMParameterPartitionRange object)
Returns the result of interpreting the object as an instance of ' Characterised PCM Parameter Partition Range'.T
caseExactlyAsSpecifiedPrecision(ExactlyAsSpecifiedPrecision object)
Returns the result of interpreting the object as an instance of ' Exactly As Specified Precision'.T
caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.T
caseInternalStateInfluenceAnalysisAggregation(InternalStateInfluenceAnalysisAggregation object)
Returns the result of interpreting the object as an instance of ' Internal State Influence Analysis Aggregation'.T
caseLimitedDeviationPrecision(LimitedDeviationPrecision object)
Returns the result of interpreting the object as an instance of ' Limited Deviation Precision'.T
caseNoPrecision(NoPrecision object)
Returns the result of interpreting the object as an instance of 'No Precision'.T
caseParameterPartition(ParameterPartition object)
Returns the result of interpreting the object as an instance of 'Parameter Partition '.T
caseParameterValueDeviation(ParameterValueDeviation object)
Returns the result of interpreting the object as an instance of ' Parameter Value Deviation'.T
casePCMParameterPartition(PCMParameterPartition object)
Returns the result of interpreting the object as an instance of ' PCM Parameter Partition'.T
casePCMPE(PCMPE object)
Returns the result of interpreting the object as an instance of 'PCMPE'.T
casePCMPEAllDecisions(PCMPEAllDecisions object)
Returns the result of interpreting the object as an instance of 'PCMPE All Decisions '.T
casePCMPEDecision(PCMPEDecision object)
Returns the result of interpreting the object as an instance of 'PCMPE Decision'.T
casePCMRE(PCMRE object)
Returns the result of interpreting the object as an instance of 'PCMRE'.T
casePCMRECategory(PCMRECategory object)
Returns the result of interpreting the object as an instance of 'PCMRE Category'.T
casePCMRECIBehavior(PCMRECIBehavior object)
Returns the result of interpreting the object as an instance of 'PCMRECI Behavior'.T
casePCMREInfrastructureInterface(PCMREInfrastructureInterface object)
Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Interface'.T
casePCMREInfrastructureRole(PCMREInfrastructureRole object)
Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Role'.T
casePCMREInfrastructureSignature(PCMREInfrastructureSignature object)
Returns the result of interpreting the object as an instance of ' PCMRE Infrastructure Signature'.T
casePCMREInterface(PCMREInterface object)
Returns the result of interpreting the object as an instance of 'PCMRE Interface'.T
casePCMREResource(PCMREResource object)
Returns the result of interpreting the object as an instance of 'PCMRE Resource'.T
casePCMREResourceInterface(PCMREResourceInterface object)
Returns the result of interpreting the object as an instance of ' PCMRE Resource Interface'.T
casePCMREResourceRole(PCMREResourceRole object)
Returns the result of interpreting the object as an instance of 'PCMRE Resource Role '.T
casePCMREResourceSignature(PCMREResourceSignature object)
Returns the result of interpreting the object as an instance of ' PCMRE Resource Signature'.T
casePCMRERole(PCMRERole object)
Returns the result of interpreting the object as an instance of 'PCMRE Role'.T
casePCMRESignature(PCMRESignature object)
Returns the result of interpreting the object as an instance of 'PCMRE Signature'.T
casePCMServiceSpecification(PCMServiceSpecification object)
Returns the result of interpreting the object as an instance of ' PCM Service Specification'.T
casePrecision(Precision object)
Returns the result of interpreting the object as an instance of 'Precision'.T
caseProbabilisticElement(ProbabilisticElement object)
Returns the result of interpreting the object as an instance of ' Probabilistic Element'.T
caseQualityAnnotation(QualityAnnotation object)
Returns the result of interpreting the object as an instance of 'Quality Annotation '.T
caseQualityStatement(QualityStatement object)
Returns the result of interpreting the object as an instance of 'Statement'.T
caseREPrecision(REPrecision object)
Returns the result of interpreting the object as an instance of 'RE Precision'.T
caseRequiredElement(RequiredElement object)
Returns the result of interpreting the object as an instance of 'Required Element'.T
caseRequiredElementDeviation(RequiredElementDeviation object)
Returns the result of interpreting the object as an instance of ' Required Element Deviation'.T
caseServiceSpecification(ServiceSpecification object)
Returns the result of interpreting the object as an instance of ' Service Specification'.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 T
doSwitch(EClass theEClass, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.T
doSwitch(EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
-
-
Field Detail
-
modelPackage
protected static QualityAnnotationPackage modelPackage
The cached model package- Generated class or method.
-
-
Method Detail
-
doSwitch
public T doSwitch(EObject theEObject)
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
protected T doSwitch(EClass theEClass, EObject theEObject)
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
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.- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- 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:
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.
-
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:
doSwitch(EObject)
- 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:
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.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
doSwitch(org.eclipse.emf.ecore.EObject)
- Generated class or method.
-
-