- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Level sequence number
A number which specifies the position of a content item in a multi-level hierarchy of such items. Numbering starts at the top level in the hierarchy, which may represent (eg) chapters in a printed book, and the first item at the top level is numbered 1. Numbers should be assigned solely with a view to the logic of the ONIX description and not in relation to any other characteristics of the items being numbered (such as their actual numbering or their typographical layout in a printed table of contents). So for example, Chapter 2 could have a level sequence number of 3, and the second sub-section within Chapter 2 could be numbered 3.2. <LevelSequenceNumber> is not a required field, but it is strongly recommended for structured tables of contents. If used, it must occur once and only once in each occurrence of the <ContentItem> composite.
Format | Variable length string of positive integers, each successive integer being separated by a period character, suggested maximum length 100 characters |
Reference name | <LevelSequenceNumber> |
Short tag | <b284> |
Cardinality | 0…1 |
Example | <LevelSequenceNumber>2.24.1</LevelSequenceNumber> |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final LevelSequenceNumber
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of LevelSequenceNumber. -
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<LevelSequenceNumber> 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 LevelSequenceNumber. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable length string of positive integers, each successive integer being separated by a period character, suggested maximum length 100 characters
(type: dt.MultiLevelNumber)
-
EMPTY
-
-
Constructor Details
-
LevelSequenceNumber
public LevelSequenceNumber() -
LevelSequenceNumber
-
-
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
-