Class ValidationPrecisionToMaximumLongValue
java.lang.Object
org.palladiosimulator.analyzer.quality.qualityannotation.util.QualityAnnotationSwitch<Long>
org.palladiosimulator.analyzer.accuracy.transformation.ValidationPrecisionToMaximumLongValue
Provides the maximum long value for a given absolute long value and validation precision.
-
Field Summary
Fields inherited from class org.palladiosimulator.analyzer.quality.qualityannotation.util.QualityAnnotationSwitch
modelPackage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of ' Exactly As Specified Precision'.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'.void
setAbsoluteValue
(Long absoluteValue) Sets the absolute value.Methods inherited from class org.palladiosimulator.analyzer.quality.qualityannotation.util.QualityAnnotationSwitch
caseCharacterisedPCMParameterPartition, caseCharacterisedPCMParameterPartitionInterval, caseCharacterisedPCMParameterPartitionRange, caseIdentifier, caseInternalStateInfluenceAnalysisAggregation, caseParameterPartition, caseParameterValueDeviation, casePCMParameterPartition, casePCMPE, casePCMPEAllDecisions, casePCMPEDecision, casePCMRE, casePCMRECategory, casePCMRECIBehavior, casePCMREInfrastructureInterface, casePCMREInfrastructureRole, casePCMREInfrastructureSignature, casePCMREInterface, casePCMREResource, casePCMREResourceInterface, casePCMREResourceRole, casePCMREResourceSignature, casePCMRERole, casePCMRESignature, casePCMServiceSpecification, casePrecision, caseProbabilisticElement, caseQualityAnnotation, caseQualityStatement, caseREPrecision, caseRequiredElement, caseRequiredElementDeviation, caseServiceSpecification, defaultCase, doSwitch, doSwitch, doSwitch
-
Constructor Details
-
ValidationPrecisionToMaximumLongValue
public ValidationPrecisionToMaximumLongValue()
-
-
Method Details
-
setAbsoluteValue
Sets the absolute value. Value must be set prior to callingQualityAnnotationSwitch.doSwitch(org.eclipse.emf.ecore.EObject)
. Value is reset after an invocation ofQualityAnnotationSwitch.doSwitch(org.eclipse.emf.ecore.EObject)
.- Parameters:
absoluteValue
- Absolute value.
-
caseNoPrecision
Description copied from class:QualityAnnotationSwitch
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.- Overrides:
caseNoPrecision
in classQualityAnnotationSwitch<Long>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'No Precision'.
- See Also:
-
caseExactlyAsSpecifiedPrecision
Description copied from class:QualityAnnotationSwitch
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.- Overrides:
caseExactlyAsSpecifiedPrecision
in classQualityAnnotationSwitch<Long>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of ' Exactly As Specified Precision'.
- See Also:
-
caseLimitedDeviationPrecision
Description copied from class:QualityAnnotationSwitch
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.- Overrides:
caseLimitedDeviationPrecision
in classQualityAnnotationSwitch<Long>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of ' Limited Deviation Precision'.
- See Also:
-