public class Description extends Object implements NameUsageExtension
Constructor and Description |
---|
Description() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getContributor()
An entity responsible for making contributions to the textual information provided for a description.
|
String |
getCreator()
The author(s) of the textual information provided for a description.
|
String |
getDescription()
Any descriptive free text matching the category given as dc:type.
|
Integer |
getKey()
A unique GBIF identifier for any description.
|
Language |
getLanguage()
ISO 639-1 language code used for the description.
|
String |
getLicense()
Official permission to do something with the resource.
|
String |
getSource()
Source reference of this description, a URL or full publication citation.
|
Integer |
getSourceTaxonKey()
If the source is another name usage this is the taxonKey of that usage.
|
Integer |
getTaxonKey()
The name usage "taxon" key this description belongs to.
|
String |
getType()
Returns the type used to categorize paragraphs of a taxon description.
|
int |
hashCode() |
void |
setContributor(String contributor) |
void |
setCreator(String creator) |
void |
setDescription(String description) |
void |
setKey(Integer key) |
void |
setLanguage(Language language) |
void |
setLicense(String license) |
void |
setSource(String source) |
void |
setSourceTaxonKey(Integer sourceTaxonKey) |
void |
setTaxonKey(Integer taxonKey) |
void |
setType(String type) |
String |
toString() |
public Description()
public Integer getKey()
public Integer getTaxonKey()
getTaxonKey
in interface NameUsageExtension
public void setTaxonKey(Integer taxonKey)
setTaxonKey
in interface NameUsageExtension
@Nullable public String getContributor()
public void setContributor(String contributor)
contributor
- the contributor to set@Nullable public String getCreator()
public void setCreator(String creator)
creator
- the creator to set.@Nullable public String getDescription()
public void setDescription(String description)
description
- the description to set@Nullable public Language getLanguage()
public void setLanguage(Language language)
language
- the language to set@Nullable public String getLicense()
Example: CC-BY
public void setLicense(String license)
license
- the license to set@Nullable public String getSource()
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
@Nullable public String getType()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.