Module jonix.common

Enum Class SupplierIdentifierTypes

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

public enum SupplierIdentifierTypes extends Enum<SupplierIdentifierTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 92

Description: Supplier identifier type

See Also:
  • Enum Constant Details

    • Proprietary

      public static final SupplierIdentifierTypes Proprietary
      Note that <IDTypeName> is required with proprietary identifiers
    • Proprietary_

      public static final SupplierIdentifierTypes Proprietary_
      Deprecated - use code 01
    • Borsenverein_Verkehrsnummer

      public static final SupplierIdentifierTypes Borsenverein_Verkehrsnummer
    • German_ISBN_Agency_publisher_identifier

      public static final SupplierIdentifierTypes German_ISBN_Agency_publisher_identifier
    • GLN

      public static final SupplierIdentifierTypes GLN
      GS1 global location number (formerly EAN location number)
    • SAN

      public static final SupplierIdentifierTypes SAN
      Book trade Standard Address Number - US, UK etc
    • Distributeurscode_Boekenbank

      public static final SupplierIdentifierTypes Distributeurscode_Boekenbank
      Flemish supplier code
    • Fondscode_Boekenbank

      public static final SupplierIdentifierTypes Fondscode_Boekenbank
      Flemish publisher code
    • ISNI

      public static final SupplierIdentifierTypes ISNI
      International Standard Name Identifier (used here to identify an organization). Only for use in ONIX 3.0 or later. See https://isni.org/

      Jonix-Comment: Introduced in Onix3

    • VAT_Identity_Number

      public static final SupplierIdentifierTypes VAT_Identity_Number
      Identifier for a business organization for VAT purposes, eg within the EU's VIES system. See http://ec.europa.eu/taxation_customs/vies/faqvies.do for EU VAT ID formats, which vary from country to country. Generally these consist of a two-letter country code followed by the 8-12 digits of the national VAT ID. Some countries include one or two letters within their VAT ID. See http://en.wikipedia.org/wiki/VAT_identification_number for non-EU countries that maintain similar identifiers. Spaces, dashes etc should be omitted
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)