@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TaxonObservationDownloadStatistics)) {
            return false;
        }
        TaxonObservationDownloadStatistics other = (TaxonObservationDownloadStatistics) object;
        if ((this.taxonObservationDownloadStatisticsPK == null && other.taxonObservationDownloadStatisticsPK != null) || (this.taxonObservationDownloadStatisticsPK != null && !this.taxonObservationDownloadStatisticsPK.equals(other.taxonObservationDownloadStatisticsPK))) {
            return false;
        }
        return true;
    }