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 UUID
Dataset key.Dataset title at the moment when the download was created.@NotNull String
Occurrence download key.@javax.validation.constraints.NotNull long
Number of records that the dataset has provided to the occurrence download.void
setDatasetCitation
(String datasetCitation) void
setDatasetDOI
(DOI datasetDOI) void
setDatasetKey
(UUID datasetKey) void
setDatasetTitle
(String datasetTitle) void
setDownload
(Download download) void
setDownloadKey
(String downloadKey) void
setNumberRecords
(long numberOfRecords) void
setPublishingCountryCode
(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
-