@Override
  public int hashCode() {
    int result = viewInstanceId.hashCode();
    result = 31 * result + name.hashCode();
    result = 31 * result + user.hashCode();
    return result;
  }
Set the user.

@param user  the user
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewInstanceDataEntityPK.java