Module jonix.common

Enum Class ProductContactRoles

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

public enum ProductContactRoles extends Enum<ProductContactRoles> implements OnixCodelist
Enum that corresponds to ONIX Codelist 198

Description: Product contact role

See Also:
  • Enum Constant Details

    • Metadata_contact

      public static final ProductContactRoles Metadata_contact
      For queries and feedback concerning the metadata record itself

      Jonix-Comment: Introduced in Onix3

    • Accessibility_request_contact

      public static final ProductContactRoles Accessibility_request_contact
      Eg for requests for supply of mutable digital files for conversion to other formats
    • Promotional_contact

      public static final ProductContactRoles Promotional_contact
      Eg for requests relating to interviews, author events
    • Advertising_contact

      public static final ProductContactRoles Advertising_contact
      Eg for co-op advertising
    • Review_copy_contact

      public static final ProductContactRoles Review_copy_contact
      Eg for requests for review copies
    • Evaluation_copy_contact

      public static final ProductContactRoles Evaluation_copy_contact
      Eg for requests for approval or evaluation copies (particularly within education)
    • Permissions_contact

      public static final ProductContactRoles Permissions_contact
      Eg for requests to reproduce or repurpose parts of the publication
    • Return_authorisation_contact

      public static final ProductContactRoles Return_authorisation_contact
      Eg for use where authorisation must be gained from the publisher rather than the distributor or wholesaler

      Jonix-Comment: Introduced in Onix3

    • Rights_and_licensing_contact

      public static final ProductContactRoles Rights_and_licensing_contact
      Eg for subrights licensing, collective licensing

      Jonix-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)