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