Package org.gedcomx.types
Enum Class IdentifierType
- All Implemented Interfaces:
Serializable,Comparable<IdentifierType>,Constable,ControlledVocabulary
Enumeration of standard identifier types.
- Author:
- Ryan Heaton
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn identifier that has been relegated, deprecated, or otherwise downgraded.An identifier for the evidence that supports the resource.An identifier that is considered to be a long-term persistent identifier.The primary identifier for the resource. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdentifierTypefromQNameURI(URI qname) Get the enumeration from the QName.Return the QName value for this enum.static IdentifierTypeReturns the enum constant of this class with the specified name.static IdentifierType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Primary
The primary identifier for the resource. -
Evidence
An identifier for the evidence that supports the resource. For example, when a conclusion about a person is extracted, analyzed and evaluated atomically within the context of a single source, it takes the form of a (extracted) person conclusion, and the extracted conclusion may supply an identifier for the person. As all evidence for the person is gathered, the (working) person conclusion identifies the evidence used to support the conclusion by including each evidence identifier in the list of identifiers for the person. -
Deprecated
An identifier that has been relegated, deprecated, or otherwise downgraded. This identifier is commonly used as the result of a merge when what was once a primary identifier for a person is no longer primary. -
Persistent
An identifier that is considered to be a long-term persistent identifier. Applications that provide persistent identifiers are claiming that links to the resource using the identifier won't break. -
OTHER
-
-
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
-
toQNameURI
Return the QName value for this enum.- Specified by:
toQNameURIin interfaceControlledVocabulary- Returns:
- The QName value for this enum.
-
fromQNameURI
Get the enumeration from the QName.- Parameters:
qname- The qname.- Returns:
- The enumeration.
-