Module jonix.common

Enum Class TitleTypes

java.lang.Object
java.lang.Enum<TitleTypes>
com.tectonica.jonix.common.codelist.TitleTypes
All Implemented Interfaces:
OnixCodelist, Serializable, Comparable<TitleTypes>, Constable

public enum TitleTypes extends Enum<TitleTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 15

Description: Title type

See Also:
  • Enum Constant Details

    • Undefined

      public static final TitleTypes Undefined
    • Distinctive_title_book

      public static final TitleTypes Distinctive_title_book
      The full text of the distinctive title of the item, without abbreviation or abridgement. For books, generally taken from the title page (see codes 11-14 where an alternative title is provided on cover or spine). Where the item is an omnibus edition containing two or more works by the same author, and there is no separate combined title, a distinctive title may be constructed (by the sender) by concatenating the individual titles, with suitable punctuation, as in 'Pride and prejudice / Sense and sensibility / Northanger Abbey'. Where the title alone is not distinctive, recipients may add elements may be taken from a set or series collection title and part number etc to create a distinctive title - but these elements should be provided separately by the sender
    • ISSN_key_title_of_serial

      public static final TitleTypes ISSN_key_title_of_serial
      Serials only
    • Title_in_original_language

      public static final TitleTypes Title_in_original_language
      Where the subject of the ONIX record is a translated item
    • Title_acronym_or_initialism

      public static final TitleTypes Title_acronym_or_initialism
      For serials: an acronym or initialism of Title Type 01, eg 'JAMA', 'JACM'
    • Abbreviated_title

      public static final TitleTypes Abbreviated_title
      An abbreviated form of Title Type 01
    • Title_in_other_language

      public static final TitleTypes Title_in_other_language
      A translation of Title Type 01 or 03, or an independent title, used when the work is translated into another language, sometimes termed a 'parallel title'
    • Thematic_title_of_journal_issue

      public static final TitleTypes Thematic_title_of_journal_issue
      Serials only: when a journal issue is explicitly devoted to a specified topic
    • Former_title

      public static final TitleTypes Former_title
      Books or serials: when an item was previously published under another title
    • Distributors_title

      public static final TitleTypes Distributors_title
      For books: the title carried in a book distributor's title file: frequently incomplete, and may include elements not properly part of the title
    • Alternative_title_on_cover

      public static final TitleTypes Alternative_title_on_cover
      An alternative title that appears on the cover of a book
    • Alternative_title_on_back

      public static final TitleTypes Alternative_title_on_back
      An alternative title that appears on the back of a book
    • Expanded_title

      public static final TitleTypes Expanded_title
      An expanded form of the title, eg the title of a school text book with grade and type and other details added to make the title meaningful, where otherwise it would comprise only the curriculum subject. This title type is required for submissions to the Spanish ISBN Agency
    • Alternative_title

      public static final TitleTypes Alternative_title
      An alternative title that the book is widely known by, whether it appears on the book or not (including a title used in another market - but see code 06 for translations)
    • Alternative_title_on_spine

      public static final TitleTypes Alternative_title_on_spine
      An alternative title that appears on the spine of a book. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static TitleTypes[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TitleTypes valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static TitleTypes byCode(String code)
    • byCodeOptional

      public static Optional<TitleTypes> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)