Package org.gbif.api.model.checklistbank
Class VerbatimNameUsage
java.lang.Object
org.gbif.api.model.checklistbank.VerbatimNameUsage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCoreField
(Term term) Get the value of a specific field (Term).A map of extension records, holding all verbatim extension terms.A map holding all verbatim core terms.@NotNull Integer
getKey()
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
void
void
void
setLastCrawled
(Date lastCrawled) toString()
-
Constructor Details
-
VerbatimNameUsage
public VerbatimNameUsage()
-
-
Method Details
-
getKey
- Returns:
- The name usage key
-
setKey
-
getExtensions
A map of extension records, holding all verbatim extension terms. -
setExtensions
-
getFields
A map holding all verbatim core terms. -
setFields
-
getLastCrawled
The date this record was last crawled during clb indexing. -
setLastCrawled
-
getCoreField
Get the value of a specific field (Term). -
hasCoreField
- Returns:
- true if a verbatim field exists and is not null or an empty string
-
hasExtension
- Returns:
- true if at least one extension record exists
-
hasExtension
-
setCoreField
For setting a specific field without having to replace the entire fields Map.- Parameters:
term
- the field to setfieldValue
- the field's value
-
equals
-
hashCode
-
toString
-