Module jonix.common

Enum Class ResourceContentTypes

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

public enum ResourceContentTypes extends Enum<ResourceContentTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 158

Description: Resource content type

See Also:
  • Enum Constant Details

    • Front_cover

      public static final ResourceContentTypes Front_cover
      2D
    • Back_cover

      public static final ResourceContentTypes Back_cover
      2D
    • Cover_pack

      public static final ResourceContentTypes Cover_pack
      Not limited to front or back, including 3D perspective
    • Contributor_picture

      public static final ResourceContentTypes Contributor_picture
      Photograph or portrait of contributor(s)
    • Series_image_artwork

      public static final ResourceContentTypes Series_image_artwork
    • Product_image_artwork

      public static final ResourceContentTypes Product_image_artwork
      For example, an isolated image from the front cover (without text), image of a completed jigsaw
    • Contributor_interview

      public static final ResourceContentTypes Contributor_interview
    • Contributor_presentation

      public static final ResourceContentTypes Contributor_presentation
      Contributor presentation and/or commentary
    • Contributor_reading

      public static final ResourceContentTypes Contributor_reading
    • Contributor_event_schedule

      public static final ResourceContentTypes Contributor_event_schedule
      Link to a schedule in iCalendar format
    • Sample_content

      public static final ResourceContentTypes Sample_content
      For example: a short excerpt, sample text or a complete sample chapter, page images, screenshots etc
    • Widget

      public static final ResourceContentTypes Widget
      A 'look inside' feature presented as a small embeddable application
    • Review

      public static final ResourceContentTypes Review
      Review text held in a separate downloadable file, not in the ONIX record. Equivalent of code 06 in List 153. Use the <TextContent> composite for review quotes carried in the ONIX record. Use the <CitedContent> composite for a third-party review which is referenced from the ONIX record. Use <SupportingResource> for review text offered as a separate file resource for reproduction as part of promotional material for the product
    • Commentary_discussion

      public static final ResourceContentTypes Commentary_discussion
      For example a publisher's podcast episode, social media message, newsletter issue, other commentary
    • Reading_group_guide

      public static final ResourceContentTypes Reading_group_guide
    • Teachers_guide

      public static final ResourceContentTypes Teachers_guide
      Incuding associated teacher / instructor resources
    • Feature_article

      public static final ResourceContentTypes Feature_article
      Feature article provided by publisher
    • Character_interview

      public static final ResourceContentTypes Character_interview
      Fictional character 'interview'
    • Wallpaper_screensaver

      public static final ResourceContentTypes Wallpaper_screensaver
    • Press_release

      public static final ResourceContentTypes Press_release
    • Table_of_contents

      public static final ResourceContentTypes Table_of_contents
      A table of contents held in a separate downloadable file, not in the ONIX record. Equivalent of code 04 in List 153. Use the <TextContent> composite for a table of contents carried in the ONIX record. Use <Supporting Resource> for text offered as a separate file resource
    • Trailer

      public static final ResourceContentTypes Trailer
      A promotional video (or audio), similar to a movie trailer (sometimes referred to as a 'book trailer')
    • Cover_thumbnail

      public static final ResourceContentTypes Cover_thumbnail
      Intended ONLY for transitional use, where ONIX 2.1 records referencing existing thumbnail assets of unknown pixel size are being re-expressed in ONIX 3.0. Use code 01 for all new cover assets, and where the pixel size of older assets is known
    • Full_content

      public static final ResourceContentTypes Full_content
      The full content of the product (or the product itself), supplied for example to support full-text search or indexing
    • Full_cover

      public static final ResourceContentTypes Full_cover
      Includes cover, back cover, spine and - where appropriate - any flaps
    • Description

      public static final ResourceContentTypes Description
      Descriptive text in a separate downloadable file, not in the ONIX record. Equivalent of code 03 in List 153. Use the <TextContent> composite for descriptions carried in the ONIX record. Use <Supporting Resource> for text offered as a separate file resource for reproduction as part of promotional material for the product
    • Index

      public static final ResourceContentTypes Index
      Index text held in a separate downloadable file, not in the ONIX record. Equivalent of code 15 in List 153. Use the <TextContent> composite for index text carried in the ONIX record. Use <Supporting Resource> for an index offered as a separate file resource
    • Students_guide

      public static final ResourceContentTypes Students_guide
      Including associated student / learner resources
    • Publishers_catalogue

      public static final ResourceContentTypes Publishers_catalogue
      For example a PDF or other digital representation of a publisher's 'new titles' or range catalog
    • Online_advertisement_panel

      public static final ResourceContentTypes Online_advertisement_panel
      For example a banner ad for the product. Pixel dimensions should typically be included in <ResourceVersionFeature>
    • Online_advertisement_page

      public static final ResourceContentTypes Online_advertisement_page
      (de: 'Búhnenbild')
    • Promotional_event_material

      public static final ResourceContentTypes Promotional_event_material
      For example, posters, logos, banners, advertising templates for use in connection with a promotional event
    • Digital_review_copy

      public static final ResourceContentTypes Digital_review_copy
      Availability of a digital review, evaluation or sample copy, or a digital proof copy, which may be limited to authorised users or account holders, but should otherwise be fully readable and functional
    • Instructional_material

      public static final ResourceContentTypes Instructional_material
      For example, video showing how to use the product
    • Errata

      public static final ResourceContentTypes Errata
      Jonix-Comment: Introduced in Onix3
    • Introduction

      public static final ResourceContentTypes Introduction
      Introduction, preface or other preliminary material in a separate resource file

      Jonix-Comment: Introduced in Onix3

    • Collection_description

      public static final ResourceContentTypes Collection_description
      Descriptive material in a separate resource file, not in the ONIX record. Equivalent of code 17 in List 153. Use the <TextContent> composite for collection descriptions carried in the ONIX record. Use <Supporting Resource> for material (which need not be solely only) offered as a separate file resource for reproduction as part of promotional material for the product and collection

      Jonix-Comment: Introduced in Onix3

    • Bibliography

      public static final ResourceContentTypes Bibliography
      Complete list of books by the author(s), supplied as a separate resource file

      Jonix-Comment: Introduced in Onix3

    • Abstract

      public static final ResourceContentTypes Abstract
      Formal summary of content (normally used with academic and scholarly content only)

      Jonix-Comment: Introduced in Onix3

    • Cover_holding_image

      public static final ResourceContentTypes Cover_holding_image
      Image that may be used for promotional purposes in place of a front cover, ONLY where the front cover itself cannot be provided or used for any reason. Typically, holding images may comprise logos, artwork or an unfinished front cover image. Senders should ensure removal of the holding image from the record as soon as a cover image is available. Recipients must ensure replacement of the holding image with the cover image when it is supplied

      Jonix-Comment: Introduced in Onix3

    • Rules_or_instructions

      public static final ResourceContentTypes Rules_or_instructions
      Eg for a game, kit

      Jonix-Comment: Introduced in Onix3

    • Transcript

      public static final ResourceContentTypes Transcript
      Full transcript of audio or video content of the product

      Jonix-Comment: Introduced in Onix3

    • Full_cast_and_credit_list

      public static final ResourceContentTypes Full_cast_and_credit_list
      For use with dramatised audiobooks, filmed entertainment etc, for a cast list sent as a separate resource file, not in the ONIX record. Equivalent of code 28 in List 153

      Jonix-Comment: Introduced in Onix3

    • Image_for_social_media

      public static final ResourceContentTypes Image_for_social_media
      Image - not specifically a cover image or artwork, contributor image, or logo - explicitly intended for use in social media

      Jonix-Comment: Introduced in Onix3

    • Supplementary_learning_resources

      public static final ResourceContentTypes Supplementary_learning_resources
      Eg downloadable worksheets, home learning materials

      Jonix-Comment: Introduced in Onix3

    • Cover_flap

      public static final ResourceContentTypes Cover_flap
      2D, front or back flap image

      Jonix-Comment: Introduced in Onix3

    • License

      public static final ResourceContentTypes License
      Link to a license covering permitted usage of the product content. Deprecated in favor of <EpubLicense>. This was a temporary workaround in ONIX 3.0, and use of <EpubLicense> is strongly preferred
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)