Module jonix.common

Enum Class PersonNameIdentifierTypes

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

public enum PersonNameIdentifierTypes extends Enum<PersonNameIdentifierTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 101

Description: Person name identifier type

Jonix-Comment: Deprecated in Onix3

See Also:
  • Enum Constant Details

    • Proprietary

      public static final PersonNameIdentifierTypes Proprietary
      Note that <IDTypeName> is required with proprietary identifiers
    • PND

      public static final PersonNameIdentifierTypes PND
      Personennamendatei - person name authority file used by Deutsche Nationalbibliothek and in other German-speaking countries. See http://www.d-nb.de/standardisierung/normdateien/pnd.htm (German) or http://www.d-nb.de/eng/standardisierung/normdateien/pnd.htm (English). DEPRECATED in favour of the GND
    • LCCN

      public static final PersonNameIdentifierTypes LCCN
      Library of Congress control number assigned to a Library of Congress Name Authority record
    • ISNI

      public static final PersonNameIdentifierTypes ISNI
      International Standard Name Identifier. See http://www.isni.org/
    • GND

      public static final PersonNameIdentifierTypes GND
      Gemeinsame Normdatei - Joint Authority File in the German-speaking countries. See http://www.dnb.de/EN/gnd (English). Combines the PND, SWD and GKD into a single authority file, and should be used in preference
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)