Module jonix.common

Class JonixMeasure

java.lang.Object
com.tectonica.jonix.common.struct.JonixMeasure
All Implemented Interfaces:
JonixKeyedStruct<MeasureTypes>, JonixStruct, Serializable

public class JonixMeasure extends Object implements JonixKeyedStruct<MeasureTypes>, Serializable
This class is a JonixStruct that represents both Onix2 <Measure> and Onix3 <Measure>.

It can be retrieved from the composite by invoking its asStruct() method.

See Also:
  • Field Details

    • EMPTY

      public static final JonixMeasure EMPTY
    • measureType

      public MeasureTypes measureType
      the key of this struct (by which it can be looked up)
    • measureUnitCode

      public MeasureUnits measureUnitCode
    • measurement

      public Double measurement
      Raw Format: Positive real number, with explicit decimal point when required, suggested maximum length 6 characters

      (type: dt.PositiveDecimal)

  • Constructor Details

    • JonixMeasure

      public JonixMeasure()
  • Method Details