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