Module jonix.common

Enum Class TitleElementLevels

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

public enum TitleElementLevels extends Enum<TitleElementLevels> implements OnixCodelist
Enum that corresponds to ONIX Codelist 149

Description: Title element level

See Also:
  • Enum Constant Details

    • Product

      public static final TitleElementLevels Product
      The title element refers to an individual product
    • Collection_level

      public static final TitleElementLevels Collection_level
      The title element refers to the top level of a bibliographic collection
    • Subcollection

      public static final TitleElementLevels Subcollection
      The title element refers to an intermediate level of a bibliographic collection that comprises two or more 'sub-collections'
    • Content_item

      public static final TitleElementLevels Content_item
      The title element refers to a content item within a product, eg a work included in a combined or 'omnibus' edition, or a chapter in a book. Generally used only for titles within <ContentItem> (Block 3)
    • Master_brand

      public static final TitleElementLevels Master_brand
      The title element names a multimedia franchise, licensed property or master brand where the use of the brand spans multiple collections and product forms, and possibly multiple imprints and publishers. It need not have a hierarchical relationship with title elements at other levels, or with other master brands. Used only for branded media properties carrying, for example, a children's character brand or film franchise branding
    • Sub_subcollection

      public static final TitleElementLevels Sub_subcollection
      The title element refers to an intermediate level of a bibliographic collection that is a subdivision of a sub-collection (a third level of collective identity)
    • Universe

      public static final TitleElementLevels Universe
      The title element names a 'universe', where parallel or intersecting narratives spanning multiple works and multiple characters occur in the same consistent fictional setting. It need not have a hierarchical relationship with title elements at other levels, in particular with master brands. Used primarily for comic books, but applicable to other fiction where appropriate

      Jonix-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)