public class DownloadStatistics extends Object
Constructor and Description |
---|
DownloadStatistics() |
DownloadStatistics(UUID datasetKey,
Long totalRecords,
Long numberDownloads,
LocalDate yearMonth) |
Modifier and Type | Method and 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() |
public DownloadStatistics()
public DownloadStatistics(UUID datasetKey, Long totalRecords, Long numberDownloads, LocalDate yearMonth)
public UUID getDatasetKey()
public void setDatasetKey(UUID datasetKey)
public Long getTotalRecords()
public void setTotalRecords(Long totalRecords)
public Long getNumberDownloads()
public void setNumberDownloads(Long numberDownloads)
public LocalDate getYearMonth()
public void setYearMonth(LocalDate yearMonth)
public int getYear()
public int getMonth()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.