Module jonix.onix3

Class SequenceNumber

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

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

Title element sequence number

A number which specifies a single overall sequence of title elements, which is the preferred order for display of the various title elements when constructing a complete title. Optional and non-repeating. It is strongly recommended that each occurrence of the <TitleElement> composite should carry a <SequenceNumber>.

Format Positive integer, 1, 2, 3 etc, suggested maximum length 3 digits
Reference name <SequenceNumber>
Short tag <b034>
Cardinality 0…1
Example <b034>2</b034>

Technical notes about <SequenceNumber> from the schema author: Ordinal number, eg of a contributor, indicating the required order (which may be different from the order of occurrence in the ONIX XML file itself) This tag may be included in the following composites:

Possible placements within ONIX message:
Since:
Onix-3.01
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 SequenceNumber. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Positive integer, 1, 2, 3 etc, suggested maximum length 3 digits

      (type: dt.PositiveInteger)

    • EMPTY

      public static final SequenceNumber EMPTY
  • Constructor Details

    • SequenceNumber

      public SequenceNumber()
    • SequenceNumber

      public SequenceNumber(Element element)
  • Method Details