Enum GbifTerm
- java.lang.Object
- 
- java.lang.Enum<GbifTerm>
- 
- org.gbif.dwc.terms.GbifTerm
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<GbifTerm>,- AlternativeNames,- Term
 
 public enum GbifTerm extends Enum<GbifTerm> implements Term, AlternativeNames, Serializable 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description acceptedScientificNameThe scientific name the type associated acceptedNubKey.acceptedTaxonKeyThe GBIF backbone key of the accepted taxon key.ageInDaysappendixCITESbiostratigraphycanonicalNamechecklistKeyThe checklist key.classKeyThe key to the accepted class in the GBIF backbone.coordinateAccuracyDeprecated.datasetKeyThe UUID key for the dataset registered in GBIF.depthDepth in metres below the surface.depthAccuracyDepth accuracy is the uncertainty for the depth in metres.DescriptionThe GBIF Taxon Description extension row type.distanceAboveSurfaceDeprecated.distanceAboveSurfaceAccuracyDeprecated.distanceFromCentroidInMetersThe distance in metres from a known centroid, e.g.DistributionThe GBIF Species Distribution extension row type.dnaSequenceIDelevationElevation in metres above sea level (altitude).elevationAccuracyElevation accuracy is the uncertainty for the elevation in metres.familyKeyThe key to the accepted family in the GBIF backbone.gbifIDNumerical, stable identifier assigned by GBIF to an Occurrence record.gbifRegionGBIF region based on country codegenusKeyThe key to the accepted genus in the GBIF backbone.geologicalTimehasCoordinateBoolean indicating that a valid latitude and longitude exists.hasGeospatialIssuesBoolean indicating that some spatial validation rule has not passed.IdentifierThe GBIF Alternative Identifiers extension row type.ImageThe deprecated GBIF Simple Images extension row type.infraspecificMarkerisExtinctisFreshwaterisHybridisInvasiveisMarineisPluralisPreferredNameisSequencedFlag occurrence when associatedSequences/extension existsissueAny issue found during processing and interpretation or the record.isTerrestrialkingdomKeyThe key to the accepted kingdom in the GBIF backbone.lastCrawledThe date this record was last crawled/harvested by GBIF from the endpoint.lastInterpretedTimestamp of the last time the record was (re)interpreted by GBIF.lastParsedThe date this record was last parsed from raw xml/json into a verbatim GBIF record.lifeFormlithostratigraphylivingPeriodmassInGramsmediaTypeThe media type given as Dublin Core type values, in particular StillImage, MovingImage or Sound.MultimediaThe GBIF Simple Multimedia extension row type.nameTypenonTaxonomicIssueIssue found during processing and interpretation or the record that are non-taxonomic.numberOfOccurrencesorderKeyThe key to the accepted order in the GBIF backbone.organismPartphylumKeyThe key to the accepted phylum in the GBIF backbone.projectIdAn identifier for a project to which a record belongs.protocolThe kind of protocol used when the record was last crawled by GBIF.publishedByGbifRegionGBIF region based on publishing country codepublishingCountryThe ISO 3166 2-letter code of the country of the organization that publishes the dataset to which the occurrence belongs.ReferenceThe GBIF Literature References extension row type.relativeOrganismQuantityCalculated relative organism quantity, based on organism and sample measure typesrepatriatedBoolean indicating if the publishing country is different to the location country.sizeInMillimetersspeciesThe canonical name without authorship of the accepted species.speciesKeyThe backbone key to the accepted species.SpeciesProfileThe GBIF Species Profile extension row type.subgenusKeyThe key to the accepted subgenus in the GBIF backbone.taxonKeyThe GBIF backbone key.taxonomicIssueIssue found during processing and interpretation or the record related to a specific checklist.typeDesignatedBytypeDesignationTypeTypesAndSpecimenThe GBIF Types and Specimen extension row type.typifiedNameThe scientific name the type status of this specimen applies to.verbatimScientificNameScientific name as provided by the source.VernacularNameThe GBIF Vernacular Names extension row type.
 - 
