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