コード例 #1
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    LoadConstraint that = (LoadConstraint) o;

    if (constraint != null ? !constraint.equals(that.constraint) : that.constraint != null)
      return false;

    return true;
  }
コード例 #2
0
 @Override
 public int hashCode() {
   return constraint != null ? constraint.hashCode() : 0;
 }
コード例 #3
0
 public Table getTable() {
   return constraint.getTable();
 }