Module jonix.common
Enum Class PersonOrganizationNameTypes
java.lang.Object
java.lang.Enum<PersonOrganizationNameTypes>
com.tectonica.jonix.common.codelist.PersonOrganizationNameTypes
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<PersonOrganizationNameTypes>
,Constable
public enum PersonOrganizationNameTypes
extends Enum<PersonOrganizationNameTypes>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 18
Description: Person / organization name type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCodelist
OnixCodelist.Pair
-
Enum Constant Summary
Enum ConstantDescriptionUse only within <AlternativeName>Use only within <NameAsSubject> to indicate the subject is fictional, or in <AlternativeName> alongside <UnnamedPersons> to indicate a human-like name for a synthetic voice or AI.Use only within <AlternativeName>May be used to give a well-known pseudonym, where the primary name is a 'real' nameMay be used to identify a well-known real name, where the primary name is a pseudonymUse only within <AlternativeName>, when the primary name type is unspecified, for names in a different script or languageUsually the name as it is presented on the book -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PersonOrganizationNameTypes
static Optional<PersonOrganizationNameTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static PersonOrganizationNameTypes
Returns the enum constant of this class with the specified name.static PersonOrganizationNameTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.tectonica.jonix.common.OnixCodelist
pair
-
Enum Constant Details
-
Unspecified
Usually the name as it is presented on the book -
Pseudonym
May be used to give a well-known pseudonym, where the primary name is a 'real' name -
Authority_controlled_name
-
Earlier_name
Use only within <AlternativeName> -
Real_name
May be used to identify a well-known real name, where the primary name is a pseudonym -
Transliterated_translated_form_of_primary_name
Use only within <AlternativeName>, when the primary name type is unspecified, for names in a different script or language -
Later_name
Use only within <AlternativeName> -
Fictional_character_name
Use only within <NameAsSubject> to indicate the subject is fictional, or in <AlternativeName> alongside <UnnamedPersons> to indicate a human-like name for a synthetic voice or AI. Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
-
Field Details
-
code
-
description
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getCode
- Specified by:
getCode
in interfaceOnixCodelist
-
getDescription
- Specified by:
getDescription
in interfaceOnixCodelist
-
byCode
-
byCodeOptional
-
codeToDesciption
-