Field SummaryFields Modifier and Type Field Description static StringGROUP_CRAWLINGstatic StringGROUP_DATASETstatic StringGROUP_DNA_DERIVED_DATAstatic StringGROUP_ROW_TYPEstatic StringGROUP_SPECIES_DISTRIBUTION_EXTENSIONstatic StringGROUP_SPECIES_PROFILE_EXTENSIONstatic StringGROUP_VERNACULAR_NAME_EXTENSIONstatic String[]GROUPSLists all GBIF term groups.String[]normAltsstatic GbifTerm[]TAXONOMIC_TERMSLists all GBIF terms in taxon group.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]alternativeNames()Array of alternative simple names in use for the term.StringgetGroup()The optional group the term is grouped in.booleanisClass()Informs if a term is generally used as a class term, i.e.booleanisDeprecated()static List<GbifTerm>listByGroup(String group)List all terms that belong to a given group.URInamespace()The namespace the terms are in.Stringprefix()A unique standard prefix representing the namespace.StringsimpleName()The simple term name without a namespace.StringtoString()static GbifTermvalueOf(String name)Returns the enum constant of this type with the specified name.static GbifTerm[]values()Returns an array containing the constants of this enum type, in the order they are declared.- 
Methods inherited from class java.lang.EnumcompareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 - 
Methods inherited from interface org.gbif.dwc.terms.TermprefixedName, qualifiedName
 
- 
 
- 
- 
- 
Enum Constant Detail- 
Descriptionpublic static final GbifTerm Description The GBIF Taxon Description extension row type.
 - 
Distributionpublic static final GbifTerm Distribution The GBIF Species Distribution extension row type.
 - 
Identifierpublic static final GbifTerm Identifier The GBIF Alternative Identifiers extension row type.
 - 
Imagepublic static final GbifTerm Image The deprecated GBIF Simple Images extension row type.
 - 
Referencepublic static final GbifTerm Reference The GBIF Literature References extension row type.
 - 
SpeciesProfilepublic static final GbifTerm SpeciesProfile The GBIF Species Profile extension row type.
 - 
TypesAndSpecimenpublic static final GbifTerm TypesAndSpecimen The GBIF Types and Specimen extension row type.
 - 
VernacularNamepublic static final GbifTerm VernacularName The GBIF Vernacular Names extension row type.
 - 
Multimediapublic static final GbifTerm Multimedia The GBIF Simple Multimedia extension row type.
 - 
datasetKeypublic static final GbifTerm datasetKey The UUID key for the dataset registered in GBIF.
 - 
publishingCountrypublic static final GbifTerm publishingCountry The ISO 3166 2-letter code of the country of the organization that publishes the dataset to which the occurrence belongs.
 - 
gbifIDpublic static final GbifTerm gbifID Numerical, stable identifier assigned by GBIF to an Occurrence record.
 - 
lastInterpretedpublic static final GbifTerm lastInterpreted Timestamp of the last time the record was (re)interpreted by GBIF.
 - 
coordinateAccuracy@Deprecated public static final GbifTerm coordinateAccuracy Deprecated.The uncertainty radius for the latitude and longitude in decimal degrees.
 - 
elevationpublic static final GbifTerm elevation Elevation in metres above sea level (altitude).The elevation is the absolute vertical position of the observed location (z-coordinate). If depth is given or not will not impact the 3-dimensional position. For example a location 100m below the surface of a lake in 2000m altitude has a depth of 100 and an elevation of 1900. If minimum and maximum values are given the elevation is calculated using the equation: (minimumElevationInMeters + maximumElevationInMeters) / 2. For consistency and ease of use GBIF decided to always use a value in metres plus its accuracy instead of min/max values which are sometimes used in Darwin Core. See also depth & distanceAboveSurface.
 - 
elevationAccuracypublic static final GbifTerm elevationAccuracy Elevation accuracy is the uncertainty for the elevation in metres.The elevation accuracy is calculated using the equation: (maximumElevationInMeters - minimumElevationInMeters) / 2in case a minimum and maximum verbatim value is given.
 - 
depthpublic static final GbifTerm depth Depth in metres below the surface.Complimentary and relative to elevation, depth indicates the distance to the earth surface, whether that is water or ground. For example a location 100m below the surface of a lake in 2000m altitude has a depth of 100 and an elevation of 1900. The depth is calculated using the equation: (minimumDepthInMeters + maximumDepthInMeters) / 2. For consistency and ease of use GBIF decided to always use a value in meters plus it's accuracy instead of min/max values which are sometimes used in Darwin Core. See also elevation & distanceAboveSurface.
 - 
depthAccuracypublic static final GbifTerm depthAccuracy Depth accuracy is the uncertainty for the depth in metres.The depth accuracy is calculated using the equation: (maximumDepthInMeters - minimumDepthInMeters) / 2in case a minimum and maximum verbatim value is given.
 - 
