Module jonix.onix3

Class YearOfAnnual

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

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

Year of annual

When the year of an annual is part of a title, this field should be used to carry the year (or, if required, a spread of years such as 2009–2010). Optional and non-repeating.

Format Year or range of years, in the format YYYY or YYYY-YYYY
Reference name <YearOfAnnual>
Short tag <b020>
Cardinality 0…1
Example <b020>2009</b020>

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

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

      Raw Format: Year or range of years, in the format YYYY or YYYY-YYYY

      (type: dt.YearOrYearRange)

    • EMPTY

      public static final YearOfAnnual EMPTY
  • Constructor Details

    • YearOfAnnual

      public YearOfAnnual()
    • YearOfAnnual

      public YearOfAnnual(Element element)
  • Method Details