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