Class XTCEValidRange


  • public class XTCEValidRange
    extends Object
    This class provides a simple accessor to the ValidRange element on an XTCEParameter or XTCEArgument while abstracting the user away from the type differences.
    Author:
    David Overeem
    • Method Detail

      • isValidRangeApplied

        public final boolean isValidRangeApplied()
        Retrieve the flag indicating if there is currently a ValidRange element applied to the type represented in this object.
        Returns:
        boolean indicating if a ValidRange was processed.
      • getLowValue

        public final String getLowValue()
        Retrieve the low valid valid in the allowable range.
        Returns:
        String containing the value.
      • getHighValue

        public final String getHighValue()
        Retrieve the high valid valid in the allowable range.
        Returns:
        String containing the value.
      • isLowValueInclusive

        public final boolean isLowValueInclusive()
        Retrieve the flag indicating if the low value should be applied as inclusive or exclusive.
        Returns:
        boolean indicating if the low value is inclusive.
      • isHighValueInclusive

        public final boolean isHighValueInclusive()
        Retrieve the flag indicating if the high value should be applied as inclusive or exclusive.
        Returns:
        boolean indicating if the high value is inclusive.
      • isLowValueCalibrated

        public final boolean isLowValueCalibrated()
        Retrieve the flag indicating if the low value should be applied to the calibrated or the raw value.
        Returns:
        boolean indicating if the value should be applied to the calibrated form.
      • isHighValueCalibrated

        public final boolean isHighValueCalibrated()
        Retrieve the flag indicating if the high value should be applied to the calibrated or the raw value.
        Returns:
        boolean indicating if the value should be applied to the calibrated form.