Module jonix.onix3

Class MessageNumber

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

public class MessageNumber extends Object implements OnixElement<Integer>, Serializable

Message sequence number

A monotonic sequence number of the messages in a series sent between trading partners, to enable the receiver to check against gaps and duplicates. Optional and non-repeating.

Format Positive integer, suggested maximum length 8 digits
Reference name <MessageNumber>
Short tag <m180>
Cardinality 0…1
Example <m180>1234</m180>

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 Integer value
      This is the raw content of MessageNumber. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Positive integer, suggested maximum length 8 digits

      (type: dt.PositiveInteger)

    • EMPTY

      public static final MessageNumber EMPTY
  • Constructor Details

    • MessageNumber

      public MessageNumber()
    • MessageNumber

      public MessageNumber(Element element)
  • Method Details