Module jonix.common

Enum Class RecordSourceTypes

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

public enum RecordSourceTypes extends Enum<RecordSourceTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 3

Description: Record source type

See Also:
  • Enum Constant Details

    • Unspecified

      public static final RecordSourceTypes Unspecified
    • Publisher

      public static final RecordSourceTypes Publisher
    • Publishers_distributor

      public static final RecordSourceTypes Publishers_distributor
      Use to designate a distributor providing primary warehousing and fulfillment for a publisher or for a publisher's sales agent, as distinct from a wholesaler
    • Wholesaler

      public static final RecordSourceTypes Wholesaler
    • Bibliographic_agency

      public static final RecordSourceTypes Bibliographic_agency
      Bibliographic data aggregator
    • Library_bookseller

      public static final RecordSourceTypes Library_bookseller
      Library supplier. Bookseller selling to libraries (including academic libraries)
    • Publishers_sales_agent

      public static final RecordSourceTypes Publishers_sales_agent
      Use for a publisher's sales agent responsible for marketing the publisher's products within a territory, as opposed to a publisher's distributor who fulfills orders but does not market
    • Publishers_conversion_service_provider

      public static final RecordSourceTypes Publishers_conversion_service_provider
      Downstream provider of e-publication format conversion services (who might also be a distributor or retailer of the converted e-publication), supplying metadata on behalf of the publisher. The assigned ISBN is taken from the publisher's ISBN prefix
    • Conversion_service_provider

      public static final RecordSourceTypes Conversion_service_provider
      Downstream provider of e-publication format conversion services (who might also be a distributor or retailer of the converted e-publication), supplying metadata on behalf of the publisher. The assigned ISBN is taken from the service provider's prefix (whether or not the service provider dedicates that prefix to a particular publisher)
    • ISBN_Registration_Agency

      public static final RecordSourceTypes ISBN_Registration_Agency
    • ISTC_Registration_Agency

      public static final RecordSourceTypes ISTC_Registration_Agency
    • Retail_bookseller

      public static final RecordSourceTypes Retail_bookseller
      Bookseller selling primarily to consumers
    • Education_bookseller

      public static final RecordSourceTypes Education_bookseller
      Bookseller selling primarily to educational institutions
    • Library

      public static final RecordSourceTypes Library
      Library service providing enhanced metadata to publishers or other parties
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)