- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Collection sequence number
A number which specifies the ordinal position of the product in a collection. The ordinal position may be a simple number (1st, 2nd, 3rd etc) or may be multi-level (eg 3.2) if the collection has a multi-level structure (ie there are both collection and sub-collection title elements). Mandatory and non-repeating within the <CollectionSequence> composite.
New from 3.0.4 A hyphen may be used in place of an integer within a multi-level number, where a particular level of the hierarchy is unnumbered, for example -.3 where a product is the third in a sub-collection, and the sub-collections are in no particular order within the collection.
Format | Variable length string of one or more positive integers or hyphens, each successive integer or hyphen being separated by a period character, suggested maximum length 50 characters |
Reference name | <CollectionSequenceNumber> |
Short tag | <x481> |
Cardinality | 1 |
Example | <CollectionSequenceNumber>2.4</CollectionSequenceNumber> |
- Since:
- Onix-3.01
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final CollectionSequenceNumber
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of CollectionSequenceNumber. -
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<CollectionSequenceNumber> 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 CollectionSequenceNumber. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable length string of one or more positive integers or hyphens, each successive integer or hyphen being separated by a period character, suggested maximum length 50 characters
(type: dt.MultiLevelNumberOrHyphen)
-
EMPTY
-
-
Constructor Details
-
CollectionSequenceNumber
public CollectionSequenceNumber() -
CollectionSequenceNumber
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-