@Override
  public int hashCode() {
    return super.hashCode() +
        ((getProperties() == null)
            ? 0
            : getProperties().hashCode()) +
        ((getServices() == null)
            ? 0
            : getServices().hashCode());
  }
Sets the parent (or container) of this descriptor
<p/>
This implementation prevents the parent from being externally set by always throwing an
UnsupportedOperationException.

@param parent an AbstractKerberosDescriptor representing the parent (or container) of this
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosDescriptor.java