Module jonix.onix2

Class Illustrations

java.lang.Object
com.tectonica.jonix.onix2.Illustrations
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixDataComposite<JonixIllustrations>, OnixComposite.OnixDataCompositeWithKey<JonixIllustrations,IllustrationAndOtherContentTypes>, OnixTag, Serializable

Illustrations and other content composite

A repeatable group of data elements which together specify the number of illustrations or other content items of a stated type which the product carries. Use of the <Illustrations> composite is optional.

Reference name <Illustrations>
Short tag <illustrations>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • Illustrations

      public Illustrations()
    • Illustrations

      public Illustrations(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 (<Illustrations> or <illustrations>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<Illustrations> 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
    • illustrationType

      public IllustrationType illustrationType()

      An ONIX code which identifies the type of illustration or other content to which an occurrence of the composite refers. Mandatory in each occurrence of the <Illustrations> composite, and non-repeating.

      Jonix-Comment: this field is required
    • illustrationTypeDescription

      public IllustrationTypeDescription illustrationTypeDescription()

      Text describing the type of illustration or other content to which an occurrence of the composite refers, when a code is insufficient. Optional and non-repeating. Required when <IllustrationType> carries the value 00.

      Jonix-Comment: this field is optional
    • number

      public Number number()

      The number of illustrations or other content items of the type specified in <IllustrationType>. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • asStruct

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

      Specified by:
      structKey in interface OnixComposite.OnixDataCompositeWithKey<JonixIllustrations,IllustrationAndOtherContentTypes>