Class QualityModelSwitch
java.lang.Object
org.palladiosimulator.qualitymodel.util.QualityModelSwitch
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 TypeMethodDescriptioncaseEntity
(org.palladiosimulator.pcm.core.entity.Entity object) Returns the result of interpreting the object as an instance of 'Entity'.caseIdentifier
(de.uka.ipd.sdq.identifier.Identifier object) Returns the result of interpreting the object as an instance of 'Identifier'.caseMapping
(Mapping object) Returns the result of interpreting the object as an instance of 'Mapping'.caseMappingEntry
(MappingEntry object) Returns the result of interpreting the object as an instance of 'Mapping Entry'.Returns the result of interpreting the object as an instance of 'Mapping Repository'.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 'Nqr'.caseNqrRepository
(NqrRepository object) Returns the result of interpreting the object as an instance of 'Nqr Repository'.Returns the result of interpreting the object as an instance of 'Quantity Reduction'.caseReasoning
(Reasoning object) Returns the result of interpreting the object as an instance of 'Reasoning'.Returns the result of interpreting the object as an instance of 'Reasoning Component'.Returns the result of interpreting the object as an instance of 'Reasoning Repository'.caseReasoningSystem
(ReasoningSystem object) Returns the result of interpreting the object as an instance of 'Reasoning System'.caseReduction
(Reduction object) Returns the result of interpreting the object as an instance of 'Reduction'.Returns the result of interpreting the object as an instance of 'Statistic Reduction'.caseTransformation
(Transformation object) Returns the result of interpreting the object as an instance of 'Transformation'.Returns the result of interpreting the object as an instance of 'Transformation Repository'.defaultCase
(EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected Object
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected Object
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
-
QualityModelSwitch
public QualityModelSwitch()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.
-
caseNqr
Returns the result of interpreting the object as an instance of 'Nqr'. 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 'Nqr'.
- See Also:
- Generated class or method.
-
caseMapping
Returns the result of interpreting the object as an instance of 'Mapping'. 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 'Mapping'.
- See Also:
- Generated class or method.
-
caseTransformation
Returns the result of interpreting the object as an instance of 'Transformation'. 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 'Transformation'.
- See Also:
- Generated class or method.
-
caseReasoning
Returns the result of interpreting the object as an instance of 'Reasoning'. 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 'Reasoning'.
- See Also:
- Generated class or method.
-
caseReduction
Returns the result of interpreting the object as an instance of 'Reduction'. 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 'Reduction'.
- See Also:
- Generated class or method.
-
caseQuantityReduction
Returns the result of interpreting the object as an instance of 'Quantity Reduction'. 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 'Quantity Reduction'.
- See Also:
- Generated class or method.
-
caseStatisticReduction
Returns the result of interpreting the object as an instance of 'Statistic Reduction'. 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 'Statistic Reduction'.
- See Also:
- Generated class or method.
-
caseMappingRepository
Returns the result of interpreting the object as an instance of 'Mapping Repository'. 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 'Mapping Repository'.
- See Also:
- Generated class or method.
-
caseMappingEntry
Returns the result of interpreting the object as an instance of 'Mapping Entry'. 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 'Mapping Entry'.
- See Also:
- Generated class or method.
-
caseTransformationRepository
Returns the result of interpreting the object as an instance of 'Transformation Repository'. 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 'Transformation Repository'.
- See Also:
- Generated class or method.
-
caseReasoningRepository
Returns the result of interpreting the object as an instance of 'Reasoning Repository'. 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 'Reasoning Repository'.
- See Also:
- Generated class or method.
-
caseNqrRepository
Returns the result of interpreting the object as an instance of 'Nqr Repository'. 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 'Nqr Repository'.
- See Also:
- Generated class or method.
-
caseReasoningComponent
Returns the result of interpreting the object as an instance of 'Reasoning Component'. 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 'Reasoning Component'.
- See Also:
- Generated class or method.
-
caseReasoningSystem
Returns the result of interpreting the object as an instance of 'Reasoning System'. 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 'Reasoning System'.
- 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.- 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.
-