java.lang.Object
com.tectonica.jonix.onix3.MessageNumber
- All Implemented Interfaces:
OnixElement<Integer>
,OnixTag
,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> |
- <
Header
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final MessageNumber
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of MessageNumber. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<MessageNumber> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
This is the raw content of MessageNumber. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Positive integer, suggested maximum length 8 digits
(type: dt.PositiveInteger)
-
EMPTY
-
-
Constructor Details
-
MessageNumber
public MessageNumber() -
MessageNumber
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Integer>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-