Module jonix.common

Enum Class LanguageRoles

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

public enum LanguageRoles extends Enum<LanguageRoles> implements OnixCodelist
Enum that corresponds to ONIX Codelist 22

Description: Language role

See Also:
  • Enum Constant Details

    • Language_of_text

      public static final LanguageRoles Language_of_text
    • Original_language_of_a_translated_text

      public static final LanguageRoles Original_language_of_a_translated_text
      Where the text in the original language is NOT part of the current product
    • Language_of_abstracts

      public static final LanguageRoles Language_of_abstracts
      Where different from language of text: used mainly for serials
    • Original_language_in_a_multilingual_edition

      public static final LanguageRoles Original_language_in_a_multilingual_edition
      Where the text in the original language is part of a bilingual or multilingual product
    • Translated_language_in_a_multilingual_edition

      public static final LanguageRoles Translated_language_in_a_multilingual_edition
      Where the text in a translated language is part of a bilingual or multilingual product
    • Language_of_audio_track

      public static final LanguageRoles Language_of_audio_track
      For example, on an audiobook or video product. Use for the only available audio track, or where there are multiple tracks (eg on a DVD), for an alternate language audio track that is NOT the original. (In the latter case, use code 11 for the original language audio if it is included in the product, or code 10 to identify an original language that is not present in the product)
    • Language_of_subtitles

      public static final LanguageRoles Language_of_subtitles
      For example, on a DVD
    • Language_of_original_audio_track

      public static final LanguageRoles Language_of_original_audio_track
      Where the audio in the original language is NOT part of the current product
    • Original_language_audio_track_in_a_multilingual_product

      public static final LanguageRoles Original_language_audio_track_in_a_multilingual_product
      Where the audio in the original language is part of a multilingual product with multiple audio tracks
    • Language_of_notes

      public static final LanguageRoles Language_of_notes
      Use for the language of footnotes, endnotes, annotations or commentary, instructions or guidance for use etc, where it is different from the language of the main text
    • Language_of_introduction_end_matter

      public static final LanguageRoles Language_of_introduction_end_matter
      Use for the language of any introductory text, prologue, etc, or epilogue, end matter, etc, where it is different from the language of the main text. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Target_language_of_teaching_learning

      public static final LanguageRoles Target_language_of_teaching_learning
      Eg for the book 'Ingles para latinos', English. For phrasebooks and language teaching, learning or study material. Wherever possible, the language should also be listed as the subject of the book. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Additional_vocabulary_text_in_this_language

      public static final LanguageRoles Additional_vocabulary_text_in_this_language
      Use of significant words, phrases, quotations or short passages from a language other than the main language of the text, as an integral part of the text. This does not include 'loanwords', academic Latin, etc. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Rights_language

      public static final LanguageRoles Rights_language
      Language to which specified rights apply

      Jonix-Comment: Deprecated in Onix3

    • Rights_excluded_language

      public static final LanguageRoles Rights_excluded_language
      Language to which specified rights do not apply

      Jonix-Comment: Deprecated in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static LanguageRoles[] 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 LanguageRoles 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 LanguageRoles byCode(String code)
    • byCodeOptional

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

      public static String codeToDesciption(String code)