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