Module jonix.common

Enum Class SpecificationDetails

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

public enum SpecificationDetails extends Enum<SpecificationDetails> implements OnixCodelist
Enum that corresponds to ONIX Codelist 248

Description: Specification detail code

Jonix-Comment: Introduced in Onix3

See Also:
  • Enum Constant Details

    • _22_05kHz

      public static final SpecificationDetails _22_05kHz
    • _44_1kHz

      public static final SpecificationDetails _44_1kHz
      44,100 samples per channel per second (CD quality)
    • _48kHz

      public static final SpecificationDetails _48kHz
    • _16_bits_per_sample

      public static final SpecificationDetails _16_bits_per_sample
      Bit depth, 16 bits per sample (CD-quality)
    • _24_bits_per_sample

      public static final SpecificationDetails _24_bits_per_sample
    • ID3v1

      public static final SpecificationDetails ID3v1
      Includes v1.1
    • ID3v2

      public static final SpecificationDetails ID3v2
    • Printed_long_grain

      public static final SpecificationDetails Printed_long_grain
      Grain of paper parallel to spine
    • Printed_short_grain

      public static final SpecificationDetails Printed_short_grain
      Grain of paper perpendicular to spine
    • Monochrome

      public static final SpecificationDetails Monochrome
      Usually B/W
    • Printed_CMYK

      public static final SpecificationDetails Printed_CMYK
    • Printed_higher_quality_CMYK

      public static final SpecificationDetails Printed_higher_quality_CMYK
      Printed 'premium' or high-fidelity / high resolution CMYK (where different from 'Printed CMYK', and the manufacturer offers two quality settings)
    • Printed_with_bleed

      public static final SpecificationDetails Printed_with_bleed
      At least some content bleeds to or beyond trimmed page edge
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)