Package org.gbif.api.model.registry
Class DatasetOccurrenceDownloadUsage
java.lang.Object
org.gbif.api.model.registry.DatasetOccurrenceDownloadUsage
- All Implemented Interfaces:
Serializable
Represents the information about the usage of one dataset in an occurrence download.
Provides information about the number of records that the dataset provided to the download; additionally, provide the
references to the download and dataset entities.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDataset citation at the moment when the download was created.Dataset DOI at the moment when the download was created.@NotNull UUIDDataset key.Dataset title at the moment when the download was created.@NotNull StringOccurrence download key.@javax.validation.constraints.NotNull longNumber of records that the dataset has provided to the occurrence download.voidsetDatasetCitation(String datasetCitation) voidsetDatasetDOI(DOI datasetDOI) voidsetDatasetKey(UUID datasetKey) voidsetDatasetTitle(String datasetTitle) voidsetDownload(Download download) voidsetDownloadKey(String downloadKey) voidsetNumberRecords(long numberOfRecords) voidsetPublishingCountryCode(String publishingCountryCode)
-
Constructor Details
-
DatasetOccurrenceDownloadUsage
public DatasetOccurrenceDownloadUsage()
-
-
Method Details
-
getDatasetKey
Dataset key. -
getDownload
- Returns:
- the download
-
getDownloadKey
Occurrence download key. -
getNumberRecords
Number of records that the dataset has provided to the occurrence download. -
getDatasetTitle
Dataset title at the moment when the download was created. -
getDatasetDOI
Dataset DOI at the moment when the download was created. -
getDatasetCitation
Dataset citation at the moment when the download was created. -
setDatasetKey
-
setDownload
-
setDownloadKey
-
setNumberRecords
-
setDatasetTitle
-
setDatasetDOI
-
setDatasetCitation
-
getPublishingCountryCode
-
setPublishingCountryCode
-