Module jonix.onix3

Class LevelSequenceNumber

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

public class LevelSequenceNumber extends Object implements OnixElement<String>, 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>

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

      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

      public static final LevelSequenceNumber EMPTY
  • Constructor Details

    • LevelSequenceNumber

      public LevelSequenceNumber()
    • LevelSequenceNumber

      public LevelSequenceNumber(Element element)
  • Method Details