Module jonix.onix3

Class CopyrightYear

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

public class CopyrightYear extends Object implements OnixElement<String>, Serializable

Copyright year

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.

Format As specified by the value in the dateformat attribute, or the default of YYYY if the attribute is missing)
Reference name <CopyrightYear>
Short tag <b087>
Cardinality 0…n
Attributes dateformat
Example <b087 dateformat="11">20032008</b087> (2003-2008)

This tag may be included in the following composites:

Possible placements within ONIX message:

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
    • dateformat

      public DateFormats dateformat
    • value

      public String value
      This is the raw content of CopyrightYear. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: As specified by the value in the dateformat attribute, or the default of YYYY if the attribute is missing)

      (type: dt.NonEmptyString)

    • EMPTY

      public static final CopyrightYear EMPTY
  • Constructor Details

    • CopyrightYear

      public CopyrightYear()
    • CopyrightYear

      public CopyrightYear(Element element)
  • Method Details