distanceAboveSurface@Deprecated public static final GbifTerm distanceAboveSurface Deprecated.Replaced by Darwin Core terms dwc:minimumDistanceAboveSurfaceInMeters and dwc:maximumDistanceAboveSurfaceInMeters.
 - 
distanceAboveSurfaceAccuracy@Deprecated public static final GbifTerm distanceAboveSurfaceAccuracy Deprecated.Replaced by Darwin Core terms dwc:minimumDistanceAboveSurfaceInMeters and dwc:maximumDistanceAboveSurfaceInMeters.
 - 
distanceFromCentroidInMeterspublic static final GbifTerm distanceFromCentroidInMeters The distance in metres from a known centroid, e.g. a country centroid.
 - 
issuepublic static final GbifTerm issue Any issue found during processing and interpretation or the record. See OccurrenceIssue enumeration for possible values.
 - 
taxonomicIssuepublic static final GbifTerm taxonomicIssue Issue found during processing and interpretation or the record related to a specific checklist. See OccurrenceIssue enumeration for possible values.
 - 
nonTaxonomicIssuepublic static final GbifTerm nonTaxonomicIssue Issue found during processing and interpretation or the record that are non-taxonomic.
 - 
mediaTypepublic static final GbifTerm mediaType The media type given as Dublin Core type values, in particular StillImage, MovingImage or Sound.
 - 
infraspecificMarkerpublic static final GbifTerm infraspecificMarker 
 - 
typeDesignatedBypublic static final GbifTerm typeDesignatedBy 
 - 
typeDesignationTypepublic static final GbifTerm typeDesignationType 
 - 
hasCoordinatepublic static final GbifTerm hasCoordinate Boolean indicating that a valid latitude and longitude exists. Even if existing it might still have issues, see hasGeospatialIssues and issue.
 - 
hasGeospatialIssuespublic static final GbifTerm hasGeospatialIssues Boolean indicating that some spatial validation rule has not passed. Primarily used to indicate that the record should not be displayed on a map.
 - 
checklistKeypublic static final GbifTerm checklistKey The checklist key.The taxonomic checklist to use when search using a taxonKey, a higher taxonKey e.g. phylumKey or when searching with a scientific name 
 - 
taxonKeypublic static final GbifTerm taxonKey The GBIF backbone key.The best matching, accepted GBIF backbone name usage representing this occurrence. In case the verbatim scientific name and its classification can only be matched to a higher rank this will represent the lowest matching rank. In the worst case this could just be for example Animalia. In contrast dwc:taxonID is only used for the source ids similar to occurrenceID 
 - 
acceptedTaxonKeypublic static final GbifTerm acceptedTaxonKey The GBIF backbone key of the accepted taxon key.
 - 
kingdomKeypublic static final GbifTerm kingdomKey The key to the accepted kingdom in the GBIF backbone.
 - 
phylumKeypublic static final GbifTerm phylumKey The key to the accepted phylum in the GBIF backbone.
 - 
familyKeypublic static final GbifTerm familyKey The key to the accepted family in the GBIF backbone.
 - 
subgenusKeypublic static final GbifTerm subgenusKey The key to the accepted subgenus in the GBIF backbone.
 - 
speciesKeypublic static final GbifTerm speciesKey The backbone key to the accepted species. In case the taxonKey is of a higher rank than species (e.g. genus) speciesKey is null. In case taxonKey represents an infraspecific taxon the speciesKey points to the species the infraspecies is classified as. In case of taxonKey being a species the speciesKey is the same.
 - 
speciespublic static final GbifTerm species The canonical name without authorship of the accepted species.
 - 
canonicalNamepublic static final GbifTerm canonicalName 
 - 
acceptedScientificNamepublic static final GbifTerm acceptedScientificName The scientific name the type associated acceptedNubKey.
 - 
verbatimScientificNamepublic static final GbifTerm verbatimScientificName Scientific name as provided by the source.
 - 
typifiedNamepublic static final GbifTerm typifiedName The scientific name the type status of this specimen applies to. Term proposed in Darwin Core, but not yet ratified.
 - 
protocolpublic static final GbifTerm protocol The kind of protocol used when the record was last crawled by GBIF. See EndpointType enumeration for possible values.
 - 
lastParsedpublic static final GbifTerm lastParsed The date this record was last parsed from raw xml/json into a verbatim GBIF record.
 - 
lastCrawledpublic static final GbifTerm lastCrawled The date this record was last crawled/harvested by GBIF from the endpoint.
 - 
isFreshwaterpublic static final GbifTerm isFreshwater 
 - 
