Package org.gbif.api.model.event
Class Event
- java.lang.Object
-
- org.gbif.api.model.occurrence.VerbatimOccurrence
-
- org.gbif.api.model.event.Event
-
public class Event extends VerbatimOccurrence
Event class based on https://dwc.tdwg.org/terms/#event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Event.ParentLineage
static class
Event.VocabularyConcept
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Event
fromOccurrence(Occurrence occurrence)
String
getGeodeticDatum()
The geodetic datum for the interpreted decimal coordinates.boolean
hasSpatialIssue()
Convenience method checking if any spatial validation rule has not passed.-
Methods inherited from class org.gbif.api.model.occurrence.VerbatimOccurrence
equals, getCrawlId, getDatasetKey, getExtensions, getHostingOrganizationKey, getInstallationKey, getKey, getLastCrawled, getLastParsed, getNetworkKeys, getProgrammeAcronym, getProjectId, getProtocol, getPublishedByGbifRegion, getPublishingCountry, getPublishingOrgKey, getVerbatimField, getVerbatimFields, hashCode, hasVerbatimField, setCrawlId, setDatasetKey, setExtensions, setHostingOrganizationKey, setInstallationKey, setKey, setLastCrawled, setLastParsed, setNetworkKeys, setProgrammeAcronym, setProjectId, setProtocol, setPublishedByGbifRegion, setPublishingCountry, setPublishingOrgKey, setVerbatimField, setVerbatimFields, toString
-
-
-
-
Field Detail
-
GEO_DATUM
public static final String GEO_DATUM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Event
public Event()
-
-
Method Detail
-
fromOccurrence
public static Event fromOccurrence(Occurrence occurrence)
-
hasSpatialIssue
public boolean hasSpatialIssue()
Convenience method checking if any spatial validation rule has not passed. Primarily used to indicate that the record should not be displayed on a map.
-
getGeodeticDatum
@Nullable public String getGeodeticDatum()
The geodetic datum for the interpreted decimal coordinates. This is always WGS84 if there a coordinate exists as we reproject other datums into WGS84.
-
-