@Override
  public int hashCode() {
    return 31 * viewName.hashCode() + name.hashCode();
  }
Set the name of the resource.

@param name  resource name
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewResourceEntityPK.java