public boolean equals()

in amoro-common/src/main/gen-java/org/apache/amoro/api/CatalogMeta.java [439:491]


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

    boolean this_present_catalogName = true && this.isSetCatalogName();
    boolean that_present_catalogName = true && that.isSetCatalogName();
    if (this_present_catalogName || that_present_catalogName) {
      if (!(this_present_catalogName && that_present_catalogName))
        return false;
      if (!this.catalogName.equals(that.catalogName))
        return false;
    }

    boolean this_present_catalogType = true && this.isSetCatalogType();
    boolean that_present_catalogType = true && that.isSetCatalogType();
    if (this_present_catalogType || that_present_catalogType) {
      if (!(this_present_catalogType && that_present_catalogType))
        return false;
      if (!this.catalogType.equals(that.catalogType))
        return false;
    }

    boolean this_present_storageConfigs = true && this.isSetStorageConfigs();
    boolean that_present_storageConfigs = true && that.isSetStorageConfigs();
    if (this_present_storageConfigs || that_present_storageConfigs) {
      if (!(this_present_storageConfigs && that_present_storageConfigs))
        return false;
      if (!this.storageConfigs.equals(that.storageConfigs))
        return false;
    }

    boolean this_present_authConfigs = true && this.isSetAuthConfigs();
    boolean that_present_authConfigs = true && that.isSetAuthConfigs();
    if (this_present_authConfigs || that_present_authConfigs) {
      if (!(this_present_authConfigs && that_present_authConfigs))
        return false;
      if (!this.authConfigs.equals(that.authConfigs))
        return false;
    }

    boolean this_present_catalogProperties = true && this.isSetCatalogProperties();
    boolean that_present_catalogProperties = true && that.isSetCatalogProperties();
    if (this_present_catalogProperties || that_present_catalogProperties) {
      if (!(this_present_catalogProperties && that_present_catalogProperties))
        return false;
      if (!this.catalogProperties.equals(that.catalogProperties))
        return false;
    }

    return true;
  }