Class ValidationPrecisionToMinimumLongValue
java.lang.Object
org.palladiosimulator.analyzer.quality.qualityannotation.util.QualityAnnotationSwitch<Long>
org.palladiosimulator.analyzer.accuracy.transformation.ValidationPrecisionToMinimumLongValue
Provides the minimum 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
Constructors -
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'.voidsetAbsoluteValue(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
-
ValidationPrecisionToMinimumLongValue
public ValidationPrecisionToMinimumLongValue()
-
-
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:QualityAnnotationSwitchReturns 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:
caseNoPrecisionin 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:QualityAnnotationSwitchReturns 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:
caseExactlyAsSpecifiedPrecisionin 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:QualityAnnotationSwitchReturns 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:
caseLimitedDeviationPrecisionin 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:
-