Package org.gbif.api.model.registry
Class DatasetOccurrenceDownloadUsage
- java.lang.Object
-
- org.gbif.api.model.registry.DatasetOccurrenceDownloadUsage
-
- All Implemented Interfaces:
Serializable
public class DatasetOccurrenceDownloadUsage extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatasetOccurrenceDownloadUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDatasetCitation()Dataset citation at the moment when the download was created.DOIgetDatasetDOI()Dataset DOI at the moment when the download was created.@NotNull UUIDgetDatasetKey()Dataset key.StringgetDatasetTitle()Dataset title at the moment when the download was created.DownloadgetDownload()@NotNull StringgetDownloadKey()Occurrence download key.@javax.validation.constraints.NotNull longgetNumberRecords()Number of records that the dataset has provided to the occurrence download.StringgetPublishingCountryCode()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 Detail
-
DatasetOccurrenceDownloadUsage
public DatasetOccurrenceDownloadUsage()
-
-
Method Detail
-
getDatasetKey
@NotNull public @NotNull UUID getDatasetKey()
Dataset key.
-
getDownload
public Download getDownload()
- Returns:
- the download
-
getDownloadKey
@NotNull public @NotNull String getDownloadKey()
Occurrence download key.
-
getNumberRecords
@NotNull public @javax.validation.constraints.NotNull long getNumberRecords()
Number of records that the dataset has provided to the occurrence download.
-
getDatasetTitle
public String getDatasetTitle()
Dataset title at the moment when the download was created.
-
getDatasetDOI
public DOI getDatasetDOI()
Dataset DOI at the moment when the download was created.
-
getDatasetCitation
public String getDatasetCitation()
Dataset citation at the moment when the download was created.
-
setDatasetKey
public void setDatasetKey(UUID datasetKey)
-
setDownload
public void setDownload(Download download)
-
setDownloadKey
public void setDownloadKey(String downloadKey)
-
setNumberRecords
public void setNumberRecords(long numberOfRecords)
-
setDatasetTitle
public void setDatasetTitle(String datasetTitle)
-
setDatasetDOI
public void setDatasetDOI(DOI datasetDOI)
-
setDatasetCitation
public void setDatasetCitation(String datasetCitation)
-
getPublishingCountryCode
public String getPublishingCountryCode()
-
setPublishingCountryCode
public void setPublishingCountryCode(String publishingCountryCode)
-
-