public class VerbatimOccurrence extends Object
Constructor and Description |
---|
VerbatimOccurrence() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getCrawlId()
Crawling attempt id.
|
@NotNull UUID |
getDatasetKey() |
@NotNull Map<String,List<Map<Term,String>>> |
getExtensions()
A map holding all verbatim extension terms.
|
UUID |
getHostingOrganizationKey()
Organization key of the installation that hosts the occurrence record.
|
UUID |
getInstallationKey()
Technical installation that publishes this occurrence record.
|
@NotNull Long |
getKey()
The GBIF assigned, persistent key to the occurrence record.
|
Date |
getLastCrawled()
The date this record was last crawled/harvested from the endpoint.
|
Date |
getLastParsed()
The date this record was last parsed from raw xml/json into verbatim verbatimFields.
|
List<UUID> |
getNetworkKeys()
The GBIF Network associated to the publishing dataset.
|
String |
getProgrammeAcronym()
GBIF programme acronym/identifier.
|
String |
getProjectId()
GBIF project identifier.
|
@NotNull EndpointType |
getProtocol() |
GbifRegion |
getPublishedByGbifRegion() |
Country |
getPublishingCountry()
The country of the organization that publishes the dataset to which the occurrence belongs.
|
@NotNull UUID |
getPublishingOrgKey() |
String |
getVerbatimField(Term term)
Get the value of a specific field (Term).
|
@NotNull Map<Term,String> |
getVerbatimFields()
A map holding all verbatim core terms.
|
int |
hashCode() |
boolean |
hasVerbatimField(Term term) |
void |
setCrawlId(Integer crawlId) |
void |
setDatasetKey(UUID datasetKey) |
void |
setExtensions(Map<String,List<Map<Term,String>>> extensions) |
void |
setHostingOrganizationKey(UUID hostingOrganizationKey) |
void |
setInstallationKey(UUID installationKey) |
void |
setKey(Long key) |
void |
setLastCrawled(Date lastCrawled) |
void |
setLastParsed(Date lastParsed) |
void |
setNetworkKeys(List<UUID> networkKeys) |
void |
setProgrammeAcronym(String programmeAcronym) |
void |
setProjectId(String projectId) |
void |
setProtocol(EndpointType protocol) |
void |
setPublishedByGbifRegion(String gbifRegion) |
void |
setPublishingCountry(Country publishingCountry) |
void |
setPublishingOrgKey(UUID publishingOrgKey) |
void |
setVerbatimField(Term term,
String fieldValue)
For setting a specific field without having to replace the entire verbatimFields Map.
|
void |
setVerbatimFields(Map<Term,String> verbatimFields) |
String |
toString() |
public VerbatimOccurrence()
@Nullable public String getVerbatimField(Term term)
public boolean hasVerbatimField(Term term)
public void setVerbatimField(Term term, @Nullable String fieldValue)
term
- the field to setfieldValue
- the field's value@NotNull public @NotNull Long getKey()
@NotNull public @NotNull UUID getDatasetKey()
public void setDatasetKey(UUID datasetKey)
@NotNull public @NotNull UUID getPublishingOrgKey()
public void setPublishingOrgKey(UUID publishingOrgKey)
@Nullable public List<UUID> getNetworkKeys()
public void setNetworkKeys(List<UUID> networkKeys)
@Nullable public UUID getInstallationKey()
public void setInstallationKey(UUID installationKey)
@Nullable public Country getPublishingCountry()
public void setPublishingCountry(Country publishingCountry)
@Nullable public GbifRegion getPublishedByGbifRegion()
public void setPublishedByGbifRegion(String gbifRegion)
@NotNull public @NotNull EndpointType getProtocol()
public void setProtocol(EndpointType protocol)
@Nullable public Date getLastCrawled()
public void setLastCrawled(@Nullable Date lastCrawled)
@Nullable public Date getLastParsed()
public void setLastParsed(@Nullable Date lastParsed)
@Nullable public Integer getCrawlId()
public void setCrawlId(Integer crawlId)
@Nullable public String getProjectId()
public void setProjectId(String projectId)
@Nullable public String getProgrammeAcronym()
public void setProgrammeAcronym(String programmeAcronym)
@Nullable public UUID getHostingOrganizationKey()
public void setHostingOrganizationKey(UUID hostingOrganizationKey)
@NotNull public @NotNull Map<Term,String> getVerbatimFields()
public void setVerbatimFields(Map<Term,String> verbatimFields)
@NotNull public @NotNull Map<String,List<Map<Term,String>>> getExtensions()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.