Package org.gbif.api.model.occurrence
Class DownloadStatistics
- java.lang.Object
-
- org.gbif.api.model.occurrence.DownloadStatistics
-
public class DownloadStatistics extends Object
Monthly dataset download statistics.
-
-
Constructor Summary
Constructors Constructor Description DownloadStatistics()
DownloadStatistics(UUID datasetKey, Long totalRecords, Long numberDownloads, LocalDate yearMonth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
UUID
getDatasetKey()
int
getMonth()
Long
getNumberDownloads()
Long
getTotalRecords()
int
getYear()
LocalDate
getYearMonth()
Ignore in serialization, only year and month is relevant.int
hashCode()
void
setDatasetKey(UUID datasetKey)
void
setNumberDownloads(Long numberDownloads)
void
setTotalRecords(Long totalRecords)
void
setYearMonth(LocalDate yearMonth)
String
toString()
-
-
-
Constructor Detail
-
DownloadStatistics
public DownloadStatistics()
-
DownloadStatistics
public DownloadStatistics(UUID datasetKey, Long totalRecords, Long numberDownloads, LocalDate yearMonth)
-
-
Method Detail
-
getDatasetKey
public UUID getDatasetKey()
-
setDatasetKey
public void setDatasetKey(UUID datasetKey)
-
getTotalRecords
public Long getTotalRecords()
-
setTotalRecords
public void setTotalRecords(Long totalRecords)
-
getNumberDownloads
public Long getNumberDownloads()
-
setNumberDownloads
public void setNumberDownloads(Long numberDownloads)
-
getYearMonth
public LocalDate getYearMonth()
Ignore in serialization, only year and month is relevant.
-
setYearMonth
public void setYearMonth(LocalDate yearMonth)
-
getYear
public int getYear()
-
getMonth
public int getMonth()
-
-