Module jonix.common

Enum Class ResourceFeatures

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

public enum ResourceFeatures extends Enum<ResourceFeatures> implements OnixCodelist
Enum that corresponds to ONIX Codelist 256

Description: Resource feature code

Jonix-Comment: Introduced in Onix3

See Also:
  • Enum Constant Details

    • Image_shows_product_in_packaging

      public static final ResourceFeatures Image_shows_product_in_packaging
      Image shows retail product only, in packaging
    • Image_shows_product_without_packaging

      public static final ResourceFeatures Image_shows_product_without_packaging
      Image shows retail product only, without packaging
    • Image_shows_product_and_accessories

      public static final ResourceFeatures Image_shows_product_and_accessories
      Image shows product (with or without packaging) and accessory items not included with product
    • Image_shows_assembled_product

      public static final ResourceFeatures Image_shows_assembled_product
      Image shows product in final form (eg an assembled toy or model, completed puzzle)
    • Image_shows_product_in_use

      public static final ResourceFeatures Image_shows_product_in_use
      Image shows product in use by a person or people
    • Image_shows_multiple_products

      public static final ResourceFeatures Image_shows_multiple_products
      Image shows multiple copies of the product, or multiple related products
    • Image_shows_detail_of_product

      public static final ResourceFeatures Image_shows_detail_of_product
      Image shows part of product, for example inside pages of a book or detail of part of a toy
    • _3D_perspective_front

      public static final ResourceFeatures _3D_perspective_front
      Shows front cover, spine and top edge of pages (or equivalent for non-book products or packaging)
    • _3D_perspective_back

      public static final ResourceFeatures _3D_perspective_back
      Shows back cover, spine and top edge of pages (or equivalent for non-book products or packaging)
    • _3D_perspective_front_foredge

      public static final ResourceFeatures _3D_perspective_front_foredge
      Shows front cover, foredge and top edge of pages (or equivalent for non-book products or packaging)
    • _3D_perspective_back_foredge

      public static final ResourceFeatures _3D_perspective_back_foredge
      Shows back cover, foredge and top edge of pages (or equivalent for non-book products or packaging)
    • _3D_perspective_front_low

      public static final ResourceFeatures _3D_perspective_front_low
      Shows front cover and spine (or equivalent for non-book products or packaging)
    • _3D_perspective_back_low

      public static final ResourceFeatures _3D_perspective_back_low
      Shows back cover and spine (or equivalent for non-book products or packaging)
    • _3D_perspective_front_foredge_low

      public static final ResourceFeatures _3D_perspective_front_foredge_low
      Shows front cover and foredge (or equivalent for non-book products or packaging)
    • _3D_perspective_back_foredge_low

      public static final ResourceFeatures _3D_perspective_back_foredge_low
      Shows back cover and foredge (or equivalent for non-book products or packaging)
    • _2D_front

      public static final ResourceFeatures _2D_front
      Shows front cover only (or equivalent for non-book products or packaging)
    • _2D_back

      public static final ResourceFeatures _2D_back
      Shows back cover only (or equivalent for non-book products or packaging)
    • _2D_spine

      public static final ResourceFeatures _2D_spine
      Shows spine only (or equivalent for non-book products or packaging)
    • _3D_perspective_horizontal

      public static final ResourceFeatures _3D_perspective_horizontal
      Product is horizontal (eg lying on table)
    • _3D_perspective_vertical

      public static final ResourceFeatures _3D_perspective_vertical
      Product is vertical (eg standing on table)
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)