public boolean equals()

in amoro-common/src/main/gen-java/org/apache/amoro/api/Blocker.java [330:364]


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

    boolean this_present_blockerId = true && this.isSetBlockerId();
    boolean that_present_blockerId = true && that.isSetBlockerId();
    if (this_present_blockerId || that_present_blockerId) {
      if (!(this_present_blockerId && that_present_blockerId))
        return false;
      if (!this.blockerId.equals(that.blockerId))
        return false;
    }

    boolean this_present_operations = true && this.isSetOperations();
    boolean that_present_operations = true && that.isSetOperations();
    if (this_present_operations || that_present_operations) {
      if (!(this_present_operations && that_present_operations))
        return false;
      if (!this.operations.equals(that.operations))
        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;
    }

    return true;
  }