Module jonix.common

Enum Class OtherTextTypes

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

public enum OtherTextTypes extends Enum<OtherTextTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 33

Description: Other text type code

Jonix-Comment: Deprecated in Onix3

See Also:
  • Enum Constant Details

    • Main_description

      public static final OtherTextTypes Main_description
    • Short_description_annotation

      public static final OtherTextTypes Short_description_annotation
      Limited to a maximum of 350 characters
    • Long_description

      public static final OtherTextTypes Long_description
    • Table_of_contents

      public static final OtherTextTypes Table_of_contents
      Used for a table of contents sent as a single text field, which may or may not carry structure expressed through HTML etc. Alternatively, a fully structured table of contents may be sent by using the <ContentItem> composite
    • Review_quote_restricted_length

      public static final OtherTextTypes Review_quote_restricted_length
      A review quote that is restricted to a maximum length agreed between the sender and receiver of an ONIX file
    • Quote_from_review_of_previous_edition

      public static final OtherTextTypes Quote_from_review_of_previous_edition
      A review quote taken from a review of a previous edition of the work
    • Review_text

      public static final OtherTextTypes Review_text
      Full text of a review of the product
    • Review_quote

      public static final OtherTextTypes Review_quote
      A quote from a review of the product
    • Promotional_headline

      public static final OtherTextTypes Promotional_headline
      A promotional phrase which is intended to headline a description of the product
    • Previous_review_quote

      public static final OtherTextTypes Previous_review_quote
      A quote from a review of a previous work by the same author(s) or in the same series
    • Author_comments

      public static final OtherTextTypes Author_comments
      May be part of Reading Group Guide material: for other commentary, see code 42
    • Description_for_reader

      public static final OtherTextTypes Description_for_reader
    • Biographical_note

      public static final OtherTextTypes Biographical_note
      A note referring to all contributors to a product - NOT linked to a single contributor
    • Description_for_Reading_Group_Guide

      public static final OtherTextTypes Description_for_Reading_Group_Guide
      For linking to a complete Reading Group Guide, see code 41
    • Discussion_question_for_Reading_Group_Guide

      public static final OtherTextTypes Discussion_question_for_Reading_Group_Guide
      Each instance must carry a single question: for linking to a complete Reading Group Guide, see code 41
    • Competing_titles

      public static final OtherTextTypes Competing_titles
      Free text listing of other titles with which the product is in competition: although this text might not appear in 'public' ONIX records, it could be required where ONIX Is used as a communication format within a group of publishing and distribution companies
    • Flap_copy

      public static final OtherTextTypes Flap_copy
    • Back_cover_copy

      public static final OtherTextTypes Back_cover_copy
    • Feature

      public static final OtherTextTypes Feature
      Text describing a feature of a product to which the publisher wishes to draw attention for promotional purposes. Each separate feature should be described by a separate repeat, so that formatting can be applied at the discretion of the receiver of the ONIX record
    • New_feature

      public static final OtherTextTypes New_feature
      As code 19, but used for a feature which is new in a new edition of the product
    • Publishers_notice

      public static final OtherTextTypes Publishers_notice
      A statement included by a publisher in fulfillment of its contractual obligations, such as a disclaimer, sponsor statement, or legal notice of any sort. Note that the inclusion of such a notice cannot and does not imply that a user of the ONIX record is obliged to reproduce it
    • Index

      public static final OtherTextTypes Index
    • Excerpt_from_book

      public static final OtherTextTypes Excerpt_from_book
    • First_chapter

      public static final OtherTextTypes First_chapter
    • Description_for_sales_people

      public static final OtherTextTypes Description_for_sales_people
    • Description_for_press_or_other_media

      public static final OtherTextTypes Description_for_press_or_other_media
    • Description_for_subsidiary_rights_department

      public static final OtherTextTypes Description_for_subsidiary_rights_department
    • Description_for_teachers_educators

      public static final OtherTextTypes Description_for_teachers_educators
    • Unpublished_endorsement

      public static final OtherTextTypes Unpublished_endorsement
      A quote usually provided by a celebrity to promote a new book, not from a review
    • Description_for_bookstore

      public static final OtherTextTypes Description_for_bookstore
    • Description_for_library

      public static final OtherTextTypes Description_for_library
    • Introduction_or_preface

      public static final OtherTextTypes Introduction_or_preface
    • Full_text

      public static final OtherTextTypes Full_text
    • Promotional_text

      public static final OtherTextTypes Promotional_text
      Promotional text not covered elsewhere
    • Author_interview_QandA

      public static final OtherTextTypes Author_interview_QandA
    • Reading_Group_Guide

      public static final OtherTextTypes Reading_Group_Guide
      Complete guide: see also codes 14 and 15
    • Commentary_discussion

      public static final OtherTextTypes Commentary_discussion
      Other than author comments: see code 11
    • Short_description_for_series_or_set

      public static final OtherTextTypes Short_description_for_series_or_set
      (of which the product is a part.) Limited to a maximum of 350 characters
    • Long_description_for_series_or_set

      public static final OtherTextTypes Long_description_for_series_or_set
      (of which the product is a part)
    • Contributor_event_schedule

      public static final OtherTextTypes Contributor_event_schedule
      Link to a schedule in iCalendar format
    • License

      public static final OtherTextTypes License
      Link to a license covering permitted usage of the product content
    • Open_access_statement

      public static final OtherTextTypes Open_access_statement
      Short summary statement of open access status and any related conditions (eg 'Open access - no commercial use'), primarily for marketing purposes. Should always be accompanied by a link to the complete license (see code 46)
    • Digital_exclusivity_statement

      public static final OtherTextTypes Digital_exclusivity_statement
      Short summary statement that the product is available only in digital formats (eg 'Digital exclusive'). If a non-digital version is planned, an <EndDate> should be used to specify the date when exclusivity will end. If a non-digital version is available, the statement should not be included
    • Official_recommendation

      public static final OtherTextTypes Official_recommendation
      For example a recommendation or approval provided by a ministry of education or other official body. Use <Text> to provide details and <TextSourceCorporate> to name the approver
    • Master_brand_name

      public static final OtherTextTypes Master_brand_name
      A master brand name or title, where the use of the brand spans multiple sets, series and product forms, and possibly multiple imprints and publishers. Used only for branded media properties carrying, for example, a children's character brand. (This functionality is provided as a workaround in ONIX 2.1 only. ONIX 3.0 has specific provision for master brands as title elements
    • Country_of_final_manufacture

      public static final OtherTextTypes Country_of_final_manufacture
      A single ISO 3166-1 country code from List 91 designating the country of final manufacture of the product. (This functionality is provided as a workaround in ONIX 2.1. ONIX 3.0 has specific provision for country of manufacture as a separate element)
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)