Module jonix.common

Enum Class ExtentTypes

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

public enum ExtentTypes extends Enum<ExtentTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 23

Description: Extent type

See Also:
  • Enum Constant Details

    • Main_content_page_count

      public static final ExtentTypes Main_content_page_count
      The highest-numbered page in a single numbered sequence of main content, usually the highest Arabic-numbered page in a book; or, for books without page numbers or (rarely) with multiple numbered sequences of main content, the total number of pages that carry the main content of the book. Note that this may include numbered but otherwise blank pages (eg pages inserted to ensure chapters start on a recto page) and may exclude unnumbered (but contentful) pages such as those in inserts/plate sections. It should exclude pages of back matter (eg any index) even when their numbering sequence continues from the main content. Either this or the Content Page count is the preferred page count for most books for the general reader. For books with substantial front and/or back matter, include also Front matter (03) and Back matter (04) page counts, or Total numbered pages (05). For books with inserts (plate sections), also include Total unnumbered insert page count whenever possible
    • Total_text_length

      public static final ExtentTypes Total_text_length
      Number of words or characters of natural language text
    • Front_matter_page_count

      public static final ExtentTypes Front_matter_page_count
      The total number of numbered (usually Roman-numbered) pages that precede the main content of a book. This usually consists of various title and imprint pages, table of contents, an introduction, preface, foreword, etc
    • Back_matter_page_count

      public static final ExtentTypes Back_matter_page_count
      The total number of numbered (often Roman-numbered) pages that follow the main content of a book. This usually consists of an afterword, appendices, endnotes, index, etc. It excludes extracts or 'teaser' material from other works, and blank (or advertising) pages that are present only for convenience of printing and binding
    • Total_numbered_pages

      public static final ExtentTypes Total_numbered_pages
      The sum of all Roman- and Arabic-numbered pages. Note that this may include numbered but otherwise blank pages (eg pages inserted to ensure chapters start on a recto page) and may exclude unnumbered (but contentful) pages such as those in inserts/plate sections. It is the sum of the main content (00), front matter (03) and back matter (04) page counts
    • Production_page_count

      public static final ExtentTypes Production_page_count
      The total number of pages in a book, including unnumbered pages, front matter, back matter, etc. This includes any extracts or 'teaser' material from other works, and blank pages at the back that carry no content and are present only for convenience of printing and binding
    • Absolute_page_count

      public static final ExtentTypes Absolute_page_count
      The total number of pages of the book counting the cover as page 1. This page count type should be used only for digital publications delivered with fixed pagination
    • Number_of_pages_in_print_counterpart

      public static final ExtentTypes Number_of_pages_in_print_counterpart
      The total number of pages (equivalent to the Content page count, code 11) in the print counterpart of a digital product delivered without fixed pagination, or of an audio product
    • Duration

      public static final ExtentTypes Duration
      Total duration in time, expressed in the specified extent unit. This is the 'running time' equivalent of code 11
    • Notional_number_of_pages_in_digital_product

      public static final ExtentTypes Notional_number_of_pages_in_digital_product
      An estimate of the number of 'pages' in a digital product delivered without fixed pagination, and with no print counterpart, given as an indication of the size of the work. Equivalent to code 08, but exclusively for digital or audio products
    • Content_page_count

      public static final ExtentTypes Content_page_count
      The sum of all Roman- and Arabic-numbered and contentful unnumbered pages. Sum of page counts with codes 00, 03, 04 and 12, and also the sum of 05 and 12
    • Total_unnumbered_insert_page_count

      public static final ExtentTypes Total_unnumbered_insert_page_count
      The total number of unnumbered pages with content inserted within the main content of a book - for example inserts/plate sections that are not numbered
    • Duration_of_introductory_matter

      public static final ExtentTypes Duration_of_introductory_matter
      Duration in time, expressed in the specified extent units, of introductory matter. This is the 'running time' equivalent of code 03, and comprises any significant amount of running time represented by a musical intro, announcements, titles, introduction or other material prefacing the main content
    • Duration_of_main_content

      public static final ExtentTypes Duration_of_main_content
      Duration in time, expressed in the specified extent units, of the main content. This is the 'running time' equivalent of code 00, and excludes time represented by announcements, titles, introduction or other prefatory material or 'back matter'
    • Duration_of_back_matter

      public static final ExtentTypes Duration_of_back_matter
      Duration in time, expressed in the specified extent units, of any content that follows the main content of a book. This may consist of an afterword, appendices, endnotes, end music etc. It excludes extracts or 'teaser' material from other works. This is the 'running time' equivalent of code 04
    • Production_duration

      public static final ExtentTypes Production_duration
      Duration in time, expressed in the specified extent units, of the complete content of a book. This is the 'running time' equivalent of code 06, and includes time represented by musical themes, announcements, titles, introductory and other prefatory material, plus 'back matter' such as any afterword, appendices, plus any extracts or 'teaser' material from other works
    • Number_of_cards

      public static final ExtentTypes Number_of_cards
      In a pack of educational flash cards, playing cards, postcards, greeting cards etc. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Number_of_write_in_pages

      public static final ExtentTypes Number_of_write_in_pages
      Count of the number of pages within the main content page count that are blank or substantially blank, intended for the reader to fill in (eg in a journal). Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • Filesize

      public static final ExtentTypes Filesize
      Approximate size of a digital file or package (in the form it is downloaded), expressed in the specified extent unit
    • Storage_filesize

      public static final ExtentTypes Storage_filesize
      Approximate size of storage space required for a digital file or package in the form in which it is usually stored for use on a device, where this is different from the download filesize (see code 22), and expressed in the specified extent unit. 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 ExtentTypes[] 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 ExtentTypes 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 ExtentTypes byCode(String code)
    • byCodeOptional

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

      public static String codeToDesciption(String code)