Esempio n. 1
0
  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }

    AttributeOverride that = (AttributeOverride) o;

    if (attributePath != null
        ? !attributePath.equals(that.attributePath)
        : that.attributePath != null) {
      return false;
    }
    if (columnValues != null
        ? !columnValues.equals(that.columnValues)
        : that.columnValues != null) {
      return false;
    }

    return true;
  }
Esempio n. 2
0
 @Override
 public int hashCode() {
   int result = columnValues != null ? columnValues.hashCode() : 0;
   result = 31 * result + (attributePath != null ? attributePath.hashCode() : 0);
   return result;
 }