Package org.gbif.api.vocabulary
Enum OccurrenceIssue
- java.lang.Object
-
- java.lang.Enum<OccurrenceIssue>
-
- org.gbif.api.vocabulary.OccurrenceIssue
-
- All Implemented Interfaces:
Serializable
,Comparable<OccurrenceIssue>
,InterpretationRemark
public enum OccurrenceIssue extends Enum<OccurrenceIssue> implements InterpretationRemark
An enumeration of validation rules for single occurrence records.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGE_OR_STAGE_INFERRED_FROM_PARENT_RANK
Age or stage was inferred from a parent rank.AGE_OR_STAGE_INVALID_RANGE
The age or stage has to be earlier than the latest.AGE_OR_STAGE_RANK_MISMATCH
The age or stage provided belongs to another rank.AMBIGUOUS_COLLECTION
The given collection matches with more than 1 GRSciColl collection.AMBIGUOUS_INSTITUTION
The given institution matches with more than 1 GRSciColl institution.BASIS_OF_RECORD_INVALID
The given basis of record is impossible to interpret or significantly different from the recommended vocabulary.COLLECTION_MATCH_FUZZY
The given collection was fuzzily matched to a GRSciColl collection.COLLECTION_MATCH_NONE
The given collection couldn't be matched with any GRSciColl collection.CONTINENT_COORDINATE_MISMATCH
The interpreted occurrence coordinates fall outside of the indicated continent.CONTINENT_COUNTRY_MISMATCH
The interpreted continent and country do not match.CONTINENT_DERIVED_FROM_COORDINATES
The interpreted continent is based on the coordinates, not the verbatim string information.CONTINENT_DERIVED_FROM_COUNTRY
The interpreted continent is based on the country, not the verbatim string information.CONTINENT_INVALID
Uninterpretable continent values found.COORDINATE_ACCURACY_INVALID
Deprecated.COORDINATE_INVALID
Coordinate value is given in some form but GBIF is unable to interpret it.COORDINATE_OUT_OF_RANGE
Coordinate has a latitude and/or longitude value beyond the maximum (or minimum) decimal value.COORDINATE_PRECISION_INVALID
Indicates an invalid or very unlikely coordinatePrecisionCOORDINATE_PRECISION_UNCERTAINTY_MISMATCH
Deprecated.COORDINATE_REPROJECTED
The original coordinate was successfully reprojected from a different geodetic datum to WGS84.COORDINATE_REPROJECTION_FAILED
The given decimal latitude and longitude could not be reprojected to WGS84 based on the provided datum.COORDINATE_REPROJECTION_SUSPICIOUS
Indicates successful coordinate reprojection according to provided datum, but which results in a datum shift larger than 0.1 decimal degrees.COORDINATE_ROUNDED
Original coordinate modified by rounding to 5 decimals.COORDINATE_UNCERTAINTY_METERS_INVALID
Indicates an invalid or very unlikely dwc:uncertaintyInMeters.COUNTRY_COORDINATE_MISMATCH
The interpreted occurrence coordinates fall outside of the indicated country.COUNTRY_DERIVED_FROM_COORDINATES
The interpreted country is based on the coordinates, not the verbatim string information.COUNTRY_INVALID
Uninterpretable country values found.COUNTRY_MISMATCH
Interpreted country for dwc:country and dwc:countryCode contradict each other.DEPTH_MIN_MAX_SWAPPED
Set if supplied minimum depth > maximum depthDEPTH_NON_NUMERIC
Set if depth is a non-numeric valueDEPTH_NOT_METRIC
Set if supplied depth is not given in the metric system, for example using feet instead of metersDEPTH_UNLIKELY
Set if depth is larger than 11,000m or negative.DIFFERENT_OWNER_INSTITUTION
The given owner institution is different than the given institution.ELEVATION_MIN_MAX_SWAPPED
Set if supplied minimum elevation > maximum elevationELEVATION_NON_NUMERIC
Set if elevation is a non-numeric valueELEVATION_NOT_METRIC
Set if supplied elevation is not given in the metric system, for example using feet instead of metersELEVATION_UNLIKELY
Set if elevation is above the troposphere (17km) or below 11km (Mariana Trench).EON_OR_EONOTHEM_AND_ERA_OR_ERATHEM_MISMATCH
The era or erathem don't belong to the eon or eonothem.EON_OR_EONOTHEM_INVALID_RANGE
The earliest eon or eonothem has to be earlier than the latest.EON_OR_EONOTHEM_RANK_MISMATCH
The eon or eonothem provided belongs to another rank.EPOCH_OR_SERIES_AND_AGE_OR_STAGE_MISMATCH
The age or stage don't belong to the epoch or series.EPOCH_OR_SERIES_INFERRED_FROM_PARENT_RANK
Epoch or series was inferred from a parent rank.EPOCH_OR_SERIES_INVALID_RANGE
The period or series has to be earlier than the latest.EPOCH_OR_SERIES_RANK_MISMATCH
The period or series provided belongs to another rank.ERA_OR_ERATHEM_AND_PERIOD_OR_SYSTEM_MISMATCH
The period or system don't belong to the era or erathem.ERA_OR_ERATHEM_INFERRED_FROM_PARENT_RANK
Era or erathem was inferred from a parent rank.ERA_OR_ERATHEM_INVALID_RANGE
The era or erathem has to be earlier than the latest.ERA_OR_ERATHEM_RANK_MISMATCH
The era or erathem provided belongs to another rank.FOOTPRINT_SRS_INVALID
The Footprint Spatial Reference System given could not be interpreted.FOOTPRINT_WKT_INVALID
The Footprint Well-Known-Text given could not be interpreted.FOOTPRINT_WKT_MISMATCH
The Footprint Well-Known-Text conflicts with the interpreted coordinates (Decimal Latitude, Decimal Longitude etc).GEODETIC_DATUM_ASSUMED_WGS84
Indicating that the interpreted coordinates assume they are based on WGS84 datum as the datum was either not indicated or interpretable.GEODETIC_DATUM_INVALID
The geodetic datum given could not be interpreted.GEOREFERENCED_DATE_INVALID
The date given for dwc:georeferencedDate is invalid and can't be interpreted at all.GEOREFERENCED_DATE_UNLIKELY
The date given for dwc:georeferencedDate is in the future or before Linnean times (1700).IDENTIFIED_DATE_INVALID
The date given for dwc:dateIdentified is invalid and can't be interpreted at all.IDENTIFIED_DATE_UNLIKELY
The date given for dwc:dateIdentified is in the future or before Linnean times (1700).INDIVIDUAL_COUNT_CONFLICTS_WITH_OCCURRENCE_STATUS
Example: individual count value > 0, but occurrence status is absent.INDIVIDUAL_COUNT_INVALID
The individual count value is not a positive integerINSTITUTION_COLLECTION_MISMATCH
The collection matched doesn't belong to the institution matched.INSTITUTION_MATCH_FUZZY
The given institution was fuzzily matched to a GRSciColl institution.INSTITUTION_MATCH_NONE
The given institution couldn't be matched with any GRSciColl institution.INTERPRETATION_ERROR
An error occurred during interpretation, leaving the record interpretation incomplete.MODIFIED_DATE_INVALID
A (partial) invalid date is given for dc:modified, such as a nonexistent date, zero month, etc.MODIFIED_DATE_UNLIKELY
The date given for dc:modified is in the future or predates Unix time (1970).MULTIMEDIA_DATE_INVALID
An invalid date is given for dc:created of a multimedia object.MULTIMEDIA_URI_INVALID
An invalid URI is given for a multimedia object.OCCURRENCE_STATUS_INFERRED_FROM_BASIS_OF_RECORD
Occurrence status was inferred from basis of recordsOCCURRENCE_STATUS_INFERRED_FROM_INDIVIDUAL_COUNT
Occurrence status was inferred from the individual count valueOCCURRENCE_STATUS_UNPARSABLE
Occurrence status value can't be assigned toOccurrenceStatus
PERIOD_OR_SYSTEM_AND_EPOCH_OR_SERIES_MISMATCH
The epoch or series don't belong to the period or system.PERIOD_OR_SYSTEM_INFERRED_FROM_PARENT_RANK
Period or system was inferred from a parent rank.PERIOD_OR_SYSTEM_INVALID_RANGE
The period or system has to be earlier than the latest.PERIOD_OR_SYSTEM_RANK_MISMATCH
The period or system provided belongs to another rank.POSSIBLY_ON_LOAN
Deprecated.PRESUMED_NEGATED_LATITUDE
Latitude appears to be negated, e.g.PRESUMED_NEGATED_LONGITUDE
Longitude appears to be negated, e.g.PRESUMED_SWAPPED_COORDINATE
Latitude and longitude appear to be swapped.RECORDED_DATE_INVALID
A (partial) invalid date is given, such as a non-existent date, zero month, etc.RECORDED_DATE_MISMATCH
The recorded date specified as the eventDate string and the individual year, month, day and/or startDayOfYear, endDayOfYear are contradictory.RECORDED_DATE_UNLIKELY
The recorded date is highly unlikely, falling either into the future or representing a very old date before 1600 thus predating modern taxonomy.REFERENCES_URI_INVALID
An invalid URI is given for dc:references.SCIENTIFIC_NAME_AND_ID_INCONSISTENT
The scientificName provided in the occurrence record does not precisely match the name in the registered checklist when using the scientificNameID, taxonID or taxonConceptID to look it up.SCIENTIFIC_NAME_ID_NOT_FOUND
The scientificNameID matched a known pattern, but it was not found in the associated checklist.SUSPECTED_TYPE
The given type status contains some words that express uncertainty.TAXON_CONCEPT_ID_NOT_FOUND
The taxonConceptID matched a known pattern, but it was not found in the associated checklist.TAXON_ID_NOT_FOUND
The taxonID matched a known pattern, but it was not found in the associated checklist.TAXON_MATCH_AGGREGATE
Matching to the taxonomic backbone can only be done on a species level, but the occurrence was in fact considered a broader species aggregate/complex.TAXON_MATCH_FUZZY
Matching to the taxonomic backbone can only be done using a fuzzy, non-exact match.TAXON_MATCH_HIGHERRANK
Matching to the taxonomic backbone can only be done on a higher rank and not the scientific name.TAXON_MATCH_NAME_AND_ID_AMBIGUOUS
The GBIF Backbone concept was found using the scientificNameID, taxonID or taxonConceptID, but it differs from what would have been found if the classification names on the record were used.TAXON_MATCH_NONE
Matching to the taxonomic backbone cannot be done because there was no match at all, or several matches with too little information to keep them apart (potentially homonyms).TAXON_MATCH_SCIENTIFIC_NAME_ID_IGNORED
The scientificNameID was not used when mapping the record to the GBIF backbone.TAXON_MATCH_TAXON_CONCEPT_ID_IGNORED
The taxonConceptID was not used when mapping the record to the GBIF backbone.TAXON_MATCH_TAXON_ID_IGNORED
The taxonID was not used when mapping the record to the GBIF backbone.TYPE_STATUS_INVALID
The given type status is impossible to interpret or significantly different from the recommended vocabulary.ZERO_COORDINATE
Coordinate is the exact 0°, 0° coordinate, often indicating a bad null coordinate.
-
Field Summary
Fields Modifier and Type Field Description static List<OccurrenceIssue>
GEOSPATIAL_RULES
All issues that indicate problems with the coordinates and thus should not be shown on maps.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Returns the identifier of theInterpretationRemark
.Set<Term>
getRelatedTerms()
InterpretationRemarkSeverity
getSeverity()
Returns the default severity of thisInterpretationRemark
.boolean
isDeprecated()
Checks if theInterpretationRemark
is deprecated or not.static OccurrenceIssue
valueOf(String name)
Returns the enum constant of this type with the specified name.static OccurrenceIssue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZERO_COORDINATE
public static final OccurrenceIssue ZERO_COORDINATE
Coordinate is the exact 0°, 0° coordinate, often indicating a bad null coordinate.
-
COORDINATE_OUT_OF_RANGE
public static final OccurrenceIssue COORDINATE_OUT_OF_RANGE
Coordinate has a latitude and/or longitude value beyond the maximum (or minimum) decimal value.
-
COORDINATE_INVALID
public static final OccurrenceIssue COORDINATE_INVALID
Coordinate value is given in some form but GBIF is unable to interpret it.
-
COORDINATE_ROUNDED
public static final OccurrenceIssue COORDINATE_ROUNDED
Original coordinate modified by rounding to 5 decimals.
-
GEODETIC_DATUM_INVALID
public static final OccurrenceIssue GEODETIC_DATUM_INVALID
The geodetic datum given could not be interpreted.
-
GEODETIC_DATUM_ASSUMED_WGS84
public static final OccurrenceIssue GEODETIC_DATUM_ASSUMED_WGS84
Indicating that the interpreted coordinates assume they are based on WGS84 datum as the datum was either not indicated or interpretable. See GEODETIC_DATUM_INVALID.
-
COORDINATE_REPROJECTED
public static final OccurrenceIssue COORDINATE_REPROJECTED
The original coordinate was successfully reprojected from a different geodetic datum to WGS84.
-
COORDINATE_REPROJECTION_FAILED
public static final OccurrenceIssue COORDINATE_REPROJECTION_FAILED
The given decimal latitude and longitude could not be reprojected to WGS84 based on the provided datum.
-
COORDINATE_REPROJECTION_SUSPICIOUS
public static final OccurrenceIssue COORDINATE_REPROJECTION_SUSPICIOUS
Indicates successful coordinate reprojection according to provided datum, but which results in a datum shift larger than 0.1 decimal degrees.
-
COORDINATE_ACCURACY_INVALID
@Deprecated public static final OccurrenceIssue COORDINATE_ACCURACY_INVALID
Deprecated.Indicates an invalid or very unlikely coordinate accuracy derived from precision or uncertainty in meters.
-
COORDINATE_PRECISION_INVALID
public static final OccurrenceIssue COORDINATE_PRECISION_INVALID
Indicates an invalid or very unlikely coordinatePrecision
-
COORDINATE_UNCERTAINTY_METERS_INVALID
public static final OccurrenceIssue COORDINATE_UNCERTAINTY_METERS_INVALID
Indicates an invalid or very unlikely dwc:uncertaintyInMeters.
-
COORDINATE_PRECISION_UNCERTAINTY_MISMATCH
@Deprecated public static final OccurrenceIssue COORDINATE_PRECISION_UNCERTAINTY_MISMATCH
Deprecated.There is a mismatch between coordinate uncertainty in meters and coordinate precision.
-
FOOTPRINT_SRS_INVALID
public static final OccurrenceIssue FOOTPRINT_SRS_INVALID
The Footprint Spatial Reference System given could not be interpreted.
-
FOOTPRINT_WKT_MISMATCH
public static final OccurrenceIssue FOOTPRINT_WKT_MISMATCH
The Footprint Well-Known-Text conflicts with the interpreted coordinates (Decimal Latitude, Decimal Longitude etc).
-
FOOTPRINT_WKT_INVALID
public static final OccurrenceIssue FOOTPRINT_WKT_INVALID
The Footprint Well-Known-Text given could not be interpreted.
-
COUNTRY_COORDINATE_MISMATCH
public static final OccurrenceIssue COUNTRY_COORDINATE_MISMATCH
The interpreted occurrence coordinates fall outside of the indicated country.
-
COUNTRY_MISMATCH
public static final OccurrenceIssue COUNTRY_MISMATCH
Interpreted country for dwc:country and dwc:countryCode contradict each other.
-
COUNTRY_INVALID
public static final OccurrenceIssue COUNTRY_INVALID
Uninterpretable country values found.
-
COUNTRY_DERIVED_FROM_COORDINATES
public static final OccurrenceIssue COUNTRY_DERIVED_FROM_COORDINATES
The interpreted country is based on the coordinates, not the verbatim string information.
-
CONTINENT_COORDINATE_MISMATCH
public static final OccurrenceIssue CONTINENT_COORDINATE_MISMATCH
The interpreted occurrence coordinates fall outside of the indicated continent.
-
CONTINENT_COUNTRY_MISMATCH
public static final OccurrenceIssue CONTINENT_COUNTRY_MISMATCH
The interpreted continent and country do not match.
-
CONTINENT_INVALID
public static final OccurrenceIssue CONTINENT_INVALID
Uninterpretable continent values found.
-
CONTINENT_DERIVED_FROM_COUNTRY
public static final OccurrenceIssue CONTINENT_DERIVED_FROM_COUNTRY
The interpreted continent is based on the country, not the verbatim string information.
-
CONTINENT_DERIVED_FROM_COORDINATES
public static final OccurrenceIssue CONTINENT_DERIVED_FROM_COORDINATES
The interpreted continent is based on the coordinates, not the verbatim string information.
-
PRESUMED_SWAPPED_COORDINATE
public static final OccurrenceIssue PRESUMED_SWAPPED_COORDINATE
Latitude and longitude appear to be swapped.
-
PRESUMED_NEGATED_LONGITUDE
public static final OccurrenceIssue PRESUMED_NEGATED_LONGITUDE
Longitude appears to be negated, e.g. 32.3 instead of -32.3
-
PRESUMED_NEGATED_LATITUDE
public static final OccurrenceIssue PRESUMED_NEGATED_LATITUDE
Latitude appears to be negated, e.g. 32.3 instead of -32.3
-
RECORDED_DATE_MISMATCH
public static final OccurrenceIssue RECORDED_DATE_MISMATCH
The recorded date specified as the eventDate string and the individual year, month, day and/or startDayOfYear, endDayOfYear are contradictory.
-
RECORDED_DATE_INVALID
public static final OccurrenceIssue RECORDED_DATE_INVALID
A (partial) invalid date is given, such as a non-existent date, zero month, etc.
-
RECORDED_DATE_UNLIKELY
public static final OccurrenceIssue RECORDED_DATE_UNLIKELY
The recorded date is highly unlikely, falling either into the future or representing a very old date before 1600 thus predating modern taxonomy.
-
TAXON_MATCH_FUZZY
public static final OccurrenceIssue TAXON_MATCH_FUZZY
Matching to the taxonomic backbone can only be done using a fuzzy, non-exact match.
-
TAXON_MATCH_HIGHERRANK
public static final OccurrenceIssue TAXON_MATCH_HIGHERRANK
Matching to the taxonomic backbone can only be done on a higher rank and not the scientific name.
-
TAXON_MATCH_AGGREGATE
public static final OccurrenceIssue TAXON_MATCH_AGGREGATE
Matching to the taxonomic backbone can only be done on a species level, but the occurrence was in fact considered a broader species aggregate/complex.- See Also:
- gbif/portal-feedback#2935
-
TAXON_MATCH_SCIENTIFIC_NAME_ID_IGNORED
public static final OccurrenceIssue TAXON_MATCH_SCIENTIFIC_NAME_ID_IGNORED
The scientificNameID was not used when mapping the record to the GBIF backbone. This may indicate one of- The ID uses a pattern not configured for use by GBIF
- The ID did not uniquely(!) identify a concept in the checklist
- The ID found a concept in the checklist which did not map to the backbone
- A different ID was used, or the record names were used as no ID lookup successfully linked to the backbone
- See Also:
- gbif/pipelines#217
-
TAXON_MATCH_TAXON_CONCEPT_ID_IGNORED
public static final OccurrenceIssue TAXON_MATCH_TAXON_CONCEPT_ID_IGNORED
The taxonConceptID was not used when mapping the record to the GBIF backbone. This may indicate one of- The ID uses a pattern not configured for use by GBIF
- The ID did not uniquely(!) identify a concept in the checklist
- The ID found a concept in the checklist which did not map to the backbone
- A different ID was used, or the record names were used as no ID lookup successfully linked to the backbone
- See Also:
- gbif/pipelines#217
-
TAXON_MATCH_TAXON_ID_IGNORED
public static final OccurrenceIssue TAXON_MATCH_TAXON_ID_IGNORED
The taxonID was not used when mapping the record to the GBIF backbone. This may indicate one of- The ID uses a pattern not configured for use by GBIF
- The ID did not uniquely(!) identify a concept in the checklist
- The ID found a concept in the checklist which did not map to the backbone
- A different ID was used, or the record names were used as no ID lookup successfully linked to the backbone
- See Also:
- gbif/pipelines#217
-
SCIENTIFIC_NAME_ID_NOT_FOUND
public static final OccurrenceIssue SCIENTIFIC_NAME_ID_NOT_FOUND
The scientificNameID matched a known pattern, but it was not found in the associated checklist. The backbone lookup was performed using either the names or a different ID on the record. This may indicate a poorly formatted identifier or may be caused by a newly created ID that isn't yet known in the version of the published checklist.- See Also:
- gbif/pipelines#217
-
TAXON_CONCEPT_ID_NOT_FOUND
public static final OccurrenceIssue TAXON_CONCEPT_ID_NOT_FOUND
The taxonConceptID matched a known pattern, but it was not found in the associated checklist. The backbone lookup was performed using either the names or a different ID on the record. This may indicate a poorly formatted identifier or may be caused by a newly created ID that isn't yet known in the version of the published checklist.- See Also:
- gbif/pipelines#217
-
TAXON_ID_NOT_FOUND
public static final OccurrenceIssue TAXON_ID_NOT_FOUND
The taxonID matched a known pattern, but it was not found in the associated checklist. The backbone lookup was performed using either the names or a different ID on the record. This may indicate a poorly formatted identifier or may be caused by a newly created ID that isn't yet known in the version of the published checklist.- See Also:
- gbif/pipelines#217
-
SCIENTIFIC_NAME_AND_ID_INCONSISTENT
public static final OccurrenceIssue SCIENTIFIC_NAME_AND_ID_INCONSISTENT
The scientificName provided in the occurrence record does not precisely match the name in the registered checklist when using the scientificNameID, taxonID or taxonConceptID to look it up. Publishers are advised to check the IDs are correct, or update the formatting of the names on their records.- See Also:
- gbif/pipelines#217
-
TAXON_MATCH_NONE
public static final OccurrenceIssue TAXON_MATCH_NONE
Matching to the taxonomic backbone cannot be done because there was no match at all, or several matches with too little information to keep them apart (potentially homonyms).
-
TAXON_MATCH_NAME_AND_ID_AMBIGUOUS
public static final OccurrenceIssue TAXON_MATCH_NAME_AND_ID_AMBIGUOUS
The GBIF Backbone concept was found using the scientificNameID, taxonID or taxonConceptID, but it differs from what would have been found if the classification names on the record were used. This may indicate a gap in the GBIF backbone, a poor mapping between the checklist and the backbone, or a mismatch between the classification names and the declared IDs (scientificNameID or taxonConceptID) on the occurrence record itself.- See Also:
- gbif/pipelines#217
-
DEPTH_NOT_METRIC
public static final OccurrenceIssue DEPTH_NOT_METRIC
Set if supplied depth is not given in the metric system, for example using feet instead of meters
-
DEPTH_UNLIKELY
public static final OccurrenceIssue DEPTH_UNLIKELY
Set if depth is larger than 11,000m or negative.
-
DEPTH_MIN_MAX_SWAPPED
public static final OccurrenceIssue DEPTH_MIN_MAX_SWAPPED
Set if supplied minimum depth > maximum depth
-
DEPTH_NON_NUMERIC
public static final OccurrenceIssue DEPTH_NON_NUMERIC
Set if depth is a non-numeric value
-
ELEVATION_UNLIKELY
public static final OccurrenceIssue ELEVATION_UNLIKELY
Set if elevation is above the troposphere (17km) or below 11km (Mariana Trench).
-
ELEVATION_MIN_MAX_SWAPPED
public static final OccurrenceIssue ELEVATION_MIN_MAX_SWAPPED
Set if supplied minimum elevation > maximum elevation
-
ELEVATION_NOT_METRIC
public static final OccurrenceIssue ELEVATION_NOT_METRIC
Set if supplied elevation is not given in the metric system, for example using feet instead of meters
-
ELEVATION_NON_NUMERIC
public static final OccurrenceIssue ELEVATION_NON_NUMERIC
Set if elevation is a non-numeric value
-
MODIFIED_DATE_INVALID
public static final OccurrenceIssue MODIFIED_DATE_INVALID
A (partial) invalid date is given for dc:modified, such as a nonexistent date, zero month, etc.
-
MODIFIED_DATE_UNLIKELY
public static final OccurrenceIssue MODIFIED_DATE_UNLIKELY
The date given for dc:modified is in the future or predates Unix time (1970).
-
IDENTIFIED_DATE_UNLIKELY
public static final OccurrenceIssue IDENTIFIED_DATE_UNLIKELY
The date given for dwc:dateIdentified is in the future or before Linnean times (1700).
-
IDENTIFIED_DATE_INVALID
public static final OccurrenceIssue IDENTIFIED_DATE_INVALID
The date given for dwc:dateIdentified is invalid and can't be interpreted at all.
-
BASIS_OF_RECORD_INVALID
public static final OccurrenceIssue BASIS_OF_RECORD_INVALID
The given basis of record is impossible to interpret or significantly different from the recommended vocabulary.
-
TYPE_STATUS_INVALID
public static final OccurrenceIssue TYPE_STATUS_INVALID
The given type status is impossible to interpret or significantly different from the recommended vocabulary.
-
SUSPECTED_TYPE
public static final OccurrenceIssue SUSPECTED_TYPE
The given type status contains some words that express uncertainty.
-
MULTIMEDIA_DATE_INVALID
public static final OccurrenceIssue MULTIMEDIA_DATE_INVALID
An invalid date is given for dc:created of a multimedia object.
-
MULTIMEDIA_URI_INVALID
public static final OccurrenceIssue MULTIMEDIA_URI_INVALID
An invalid URI is given for a multimedia object.
-
REFERENCES_URI_INVALID
public static final OccurrenceIssue REFERENCES_URI_INVALID
An invalid URI is given for dc:references.
-
INTERPRETATION_ERROR
public static final OccurrenceIssue INTERPRETATION_ERROR
An error occurred during interpretation, leaving the record interpretation incomplete.
-
INDIVIDUAL_COUNT_INVALID
public static final OccurrenceIssue INDIVIDUAL_COUNT_INVALID
The individual count value is not a positive integer
-
INDIVIDUAL_COUNT_CONFLICTS_WITH_OCCURRENCE_STATUS
public static final OccurrenceIssue INDIVIDUAL_COUNT_CONFLICTS_WITH_OCCURRENCE_STATUS
Example: individual count value > 0, but occurrence status is absent.
-
OCCURRENCE_STATUS_UNPARSABLE
public static final OccurrenceIssue OCCURRENCE_STATUS_UNPARSABLE
Occurrence status value can't be assigned toOccurrenceStatus
-
OCCURRENCE_STATUS_INFERRED_FROM_INDIVIDUAL_COUNT
public static final OccurrenceIssue OCCURRENCE_STATUS_INFERRED_FROM_INDIVIDUAL_COUNT
Occurrence status was inferred from the individual count value
-
OCCURRENCE_STATUS_INFERRED_FROM_BASIS_OF_RECORD
public static final OccurrenceIssue OCCURRENCE_STATUS_INFERRED_FROM_BASIS_OF_RECORD
Occurrence status was inferred from basis of records
-
GEOREFERENCED_DATE_UNLIKELY
public static final OccurrenceIssue GEOREFERENCED_DATE_UNLIKELY
The date given for dwc:georeferencedDate is in the future or before Linnean times (1700).
-
GEOREFERENCED_DATE_INVALID
public static final OccurrenceIssue GEOREFERENCED_DATE_INVALID
The date given for dwc:georeferencedDate is invalid and can't be interpreted at all.
-
AMBIGUOUS_INSTITUTION
public static final OccurrenceIssue AMBIGUOUS_INSTITUTION
The given institution matches with more than 1 GRSciColl institution.
-
AMBIGUOUS_COLLECTION
public static final OccurrenceIssue AMBIGUOUS_COLLECTION
The given collection matches with more than 1 GRSciColl collection.
-
INSTITUTION_MATCH_NONE
public static final OccurrenceIssue INSTITUTION_MATCH_NONE
The given institution couldn't be matched with any GRSciColl institution.
-
COLLECTION_MATCH_NONE
public static final OccurrenceIssue COLLECTION_MATCH_NONE
The given collection couldn't be matched with any GRSciColl collection.
-
INSTITUTION_MATCH_FUZZY
public static final OccurrenceIssue INSTITUTION_MATCH_FUZZY
The given institution was fuzzily matched to a GRSciColl institution. This can happen when either the code or the ID don't match or when the institution name is used instead of the code.
-
COLLECTION_MATCH_FUZZY
public static final OccurrenceIssue COLLECTION_MATCH_FUZZY
The given collection was fuzzily matched to a GRSciColl collection. This can happen when either the code or the ID don't match or when the collection name is used instead of the code.
-
INSTITUTION_COLLECTION_MISMATCH
public static final OccurrenceIssue INSTITUTION_COLLECTION_MISMATCH
The collection matched doesn't belong to the institution matched.
-
POSSIBLY_ON_LOAN
@Deprecated public static final OccurrenceIssue POSSIBLY_ON_LOAN
Deprecated.The given owner institution is different than the given institution. Therefore we assume it could be on loan and we don't link it to the occurrence.Deprecated by
DIFFERENT_OWNER_INSTITUTION
.
-
DIFFERENT_OWNER_INSTITUTION
public static final OccurrenceIssue DIFFERENT_OWNER_INSTITUTION
The given owner institution is different than the given institution. Therefore we assume it doesn't belong to the institution and we don't link it to the occurrence.
-
ERA_OR_ERATHEM_INFERRED_FROM_PARENT_RANK
public static final OccurrenceIssue ERA_OR_ERATHEM_INFERRED_FROM_PARENT_RANK
Era or erathem was inferred from a parent rank.
-
PERIOD_OR_SYSTEM_INFERRED_FROM_PARENT_RANK
public static final OccurrenceIssue PERIOD_OR_SYSTEM_INFERRED_FROM_PARENT_RANK
Period or system was inferred from a parent rank.
-
EPOCH_OR_SERIES_INFERRED_FROM_PARENT_RANK
public static final OccurrenceIssue EPOCH_OR_SERIES_INFERRED_FROM_PARENT_RANK
Epoch or series was inferred from a parent rank.
-
AGE_OR_STAGE_INFERRED_FROM_PARENT_RANK
public static final OccurrenceIssue AGE_OR_STAGE_INFERRED_FROM_PARENT_RANK
Age or stage was inferred from a parent rank.
-
EON_OR_EONOTHEM_RANK_MISMATCH
public static final OccurrenceIssue EON_OR_EONOTHEM_RANK_MISMATCH
The eon or eonothem provided belongs to another rank.
-
ERA_OR_ERATHEM_RANK_MISMATCH
public static final OccurrenceIssue ERA_OR_ERATHEM_RANK_MISMATCH
The era or erathem provided belongs to another rank.
-
PERIOD_OR_SYSTEM_RANK_MISMATCH
public static final OccurrenceIssue PERIOD_OR_SYSTEM_RANK_MISMATCH
The period or system provided belongs to another rank.
-
EPOCH_OR_SERIES_RANK_MISMATCH
public static final OccurrenceIssue EPOCH_OR_SERIES_RANK_MISMATCH
The period or series provided belongs to another rank.
-
AGE_OR_STAGE_RANK_MISMATCH
public static final OccurrenceIssue AGE_OR_STAGE_RANK_MISMATCH
The age or stage provided belongs to another rank.
-
EON_OR_EONOTHEM_INVALID_RANGE
public static final OccurrenceIssue EON_OR_EONOTHEM_INVALID_RANGE
The earliest eon or eonothem has to be earlier than the latest.
-
ERA_OR_ERATHEM_INVALID_RANGE
public static final OccurrenceIssue ERA_OR_ERATHEM_INVALID_RANGE
The era or erathem has to be earlier than the latest.
-
PERIOD_OR_SYSTEM_INVALID_RANGE
public static final OccurrenceIssue PERIOD_OR_SYSTEM_INVALID_RANGE
The period or system has to be earlier than the latest.
-
EPOCH_OR_SERIES_INVALID_RANGE
public static final OccurrenceIssue EPOCH_OR_SERIES_INVALID_RANGE
The period or series has to be earlier than the latest.
-
AGE_OR_STAGE_INVALID_RANGE
public static final OccurrenceIssue AGE_OR_STAGE_INVALID_RANGE
The age or stage has to be earlier than the latest.
-
EON_OR_EONOTHEM_AND_ERA_OR_ERATHEM_MISMATCH
public static final OccurrenceIssue EON_OR_EONOTHEM_AND_ERA_OR_ERATHEM_MISMATCH
The era or erathem don't belong to the eon or eonothem.
-
ERA_OR_ERATHEM_AND_PERIOD_OR_SYSTEM_MISMATCH
public static final OccurrenceIssue ERA_OR_ERATHEM_AND_PERIOD_OR_SYSTEM_MISMATCH
The period or system don't belong to the era or erathem.
-
PERIOD_OR_SYSTEM_AND_EPOCH_OR_SERIES_MISMATCH
public static final OccurrenceIssue PERIOD_OR_SYSTEM_AND_EPOCH_OR_SERIES_MISMATCH
The epoch or series don't belong to the period or system.
-
EPOCH_OR_SERIES_AND_AGE_OR_STAGE_MISMATCH
public static final OccurrenceIssue EPOCH_OR_SERIES_AND_AGE_OR_STAGE_MISMATCH
The age or stage don't belong to the epoch or series.
-
-
Field Detail
-
GEOSPATIAL_RULES
public static final List<OccurrenceIssue> GEOSPATIAL_RULES
All issues that indicate problems with the coordinates and thus should not be shown on maps.
-
-
Method Detail
-
values
public static OccurrenceIssue[] 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 (OccurrenceIssue c : OccurrenceIssue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OccurrenceIssue 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
-
getId
public String getId()
Description copied from interface:InterpretationRemark
Returns the identifier of theInterpretationRemark
. This is normally implemented to return the result ofEnum.name()
. Potential name clashes are detected by unit tests.- Specified by:
getId
in interfaceInterpretationRemark
- Returns:
- identifier of the
InterpretationRemark
. Never null.
-
getRelatedTerms
public Set<Term> getRelatedTerms()
Description copied from interface:InterpretationRemark
- Specified by:
getRelatedTerms
in interfaceInterpretationRemark
- Returns:
Set
ofTerm
or emptySet
. Never null.
-
getSeverity
public InterpretationRemarkSeverity getSeverity()
Description copied from interface:InterpretationRemark
Returns the default severity of thisInterpretationRemark
. Severity can be relative to the context and profile. ThisInterpretationRemarkSeverity
should be seen as the default severity in the general context of interpretation.- Specified by:
getSeverity
in interfaceInterpretationRemark
- Returns:
- default severity of this
InterpretationRemark
. Never null.
-
isDeprecated
public boolean isDeprecated()
Description copied from interface:InterpretationRemark
Checks if theInterpretationRemark
is deprecated or not.- Specified by:
isDeprecated
in interfaceInterpretationRemark
- Returns:
- true if the
InterpretationRemark
is marked with @Deprecated.
-
-