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 booleanequals(Object o)UUIDgetDatasetKey()intgetMonth()LonggetNumberDownloads()LonggetTotalRecords()intgetYear()LocalDategetYearMonth()Ignore in serialization, only year and month is relevant.inthashCode()voidsetDatasetKey(UUID datasetKey)voidsetNumberDownloads(Long numberDownloads)voidsetTotalRecords(Long totalRecords)voidsetYearMonth(LocalDate yearMonth)StringtoString()
-
-
-
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()
-
-