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