Package org.gbif.api.model.checklistbank
Class VerbatimNameUsage
java.lang.Object
org.gbif.api.model.checklistbank.VerbatimNameUsage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCoreField(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 IntegergetKey()The date this record was last crawled during clb indexing.booleanhasCoreField(Term term) booleanhasExtension(Extension extension) booleanhasExtension(Term term) inthashCode()voidsetCoreField(Term term, String fieldValue) For setting a specific field without having to replace the entire fields Map.voidvoidvoidvoidsetLastCrawled(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
-