public class VernacularName extends Object implements NameUsageExtension
Constructor and Description |
---|
VernacularName() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getArea()
The area for the vernacular name.
|
Country |
getCountry()
The country in which the vernacular name is used.
|
Language |
getLanguage()
ISO 639-1 language code used for the vernacular name value.
|
LifeStage |
getLifeStage()
The age class or life stage of the species for which the vernacular name applies.
|
Sex |
getSex()
The sex (gender) of the taxon for which the vernacular name applies when the vernacular name is
limited to a specific gender of a species.
|
String |
getSource()
Bibliographic citation referencing a source where the vernacular name refers to the cited
species.
|
Integer |
getSourceTaxonKey()
If the source is another name usage this is the taxonKey of that usage.
|
Integer |
getTaxonKey()
The name usage "taxon" key to which this vernacular name belongs.
|
@NotNull String |
getVernacularName()
A common or vernacular name.
|
int |
hashCode() |
Boolean |
isPlural()
This value is true if the vernacular name it qualifies refers to a plural form of the name.
|
Boolean |
isPreferred()
This term is true if the source citing the use of this vernacular name indicates the usage has
some preference or specific standing over other possible vernacular names used for the
species.
|
void |
setArea(String area) |
void |
setCountry(Country country) |
void |
setLanguage(Language language) |
void |
setLifeStage(LifeStage lifeStage) |
void |
setPlural(Boolean plural) |
void |
setPreferred(Boolean preferred) |
void |
setSex(Sex sex) |
void |
setSource(String source) |
void |
setSourceTaxonKey(Integer sourceTaxonKey) |
void |
setTaxonKey(Integer taxonKey) |
void |
setVernacularName(String vernacularName) |
String |
toString() |
public VernacularName()
public Integer getTaxonKey()
getTaxonKey
in interface NameUsageExtension
public void setTaxonKey(Integer taxonKey)
setTaxonKey
in interface NameUsageExtension
@Nullable public Country getCountry()
public void setCountry(Country country)
country
- the country to set@Nullable public Language getLanguage()
Example: es
public void setLanguage(Language language)
language
- the language to set@Nullable public LifeStage getLifeStage()
Example: "juvenile" is the life stage of the fish Pomatomus saltatrix for which the name "snapper blue" refers.
public void setLifeStage(LifeStage lifeStage)
lifeStage
- the lifeStage to set@Nullable public Sex getSex()
Example: male.
@Nullable public String getSource()
Example: Peterson Field Guide to the Eastern Seashore, Houghton Mifflin Co, 1961, p131.
getSource
in interface NameUsageExtension
public void setSource(String source)
setSource
in interface NameUsageExtension
source
- the source to set@Nullable public Integer getSourceTaxonKey()
NameUsageExtension
getSourceTaxonKey
in interface NameUsageExtension
public void setSourceTaxonKey(Integer sourceTaxonKey)
setSourceTaxonKey
in interface NameUsageExtension
@NotNull public @NotNull String getVernacularName()
Example: Andean Condor", "Condor Andino", "American Eagle", "Gänsegeier".
public void setVernacularName(String vernacularName)
vernacularName
- the vernacularName to set@Nullable public Boolean isPlural()
Example: The term "Schoolies" is the plural form of a name used along the coastal Northeastern U.S. for groups of juvenile fish of the species, Morone saxatilis.
@Nullable public Boolean isPreferred()
Example: Some organisations have attempted to assign specific and unique vernacular names for particular taxon groups in a systematic attempt to bring order and consistency to the use of these names. For example, the American Ornithological Union assigns the name "Pearl Kite" for the taxon, Gampsonyx swainsonii. The value of isPreferredName for this record would be true.
public void setPreferred(Boolean preferred)
preferred
- the preferred to setCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.