Module jonix.onix3

Class Measurement

java.lang.Object
com.tectonica.jonix.onix3.Measurement
All Implemented Interfaces:
OnixElement<Double>, OnixTag, Serializable

public class Measurement extends Object implements OnixElement<Double>, Serializable

Measurement

The number which represents the dimension specified in <MeasureType> in the measure units specified in <MeasureUnitCode>. Mandatory in each occurrence of the <Measure> composite, and non-repeating.

Format Positive real number, with explicit decimal point when required, suggested maximum length 6 characters
Reference name <Measurement>
Short tag <c094>
Cardinality 1
Example <c094>8.25</c094>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

      public Double value
      This is the raw content of Measurement. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

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

      (type: dt.PositiveDecimal)

    • EMPTY

      public static final Measurement EMPTY
  • Constructor Details

    • Measurement

      public Measurement()
    • Measurement

      public Measurement(Element element)
  • Method Details