public boolean equals()

in amoro-common/src/main/gen-java/org/apache/amoro/api/TableCommitMeta.java [551:621]


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

    boolean this_present_tableIdentifier = true && this.isSetTableIdentifier();
    boolean that_present_tableIdentifier = true && that.isSetTableIdentifier();
    if (this_present_tableIdentifier || that_present_tableIdentifier) {
      if (!(this_present_tableIdentifier && that_present_tableIdentifier))
        return false;
      if (!this.tableIdentifier.equals(that.tableIdentifier))
        return false;
    }

    boolean this_present_action = true && this.isSetAction();
    boolean that_present_action = true && that.isSetAction();
    if (this_present_action || that_present_action) {
      if (!(this_present_action && that_present_action))
        return false;
      if (!this.action.equals(that.action))
        return false;
    }

    boolean this_present_changes = true && this.isSetChanges();
    boolean that_present_changes = true && that.isSetChanges();
    if (this_present_changes || that_present_changes) {
      if (!(this_present_changes && that_present_changes))
        return false;
      if (!this.changes.equals(that.changes))
        return false;
    }

    boolean this_present_commitTime = true;
    boolean that_present_commitTime = true;
    if (this_present_commitTime || that_present_commitTime) {
      if (!(this_present_commitTime && that_present_commitTime))
        return false;
      if (this.commitTime != that.commitTime)
        return false;
    }

    boolean this_present_properties = true && this.isSetProperties();
    boolean that_present_properties = true && that.isSetProperties();
    if (this_present_properties || that_present_properties) {
      if (!(this_present_properties && that_present_properties))
        return false;
      if (!this.properties.equals(that.properties))
        return false;
    }

    boolean this_present_commitMetaProducer = true && this.isSetCommitMetaProducer();
    boolean that_present_commitMetaProducer = true && that.isSetCommitMetaProducer();
    if (this_present_commitMetaProducer || that_present_commitMetaProducer) {
      if (!(this_present_commitMetaProducer && that_present_commitMetaProducer))
        return false;
      if (!this.commitMetaProducer.equals(that.commitMetaProducer))
        return false;
    }

    boolean this_present_schemaUpdateMeta = true && this.isSetSchemaUpdateMeta();
    boolean that_present_schemaUpdateMeta = true && that.isSetSchemaUpdateMeta();
    if (this_present_schemaUpdateMeta || that_present_schemaUpdateMeta) {
      if (!(this_present_schemaUpdateMeta && that_present_schemaUpdateMeta))
        return false;
      if (!this.schemaUpdateMeta.equals(that.schemaUpdateMeta))
        return false;
    }

    return true;
  }