Package org.gbif.api.vocabulary
Enum Class IdentifierType
- All Implemented Interfaces:
Serializable
,Comparable<IdentifierType>
,Constable
Enumeration for all possible identifier types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionhttps://cites.org/ChecklistBank dataset keys (integer) https://www.checklistbank.org/datasetIdentifies the node (e.g: 'DK' for Denmark, 'sp2000' for Species 2000).Participant identifier from the GBIF Directory.Indicates the identifier originated from an auto_increment column in the portal.data_provider or portal.data_resource table respectively.https://www.grid.ac/institutes/ID migrated from GrSciColl.Cool URI migrated from GrSciColl.IRN of an IH record.https://slks.dk/english/work-areas/libraries-and-literature/library-standards/isilReference controlled by a separate system, used for example by DOI.https://www.ncbi.nlm.nih.gov/Research Organization Registry.Symbiota IDs to help linking GrSciColl occurrences. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic IdentifierType
fromString
(String identifierType) static IdentifierType
Tries to infer the identifier type from a given identifier.static IdentifierType
Returns 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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
URL
-
LSID
Reference controlled by a separate system, used for example by DOI. {http://en.wikipedia.org/wiki/Handle_(computing)} -
HANDLER
-
DOI
-
UUID
-
FTP
-
URI
-
UNKNOWN
-
GBIF_PORTAL
Indicates the identifier originated from an auto_increment column in the portal.data_provider or portal.data_resource table respectively. -
GBIF_NODE
Identifies the node (e.g: 'DK' for Denmark, 'sp2000' for Species 2000). -
GBIF_PARTICIPANT
Participant identifier from the GBIF Directory. -
GRSCICOLL_ID
ID migrated from GrSciColl. -
GRSCICOLL_URI
Cool URI migrated from GrSciColl. -
IH_IRN
IRN of an IH record. -
ROR
Research Organization Registry. https://ror.org -
GRID
https://www.grid.ac/institutes/ -
CITES
https://cites.org/ -
SYMBIOTA_UUID
Symbiota IDs to help linking GrSciColl occurrences. -
WIKIDATA
-
NCBI_BIOCOLLECTION
https://www.ncbi.nlm.nih.gov/ -
ISIL
https://slks.dk/english/work-areas/libraries-and-literature/library-standards/isil -
CLB_DATASET_KEY
ChecklistBank dataset keys (integer) https://www.checklistbank.org/dataset
-
-
Field Details
-
TYPES
-
-
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
-
fromString
- Returns:
- the matching IdentifierType or null
-
inferFrom
Tries to infer the identifier type from a given identifier. Most identifiers have a URI protocol prefix or a specific structure that allows the guess.- Returns:
- the inferred identifier type or Unknown if identifier is null or cant be inferred.
-