Package org.gbif.api.model.checklistbank
Interface NameUsageExtension
-
- All Known Implementing Classes:
Description,Distribution,NameUsageMediaObject,Reference,SpeciesProfile,TypeSpecimen,VernacularName
public interface NameUsageExtension
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetSource()IntegergetSourceTaxonKey()If the source is another name usage this is the taxonKey of that usage.IntegergetTaxonKey()The name usage "taxon" key this extension record belongs to.voidsetSource(String source)voidsetSourceTaxonKey(Integer sourceTaxonKey)voidsetTaxonKey(Integer taxonKey)
-
-
-
Method Detail
-
getTaxonKey
Integer getTaxonKey()
The name usage "taxon" key this extension record belongs to.
-
setTaxonKey
void setTaxonKey(Integer taxonKey)
-
getSourceTaxonKey
@Nullable Integer getSourceTaxonKey()
If the source is another name usage this is the taxonKey of that usage. Only useful for the backbone dataset.- Returns:
- The key of the name usage this instance is derived from.
-
setSourceTaxonKey
void setSourceTaxonKey(Integer sourceTaxonKey)
-
-