Module jonix.common

Enum Class ContributorPlaceRelators

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

public enum ContributorPlaceRelators extends Enum<ContributorPlaceRelators> implements OnixCodelist
Enum that corresponds to ONIX Codelist 151

Description: Contributor place relator

See Also:
  • Enum Constant Details

    • Associated_with

      public static final ContributorPlaceRelators Associated_with
      To express unknown relationship types (for use when expressing legacy ONIX 2.1 data in ONIX 3.0)

      Jonix-Comment: Introduced in Onix3

    • Born_in

      public static final ContributorPlaceRelators Born_in
    • Died_in

      public static final ContributorPlaceRelators Died_in
    • Formerly_resided_in

      public static final ContributorPlaceRelators Formerly_resided_in
    • Currently_resides_in

      public static final ContributorPlaceRelators Currently_resides_in
    • Educated_in

      public static final ContributorPlaceRelators Educated_in
    • Worked_in

      public static final ContributorPlaceRelators Worked_in
    • Flourished_in

      public static final ContributorPlaceRelators Flourished_in
      ('Floruit')
    • Citizen_of

      public static final ContributorPlaceRelators Citizen_of
      Or nationality. For use with country codes only
    • Registered_in

      public static final ContributorPlaceRelators Registered_in
      The place of legal registration of an organization

      Jonix-Comment: Introduced in Onix3

    • Operating_from

      public static final ContributorPlaceRelators Operating_from
      The place an organization or part of an organization is based or operates from

      Jonix-Comment: Introduced in Onix3

    • Eligible_for_geographical_marketing_programs

      public static final ContributorPlaceRelators Eligible_for_geographical_marketing_programs
      Contributor is eligible for national, regional or local marketing support. Use with country code, region code or country/region plus location, as appropriate

      Jonix-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)