public boolean equals()

in linkis-public-enhancements/linkis-pes-publicservice/src/main/java/org/apache/linkis/basedatamanager/server/domain/DatasourceTypeKeyEntity.java [263:321]


  public boolean equals(Object that) {
    if (this == that) {
      return true;
    }
    if (that == null) {
      return false;
    }
    if (getClass() != that.getClass()) {
      return false;
    }
    DatasourceTypeKeyEntity other = (DatasourceTypeKeyEntity) that;
    return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
        && (this.getDataSourceTypeId() == null
            ? other.getDataSourceTypeId() == null
            : this.getDataSourceTypeId().equals(other.getDataSourceTypeId()))
        && (this.getKey() == null ? other.getKey() == null : this.getKey().equals(other.getKey()))
        && (this.getName() == null
            ? other.getName() == null
            : this.getName().equals(other.getName()))
        && (this.getNameEn() == null
            ? other.getNameEn() == null
            : this.getNameEn().equals(other.getNameEn()))
        && (this.getDefaultValue() == null
            ? other.getDefaultValue() == null
            : this.getDefaultValue().equals(other.getDefaultValue()))
        && (this.getValueType() == null
            ? other.getValueType() == null
            : this.getValueType().equals(other.getValueType()))
        && (this.getScope() == null
            ? other.getScope() == null
            : this.getScope().equals(other.getScope()))
        && (this.getRequire() == null
            ? other.getRequire() == null
            : this.getRequire().equals(other.getRequire()))
        && (this.getDescription() == null
            ? other.getDescription() == null
            : this.getDescription().equals(other.getDescription()))
        && (this.getDescriptionEn() == null
            ? other.getDescriptionEn() == null
            : this.getDescriptionEn().equals(other.getDescriptionEn()))
        && (this.getValueRegex() == null
            ? other.getValueRegex() == null
            : this.getValueRegex().equals(other.getValueRegex()))
        && (this.getRefId() == null
            ? other.getRefId() == null
            : this.getRefId().equals(other.getRefId()))
        && (this.getRefValue() == null
            ? other.getRefValue() == null
            : this.getRefValue().equals(other.getRefValue()))
        && (this.getDataSource() == null
            ? other.getDataSource() == null
            : this.getDataSource().equals(other.getDataSource()))
        && (this.getUpdateTime() == null
            ? other.getUpdateTime() == null
            : this.getUpdateTime().equals(other.getUpdateTime()))
        && (this.getCreateTime() == null
            ? other.getCreateTime() == null
            : this.getCreateTime().equals(other.getCreateTime()));
  }