Module jonix.common

Enum Class AvItemTypes

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

public enum AvItemTypes extends Enum<AvItemTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 240

Description: AV Item type code

Jonix-Comment: Introduced in Onix3

See Also:
  • Enum Constant Details

    • Audiovisual_work

      public static final AvItemTypes Audiovisual_work
      A complete audiovisual work which is published as a content item in a product which carries two or more such works, eg when two or three AV works are published in a single omnibus package
    • Front_matter

      public static final AvItemTypes Front_matter
      Audiovisual components such as a scene index or introduction which appear before the main content of the product
    • Body_matter

      public static final AvItemTypes Body_matter
      Audiovisual components such as scenes or 'chapters' which appear as part of the main body of the AV material in the product
    • End_matter

      public static final AvItemTypes End_matter
      Audiovisual components such as advertising which appear after the main content of the product
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)