public boolean equals(ForeignKeysResponse that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_foreignKeys = true && this.isSetForeignKeys();
    boolean that_present_foreignKeys = true && that.isSetForeignKeys();
    if (this_present_foreignKeys || that_present_foreignKeys) {
      if (!(this_present_foreignKeys && that_present_foreignKeys))
        return false;
      if (!this.foreignKeys.equals(that.foreignKeys))
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java