Module jonix.onix3

Class CopyrightStatement

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

public class CopyrightStatement extends Object implements OnixComposite.OnixSuperComposite, Serializable

Copyright statement composite (content item)

An optional and repeatable group of data elements which together represent a copyright or neighboring right statement for the content item. At least one <CopyrightYear> or one instance of the <CopyrightOwner> composite must be sent within an instance of the composite, but it is recommended that all elements in the composite are explicitly populated. The Copyright statement may be repeated to provide a full structured rights statement listing year(s) and rights holder(s).

Reference name <CopyrightStatement>
Short tag <copyrightstatement>
Cardinality 0…n

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.10
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. Optional in each occurrence of the <CopyrightStatement> composite but may be omitted only if <CopyrightOwner> is present, and repeatable if several years or periods are listed.

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

      public CopyrightType copyrightType()

      An optional ONIX code indicating the type of right covered by the statement, typically a copyright or neighboring right. If omitted, the default is that the statement represents a copyright.

      Jonix-Comment: this field is optional
    • copyrightOwners

      public ListOfOnixComposite<CopyrightOwner> copyrightOwners()

      A repeatable group of data elements which together name a copyright owner. Optional, but may be omitted only if <CopyrightYear> is present. Each occurrence of the <CopyrightOwner> composite must carry a single name (personal or corporate), or an identifier, or both.

      Jonix-Comment: this list may be empty