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