isTerrestrialpublic static final GbifTerm isTerrestrial 
 - 
isInvasivepublic static final GbifTerm isInvasive 
 - 
livingPeriodpublic static final GbifTerm livingPeriod 
 - 
sizeInMillimeterspublic static final GbifTerm sizeInMillimeters 
 - 
massInGramspublic static final GbifTerm massInGrams 
 - 
organismPartpublic static final GbifTerm organismPart 
 - 
isPreferredNamepublic static final GbifTerm isPreferredName 
 - 
appendixCITESpublic static final GbifTerm appendixCITES 
 - 
numberOfOccurrencespublic static final GbifTerm numberOfOccurrences 
 - 
repatriatedpublic static final GbifTerm repatriated Boolean indicating if the publishing country is different to the location country.
 - 
relativeOrganismQuantitypublic static final GbifTerm relativeOrganismQuantity Calculated relative organism quantity, based on organism and sample measure types
 - 
projectIdpublic static final GbifTerm projectId An identifier for a project to which a record belongs.
 - 
isSequencedpublic static final GbifTerm isSequenced Flag occurrence when associatedSequences/extension exists
 - 
gbifRegionpublic static final GbifTerm gbifRegion GBIF region based on country code
 - 
publishedByGbifRegionpublic static final GbifTerm publishedByGbifRegion GBIF region based on publishing country code
 - 
geologicalTimepublic static final GbifTerm geologicalTime 
 - 
lithostratigraphypublic static final GbifTerm lithostratigraphy 
 - 
biostratigraphypublic static final GbifTerm biostratigraphy 
 - 
dnaSequenceIDpublic static final GbifTerm dnaSequenceID 
 
- 
 - 
Field Detail- 
GROUP_CRAWLINGpublic static final String GROUP_CRAWLING - See Also:
- Constant Field Values
 
 - 
GROUP_DATASETpublic static final String GROUP_DATASET - See Also:
- Constant Field Values
 
 - 
GROUP_ROW_TYPEpublic static final String GROUP_ROW_TYPE - See Also:
- Constant Field Values
 
 - 
GROUP_SPECIES_DISTRIBUTION_EXTENSIONpublic static final String GROUP_SPECIES_DISTRIBUTION_EXTENSION - See Also:
- Constant Field Values
 
 - 
GROUP_SPECIES_PROFILE_EXTENSIONpublic static final String GROUP_SPECIES_PROFILE_EXTENSION - See Also:
- Constant Field Values
 
 - 
GROUP_VERNACULAR_NAME_EXTENSIONpublic static final String GROUP_VERNACULAR_NAME_EXTENSION - See Also:
- Constant Field Values
 
 - 
GROUP_DNA_DERIVED_DATApublic static final String GROUP_DNA_DERIVED_DATA - See Also:
- Constant Field Values
 
 - 
TAXONOMIC_TERMSpublic static final GbifTerm[] TAXONOMIC_TERMS Lists all GBIF terms in taxon group.
 
- 
 - 
Method Detail- 
valuespublic static GbifTerm[] 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 (GbifTerm c : GbifTerm.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static GbifTerm 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 name
- NullPointerException- if the argument is null
 
 - 
simpleNamepublic String simpleName() The simple term name without a namespace. For example taxonKey.- Specified by:
- simpleNamein interface- Term
- Returns:
- simple term name
 
 - 
alternativeNamespublic String[] alternativeNames() Array of alternative simple names in use for the term.- Specified by:
- alternativeNamesin interface- AlternativeNames
- Returns:
- simple term name
 
 - 
getGrouppublic String getGroup() The optional group the term is grouped in. For example Occurrence, Taxon, etc.
 - 
listByGrouppublic static List<GbifTerm> listByGroup(String group) List all terms that belong to a given group.- Parameters:
- group- the group to list terms for
- Returns:
- the list of GBIF terms in the given group
 
 - 
isClasspublic boolean isClass() Description copied from interface:TermInforms if a term is generally used as a class term, i.e. defining rowTypes not properties. For example VernacularName, Taxon or Occurrence
 - 
prefixpublic String prefix() Description copied from interface:TermA unique standard prefix representing the namespace. For example dwc.
 - 
namespacepublic URI namespace() Description copied from interface:TermThe namespace the terms are in. Default implementations here expect the namespace to end with a slash.
 - 
isDeprecatedpublic boolean isDeprecated() - Returns:
- true if the Term is annotated with @Deprecated.
 
 
- 
 
-