Package org.gbif.api.model.occurrence
Class DownloadStatistics
java.lang.Object
org.gbif.api.model.occurrence.DownloadStatistics
Monthly dataset download statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionDownloadStatistics(UUID datasetKey, Long totalRecords, Long numberDownloads, LocalDate yearMonth) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetMonth()intgetYear()Ignore in serialization, only year and month is relevant.inthashCode()voidsetDatasetKey(UUID datasetKey) voidsetNumberDownloads(Long numberDownloads) voidsetTotalRecords(Long totalRecords) voidsetYearMonth(LocalDate yearMonth) toString()
-
Constructor Details
-
DownloadStatistics
public DownloadStatistics() -
DownloadStatistics
public DownloadStatistics(UUID datasetKey, Long totalRecords, Long numberDownloads, LocalDate yearMonth)
-
-
Method Details
-
getDatasetKey
-
setDatasetKey
-
getTotalRecords
-
setTotalRecords
-
getNumberDownloads
-
setNumberDownloads
-
getYearMonth
Ignore in serialization, only year and month is relevant. -
setYearMonth
-
getYear
-
getMonth
-
equals
-
hashCode
-
toString
-