Module jonix.onix2

Class CopyrightStatement

java.lang.Object
com.tectonica.jonix.onix2.CopyrightStatement
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixSuperComposite, OnixTag, Serializable

public class CopyrightStatement extends Object implements OnixComposite.OnixSuperComposite, Serializable

Copyright statement composite

An optional and repeatable group of data elements which together represent a structured copyright statement for the product. Either a structured copyright statement or statements, or a copyright year in the separate <CopyrightYear> element which follows the composite, but not both, may be sent.

Reference name <CopyrightStatement>
Short tag <copyrightstatement>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-2.1
See Also:
  • Field Details

  • Constructor Details

    • CopyrightStatement

      public CopyrightStatement()
    • CopyrightStatement

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

      public void ifExists(Consumer<CopyrightStatement> 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
    • copyrightYears

      public ListOfOnixElement<CopyrightYear,String> copyrightYears()

      The copyright year as it appears in a copyright statement on the product. Mandatory in each occurrence of the <CopyrightStatement> composite, and repeatable if several years are listed.

      Jonix-Comment: this list is required to contain at least one item
    • copyrightOwners

      public ListOfOnixComposite<CopyrightOwner> copyrightOwners()

      A repeatable group of data elements which together name a copyright owner. At least one occurrence is mandatory in each occurrence of the <CopyrightStatement> composite. Each occurrence of the <CopyrightOwner> composite must carry a single name (personal or corporate), or an identifier, or both.

      Jonix-Comment: this list is required to contain at least one item