Module jonix.onix2

Class SeriesIdentifier

java.lang.Object
com.tectonica.jonix.onix2.SeriesIdentifier
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixDataComposite<JonixSeriesIdentifier>, OnixComposite.OnixDataCompositeWithKey<JonixSeriesIdentifier,CollectionIdentifierTypes>, OnixTag, Serializable

Series identifier composite

A repeatable group of data elements which together define an identifier of a series or subseries. The composite is optional, and may only repeat if two or more identifiers of different types are sent. It is not permissible to have two identifiers of the same type.

Reference name <SeriesIdentifier>
Short tag <seriesidentifier>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • SeriesIdentifier

      public SeriesIdentifier()
    • SeriesIdentifier

      public SeriesIdentifier(Element element)
  • Method Details

    • _initialize

      public void _initialize()
      Description copied from interface: OnixComposite
      This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites
      Specified by:
      _initialize in interface OnixComposite
    • exists

      public boolean exists()
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<SeriesIdentifier> or <seriesidentifier>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<SeriesIdentifier> action)
    • getXmlElement

      public Element getXmlElement()
      Description copied from interface: OnixComposite
      For advanced use-cases only.
      Specified by:
      getXmlElement in interface OnixComposite
      Returns:
      native representation of the XML element underlying to this tag
    • seriesIDType

      public SeriesIDType seriesIDType()

      An ONIX code identifying the scheme from which the identifier in the <IDValue> element is taken. Mandatory in each occurrence of the <SeriesIdentifier> composite, and non-repeating.

      Jonix-Comment: this field is required
    • idValue

      public IDValue idValue()

      An identifier of the type specified in the <SeriesIDType> field. Mandatory in each occurrence of the <SeriesIdentifier> composite, and non-repeating.

      Jonix-Comment: this field is required
    • idTypeName

      public IDTypeName idTypeName()

      A name which identifies a proprietary identifier scheme when, and only when, the code in the <SeriesIDType> field indicates a proprietary scheme, eg a publisher’s own code. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • asStruct

      public JonixSeriesIdentifier asStruct()
      Specified by:
      asStruct in interface OnixComposite.OnixDataComposite<JonixSeriesIdentifier>
    • structKey

      public CollectionIdentifierTypes structKey()
      Specified by:
      structKey in interface OnixComposite.OnixDataCompositeWithKey<JonixSeriesIdentifier,CollectionIdentifierTypes>