@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 TaxonObservationPublic)) {
            return false;
        }
        TaxonObservationPublic other = (TaxonObservationPublic) object;
        if ((this.taxonObservationID == null && other.taxonObservationID != null) || (this.taxonObservationID != null && !this.taxonObservationID.equals(other.taxonObservationID))) {
            return false;
        }
        return true;
    }