Package org.gbif.dwc.terms
Enum DwcTerm
- java.lang.Object
-
- java.lang.Enum<DwcTerm>
-
- org.gbif.dwc.terms.DwcTerm
-
- All Implemented Interfaces:
Serializable
,Comparable<DwcTerm>
,AlternativeNames
,Term
public enum DwcTerm extends Enum<DwcTerm> implements Term, AlternativeNames, Serializable
All Darwin Core terms with namespace http://rs.tdwg.org/dwc/terms/ as an enumeration with alternative term names found sometimes in data. Old, deprecated terms are kept but marked as such.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static DwcTerm[]
CLASS_TERMS
List of all class terms in dwc.static String
GROUP_EVENT
static String
GROUP_GEOLOGICALCONTEXT
static String
GROUP_IDENTIFICATION
static String
GROUP_LOCATION
static String
GROUP_MATERIAL_ENTITY
static String
GROUP_MATERIAL_SAMPLE
static String
GROUP_MEASUREMENTORFACT
static String
GROUP_OCCURRENCE
static String
GROUP_ORGANISM
static String
GROUP_RECORD
static String
GROUP_RESOURCERELATIONSHIP
static String
GROUP_TAXON
static String[]
GROUPS
Lists all term groups in the order given on the Darwin Core Quick Reference Guide.static DwcTerm[]
HIGHER_RANKS
List of all higher rank terms in dwc, ordered by rank and starting with kingdom.String[]
normAlts
String
normQName
static DwcTerm[]
TAXONOMIC_TERMS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
alternativeNames()
Array of alternative simple names in use for the term.String
getGroup()
The optional group the term is grouped in.boolean
isClass()
Informs if a term is generally used as a class term, i.e.static List<DwcTerm>
listByGroup(String group)
List all terms that belong to a given group.URI
namespace()
The namespace the terms are in.String
prefix()
A unique standard prefix representing the namespace.String
simpleName()
The simple term name without a namespace.String
toString()
static DwcTerm
valueOf(String name)
Returns the enum constant of this type with the specified name.static DwcTerm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Methods inherited from interface org.gbif.dwc.terms.Term
prefixedName, qualifiedName
-
-
-
-
Enum Constant Detail
-
Occurrence
public static final DwcTerm Occurrence
CLASS TERMS Listed in the order given on the Darwin Core Quick Reference Guide.- See Also:
- DwC Quick Reference Guide Location is not on this list because it is a term in the dcterm namespace.
-
MaterialEntity
public static final DwcTerm MaterialEntity
-
MaterialSample
public static final DwcTerm MaterialSample
-
GeologicalContext
public static final DwcTerm GeologicalContext
-
Identification
public static final DwcTerm Identification
-
MeasurementOrFact
public static final DwcTerm MeasurementOrFact
-
ResourceRelationship
public static final DwcTerm ResourceRelationship
-
institutionID
public static final DwcTerm institutionID
PROPERTY TERMS Listed in the order given on the Darwin Core Quick Reference Guide.- See Also:
- DwC Quick Reference Guide
-
collectionID
public static final DwcTerm collectionID
-
institutionCode
public static final DwcTerm institutionCode
-
collectionCode
public static final DwcTerm collectionCode
-
datasetName
public static final DwcTerm datasetName
-
ownerInstitutionCode
public static final DwcTerm ownerInstitutionCode
-
basisOfRecord
public static final DwcTerm basisOfRecord
-
informationWithheld
public static final DwcTerm informationWithheld
-
dataGeneralizations
public static final DwcTerm dataGeneralizations
-
dynamicProperties
public static final DwcTerm dynamicProperties
-
occurrenceID
public static final DwcTerm occurrenceID
-
catalogNumber
public static final DwcTerm catalogNumber
-
recordNumber
public static final DwcTerm recordNumber
-
recordedBy
public static final DwcTerm recordedBy
-
recordedByID
public static final DwcTerm recordedByID
-
individualCount
public static final DwcTerm individualCount
-
organismQuantity
public static final DwcTerm organismQuantity
-
organismQuantityType
public static final DwcTerm organismQuantityType
-
reproductiveCondition
public static final DwcTerm reproductiveCondition
-
establishmentMeans
public static final DwcTerm establishmentMeans
-
degreeOfEstablishment
public static final DwcTerm degreeOfEstablishment
-
georeferenceVerificationStatus
public static final DwcTerm georeferenceVerificationStatus
-
occurrenceStatus
public static final DwcTerm occurrenceStatus
-
preparations
public static final DwcTerm preparations
-
disposition
public static final DwcTerm disposition
-
associatedMedia
public static final DwcTerm associatedMedia
-
associatedOccurrences
public static final DwcTerm associatedOccurrences
-
associatedReferences
public static final DwcTerm associatedReferences
-
associatedSequences
public static final DwcTerm associatedSequences
-
associatedTaxa
public static final DwcTerm associatedTaxa
-
otherCatalogNumbers
public static final DwcTerm otherCatalogNumbers
-
occurrenceRemarks
public static final DwcTerm occurrenceRemarks
-
organismID
public static final DwcTerm organismID
-
organismName
public static final DwcTerm organismName
-
organismScope
public static final DwcTerm organismScope
-
associatedOrganisms
public static final DwcTerm associatedOrganisms
-
previousIdentifications
public static final DwcTerm previousIdentifications
-
organismRemarks
public static final DwcTerm organismRemarks
-
materialEntityID
public static final DwcTerm materialEntityID
-
materialEntityRemarks
public static final DwcTerm materialEntityRemarks
-
verbatimLabel
public static final DwcTerm verbatimLabel
-
materialSampleID
public static final DwcTerm materialSampleID
-
parentEventID
public static final DwcTerm parentEventID
-
fieldNumber
public static final DwcTerm fieldNumber
-
startDayOfYear
public static final DwcTerm startDayOfYear
-
endDayOfYear
public static final DwcTerm endDayOfYear
-
verbatimEventDate
public static final DwcTerm verbatimEventDate
-
samplingProtocol
public static final DwcTerm samplingProtocol
-
sampleSizeValue
public static final DwcTerm sampleSizeValue
-
sampleSizeUnit
public static final DwcTerm sampleSizeUnit
-
samplingEffort
public static final DwcTerm samplingEffort
-
fieldNotes
public static final DwcTerm fieldNotes
-
eventRemarks
public static final DwcTerm eventRemarks
-
locationID
public static final DwcTerm locationID
-
higherGeographyID
public static final DwcTerm higherGeographyID
-
higherGeography
public static final DwcTerm higherGeography
-
islandGroup
public static final DwcTerm islandGroup
-
countryCode
public static final DwcTerm countryCode
-
stateProvince
public static final DwcTerm stateProvince
-
municipality
public static final DwcTerm municipality
-
verbatimLocality
public static final DwcTerm verbatimLocality
-
minimumElevationInMeters
public static final DwcTerm minimumElevationInMeters
-
maximumElevationInMeters
public static final DwcTerm maximumElevationInMeters
-
verbatimElevation
public static final DwcTerm verbatimElevation
-
verticalDatum
public static final DwcTerm verticalDatum
-
minimumDepthInMeters
public static final DwcTerm minimumDepthInMeters
-
maximumDepthInMeters
public static final DwcTerm maximumDepthInMeters
-
verbatimDepth
public static final DwcTerm verbatimDepth
-
minimumDistanceAboveSurfaceInMeters
public static final DwcTerm minimumDistanceAboveSurfaceInMeters
-
maximumDistanceAboveSurfaceInMeters
public static final DwcTerm maximumDistanceAboveSurfaceInMeters
-
locationAccordingTo
public static final DwcTerm locationAccordingTo
-
locationRemarks
public static final DwcTerm locationRemarks
-
decimalLatitude
public static final DwcTerm decimalLatitude
-
decimalLongitude
public static final DwcTerm decimalLongitude
-
geodeticDatum
public static final DwcTerm geodeticDatum
-
coordinateUncertaintyInMeters
public static final DwcTerm coordinateUncertaintyInMeters
-
coordinatePrecision
public static final DwcTerm coordinatePrecision
-
pointRadiusSpatialFit
public static final DwcTerm pointRadiusSpatialFit
-
verbatimCoordinates
public static final DwcTerm verbatimCoordinates
-
verbatimLatitude
public static final DwcTerm verbatimLatitude
-
verbatimLongitude
public static final DwcTerm verbatimLongitude
-
verbatimCoordinateSystem
public static final DwcTerm verbatimCoordinateSystem
-
verbatimSRS
public static final DwcTerm verbatimSRS
-
footprintWKT
public static final DwcTerm footprintWKT
-
footprintSRS
public static final DwcTerm footprintSRS
-
footprintSpatialFit
public static final DwcTerm footprintSpatialFit
-
georeferencedBy
public static final DwcTerm georeferencedBy
-
georeferencedDate
public static final DwcTerm georeferencedDate
-
georeferenceProtocol
public static final DwcTerm georeferenceProtocol
-
georeferenceSources
public static final DwcTerm georeferenceSources
-
georeferenceRemarks
public static final DwcTerm georeferenceRemarks
-
geologicalContextID
public static final DwcTerm geologicalContextID
-
earliestEonOrLowestEonothem
public static final DwcTerm earliestEonOrLowestEonothem
-
latestEonOrHighestEonothem
public static final DwcTerm latestEonOrHighestEonothem
-
earliestEraOrLowestErathem
public static final DwcTerm earliestEraOrLowestErathem
-
latestEraOrHighestErathem
public static final DwcTerm latestEraOrHighestErathem
-
earliestPeriodOrLowestSystem
public static final DwcTerm earliestPeriodOrLowestSystem
-
latestPeriodOrHighestSystem
public static final DwcTerm latestPeriodOrHighestSystem
-
earliestEpochOrLowestSeries
public static final DwcTerm earliestEpochOrLowestSeries
-
latestEpochOrHighestSeries
public static final DwcTerm latestEpochOrHighestSeries
-
earliestAgeOrLowestStage
public static final DwcTerm earliestAgeOrLowestStage
-
latestAgeOrHighestStage
public static final DwcTerm latestAgeOrHighestStage
-
lowestBiostratigraphicZone
public static final DwcTerm lowestBiostratigraphicZone
-
highestBiostratigraphicZone
public static final DwcTerm highestBiostratigraphicZone
-
lithostratigraphicTerms
public static final DwcTerm lithostratigraphicTerms
-
identificationID
public static final DwcTerm identificationID
-
verbatimIdentification
public static final DwcTerm verbatimIdentification
-
identificationQualifier
public static final DwcTerm identificationQualifier
-
typeStatus
public static final DwcTerm typeStatus
-
identifiedBy
public static final DwcTerm identifiedBy
-
identifiedByID
public static final DwcTerm identifiedByID
-
dateIdentified
public static final DwcTerm dateIdentified
-
identificationReferences
public static final DwcTerm identificationReferences
-
identificationVerificationStatus
public static final DwcTerm identificationVerificationStatus
-
identificationRemarks
public static final DwcTerm identificationRemarks
-
scientificNameID
public static final DwcTerm scientificNameID
-
acceptedNameUsageID
public static final DwcTerm acceptedNameUsageID
-
parentNameUsageID
public static final DwcTerm parentNameUsageID
-
originalNameUsageID
public static final DwcTerm originalNameUsageID
-
nameAccordingToID
public static final DwcTerm nameAccordingToID
-
namePublishedInID
public static final DwcTerm namePublishedInID
-
taxonConceptID
public static final DwcTerm taxonConceptID
-
scientificName
public static final DwcTerm scientificName
-
acceptedNameUsage
public static final DwcTerm acceptedNameUsage
-
parentNameUsage
public static final DwcTerm parentNameUsage
-
originalNameUsage
public static final DwcTerm originalNameUsage
-
nameAccordingTo
public static final DwcTerm nameAccordingTo
-
namePublishedIn
public static final DwcTerm namePublishedIn
-
namePublishedInYear
public static final DwcTerm namePublishedInYear
-
higherClassification
public static final DwcTerm higherClassification
-
class_
public static final DwcTerm class_
The taxonomic class. The real Darwin Core term is class, but as java does not allow this name we use a variation instead.
-
superfamily
public static final DwcTerm superfamily
-
genericName
public static final DwcTerm genericName
-
infragenericEpithet
public static final DwcTerm infragenericEpithet
-
specificEpithet
public static final DwcTerm specificEpithet
-
infraspecificEpithet
public static final DwcTerm infraspecificEpithet
-
cultivarEpithet
public static final DwcTerm cultivarEpithet
-
verbatimTaxonRank
public static final DwcTerm verbatimTaxonRank
-
scientificNameAuthorship
public static final DwcTerm scientificNameAuthorship
-
vernacularName
public static final DwcTerm vernacularName
-
nomenclaturalCode
public static final DwcTerm nomenclaturalCode
-
taxonomicStatus
public static final DwcTerm taxonomicStatus
-
nomenclaturalStatus
public static final DwcTerm nomenclaturalStatus
-
taxonRemarks
public static final DwcTerm taxonRemarks
-
measurementID
public static final DwcTerm measurementID
-
parentMeasurementID
public static final DwcTerm parentMeasurementID
-
measurementType
public static final DwcTerm measurementType
-
measurementValue
public static final DwcTerm measurementValue
-
measurementAccuracy
public static final DwcTerm measurementAccuracy
-
measurementUnit
public static final DwcTerm measurementUnit
-
measurementDeterminedBy
public static final DwcTerm measurementDeterminedBy
-
measurementDeterminedDate
public static final DwcTerm measurementDeterminedDate
-
measurementMethod
public static final DwcTerm measurementMethod
-
measurementRemarks
public static final DwcTerm measurementRemarks
-
resourceRelationshipID
public static final DwcTerm resourceRelationshipID
-
resourceID
public static final DwcTerm resourceID
-
relationshipOfResourceID
public static final DwcTerm relationshipOfResourceID
-
relatedResourceID
public static final DwcTerm relatedResourceID
-
relationshipOfResource
public static final DwcTerm relationshipOfResource
-
relationshipAccordingTo
public static final DwcTerm relationshipAccordingTo
-
relationshipEstablishedDate
public static final DwcTerm relationshipEstablishedDate
-
relationshipRemarks
public static final DwcTerm relationshipRemarks
-
-
Field Detail
-
GROUP_RECORD
public static final String GROUP_RECORD
- See Also:
- Constant Field Values
-
GROUP_OCCURRENCE
public static final String GROUP_OCCURRENCE
- See Also:
- Constant Field Values
-
GROUP_ORGANISM
public static final String GROUP_ORGANISM
- See Also:
- Constant Field Values
-
GROUP_MATERIAL_ENTITY
public static final String GROUP_MATERIAL_ENTITY
- See Also:
- Constant Field Values
-
GROUP_MATERIAL_SAMPLE
public static final String GROUP_MATERIAL_SAMPLE
- See Also:
- Constant Field Values
-
GROUP_EVENT
public static final String GROUP_EVENT
- See Also:
- Constant Field Values
-
GROUP_LOCATION
public static final String GROUP_LOCATION
- See Also:
- Constant Field Values
-
GROUP_GEOLOGICALCONTEXT
public static final String GROUP_GEOLOGICALCONTEXT
- See Also:
- Constant Field Values
-
GROUP_IDENTIFICATION
public static final String GROUP_IDENTIFICATION
- See Also:
- Constant Field Values
-
GROUP_TAXON
public static final String GROUP_TAXON
- See Also:
- Constant Field Values
-
GROUP_MEASUREMENTORFACT
public static final String GROUP_MEASUREMENTORFACT
- See Also:
- Constant Field Values
-
GROUP_RESOURCERELATIONSHIP
public static final String GROUP_RESOURCERELATIONSHIP
- See Also:
- Constant Field Values
-
GROUPS
public static final String[] GROUPS
Lists all term groups in the order given on the Darwin Core Quick Reference Guide.- See Also:
- DwC Quick Reference Guide
-
TAXONOMIC_TERMS
public static final DwcTerm[] TAXONOMIC_TERMS
-
HIGHER_RANKS
public static final DwcTerm[] HIGHER_RANKS
List of all higher rank terms in dwc, ordered by rank and starting with kingdom.
-
CLASS_TERMS
public static final DwcTerm[] CLASS_TERMS
List of all class terms in dwc.
-
-
Method Detail
-
values
public static DwcTerm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DwcTerm c : DwcTerm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DwcTerm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
simpleName
public String simpleName()
The simple term name without a namespace. For example scientificName.- Specified by:
simpleName
in interfaceTerm
- Returns:
- simple term name
-
alternativeNames
public String[] alternativeNames()
Array of alternative simple names in use for the term. Often based on older dwc versions.- Specified by:
alternativeNames
in interfaceAlternativeNames
- Returns:
- simple term name
-
getGroup
public String getGroup()
The optional group the term is grouped in. For example Taxon, Identification, etc.
-
isClass
public boolean isClass()
Description copied from interface:Term
Informs if a term is generally used as a class term, i.e. defining rowTypes not properties. For example VernacularName, Taxon or Occurrence
-
listByGroup
public static List<DwcTerm> listByGroup(String group)
List all terms that belong to a given group.- Parameters:
group
- the group to list terms for- Returns:
- the list of dwc terms in the given group
-
prefix
public String prefix()
Description copied from interface:Term
A unique standard prefix representing the namespace. For example dwc.
-
namespace
public URI namespace()
Description copied from interface:Term
The namespace the terms are in. Default implementations here expect the namespace to end with a slash.
-
-