Package org.gbif.api.model.checklistbank
Class Reference
java.lang.Object
org.gbif.api.model.checklistbank.Reference
- All Implemented Interfaces:
NameUsageExtension
Reference Model Object represents a literature reference stating a bibliography for a taxon.
Since the initial release of the GBIF API version 1.0 ChecklistBank has been modified to only store the entire citation string of a reference and
none of the atomised fields which are now deprecated.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.@NotNull StringA text string referring to an un-parsed bibliographic citation.getDate()Deprecated.getDoi()The pure DOI for the publication without potential http resolver or URI prefix.getLink()Link.Annotation of taxon-specific information related to the referenced publication.If the source is another name usage this is the taxonKey of that usage.The name usage "taxon" key this description belongs to.getTitle()Deprecated.getType()Used to assign a bibliographic reference to list of taxonomic or nomenclatural categories.inthashCode()voidDeprecated.voidsetCitation(String citation) voidDeprecated.voidvoidvoidsetRemarks(String remarks) voidvoidsetSourceTaxonKey(Integer sourceTaxonKey) voidsetTaxonKey(Integer taxonKey) voidDeprecated.voidtoString()
-
Constructor Details
-
Reference
public Reference()
-
-
Method Details
-
getTaxonKey
The name usage "taxon" key this description belongs to.- Specified by:
getTaxonKeyin interfaceNameUsageExtension
-
setTaxonKey
- Specified by:
setTaxonKeyin interfaceNameUsageExtension
-
getAuthor
Deprecated.The author or authors of the referenced work.Example: Patricia Hartge.
- Returns:
- the author
-
setAuthor
Deprecated.- Parameters:
author- the author to set
-
getCitation
A text string referring to an un-parsed bibliographic citation. The full citation given here should include all the details potentially found in the other atomised fields, i.e. includes authorship, title, etc.Example: Hartge, P., Genetics of reproductive lifespan. Nature Genetics 41, 637 - 638 (2009).
- Returns:
- the citation
-
setCitation
- Parameters:
citation- the citation to set
-
getDate
Deprecated.Date of publication, recommended ISO format YYYY or YYYY-MM-DD.- Returns:
- the publication date
-
setDate
Deprecated. -
getDoi
The pure DOI for the publication without potential http resolver or URI prefix. For example10.1038/ng0609-637instead ofdoi:10.1038/ng0609-637orhttp://dx.doi.org/10.1038/ng0609-637. A valid DOI always starts with10..- Returns:
- the doi
- See Also:
-
setDoi
-
getLink
Link.- Returns:
- the link
-
setLink
- Parameters:
link- the link to set
-
getRemarks
Annotation of taxon-specific information related to the referenced publication.Examples: "transferred H. nigritarsus to Acanolonia"; "Type specimen is a skeleton"
- Returns:
- the taxonomic remarks
-
setRemarks
-
getTitle
Deprecated.Title of book or article.Example: "Genetics of reproductive lifespan", "Field Guide to Moths of Eastern North America".
- Returns:
- the title
-
setTitle
Deprecated.- Parameters:
title- the title to set
-
getType
Used to assign a bibliographic reference to list of taxonomic or nomenclatural categories. Best practice is to use a controlled vocabulary.Examples: Original publication of new combination (comb nov.)
- Returns:
- the publication type
-
setType
-
getSource
- Specified by:
getSourcein interfaceNameUsageExtension- Returns:
- a source reference string
-
setSource
- Specified by:
setSourcein interfaceNameUsageExtension
-
getSourceTaxonKey
Description copied from interface:NameUsageExtensionIf the source is another name usage this is the taxonKey of that usage. Only useful for the backbone dataset.- Specified by:
getSourceTaxonKeyin interfaceNameUsageExtension- Returns:
- The key of the name usage this instance is derived from.
-
setSourceTaxonKey
- Specified by:
setSourceTaxonKeyin interfaceNameUsageExtension
-
equals
-
hashCode
-
toString
-