Package org.gbif.api.model.checklistbank
Class NameUsageMediaObject
java.lang.Object
org.gbif.api.model.common.MediaObject
org.gbif.api.model.checklistbank.NameUsageMediaObject
- All Implemented Interfaces:
NameUsageExtension
An extension to the common MediaObject that adds a source taxon key property from checklistbank.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf the source is another name usage this is the taxonKey of that usage.The name usage "taxon" key this description belongs to.voidsetSourceTaxonKey(Integer sourceTaxonKey) voidsetTaxonKey(Integer taxonKey) Methods inherited from class org.gbif.api.model.common.MediaObject
equals, getAudience, getContributor, getCreated, getCreator, getDescription, getFormat, getIdentifier, getLicense, getPublisher, getReferences, getRightsHolder, getSource, getTitle, getType, hashCode, setAudience, setContributor, setCreated, setCreator, setDescription, setFormat, setIdentifier, setLicense, setPublisher, setReferences, setRightsHolder, setSource, setTitle, setType, toStringMethods inherited from interface org.gbif.api.model.checklistbank.NameUsageExtension
getSource, setSource
-
Constructor Details
-
NameUsageMediaObject
public NameUsageMediaObject()
-
-
Method Details
-
getTaxonKey
The name usage "taxon" key this description belongs to.- Specified by:
getTaxonKeyin interfaceNameUsageExtension
-
setTaxonKey
- Specified by:
setTaxonKeyin 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
-