public class VerbatimNameUsage extends Object
Constructor and Description |
---|
VerbatimNameUsage() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCoreField(org.gbif.dwc.terms.Term term)
Get the value of a specific field (Term).
|
@NotNull Map<Extension,List<Map<org.gbif.dwc.terms.Term,String>>> |
getExtensions()
A map of extension records, holding all verbatim extension terms.
|
@NotNull Map<org.gbif.dwc.terms.Term,String> |
getFields()
A map holding all verbatim core terms.
|
@NotNull Integer |
getKey() |
Date |
getLastCrawled()
The date this record was last crawled during clb indexing.
|
boolean |
hasCoreField(org.gbif.dwc.terms.Term term) |
boolean |
hasExtension(Extension extension) |
boolean |
hasExtension(org.gbif.dwc.terms.Term term) |
int |
hashCode() |
void |
setCoreField(org.gbif.dwc.terms.Term term,
String fieldValue)
For setting a specific field without having to replace the entire fields Map.
|
void |
setExtensions(Map<Extension,List<Map<org.gbif.dwc.terms.Term,String>>> extensions) |
void |
setFields(Map<org.gbif.dwc.terms.Term,String> fields) |
void |
setKey(Integer key) |
void |
setLastCrawled(Date lastCrawled) |
String |
toString() |
public VerbatimNameUsage()
@NotNull public @NotNull Map<Extension,List<Map<org.gbif.dwc.terms.Term,String>>> getExtensions()
public void setExtensions(Map<Extension,List<Map<org.gbif.dwc.terms.Term,String>>> extensions)
@NotNull public @NotNull Map<org.gbif.dwc.terms.Term,String> getFields()
@Nullable public Date getLastCrawled()
public void setLastCrawled(@Nullable Date lastCrawled)
@Nullable public String getCoreField(org.gbif.dwc.terms.Term term)
public boolean hasCoreField(org.gbif.dwc.terms.Term term)
public boolean hasExtension(Extension extension)
public boolean hasExtension(org.gbif.dwc.terms.Term term)
public void setCoreField(org.gbif.dwc.terms.Term term, @Nullable String fieldValue)
term
- the field to setfieldValue
- the field's valueCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.