Class DynamicIntegerValue

  • All Implemented Interfaces:
    Serializable

    public class DynamicIntegerValue
    extends IntegerValue
    Uses a parameter instance to obtain the value.

    Note that this explicitly supports only integer values (whereas XTCE supports also doubles)

    See Also:
    Serialized Form
    • Method Detail

      • getIntercept

        public long getIntercept()
      • setIntercept

        public void setIntercept​(long intercept)
      • getSlope

        public long getSlope()
      • setSlope

        public void setSlope​(long slope)
      • transform

        public long transform​(long v)
        Transform the value with the intercept and slope.
        Throws:
        ArithmeticException - if the result overflows a long