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 String
getDatasetCitation()
Dataset citation at the moment when the download was created.DOI
getDatasetDOI()
Dataset DOI at the moment when the download was created.@NotNull UUID
getDatasetKey()
Dataset key.String
getDatasetTitle()
Dataset title at the moment when the download was created.Download
getDownload()
@NotNull String
getDownloadKey()
Occurrence download key.@javax.validation.constraints.NotNull long
getNumberRecords()
Number of records that the dataset has provided to the occurrence download.String
getPublishingCountryCode()
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 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)
-
-