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