예제 #1
0
    @Override
    public boolean equals(Object obj) {
      if (obj == null) {
        return false;
      }
      if (getClass() != obj.getClass()) {
        return false;
      }
      final CartItemPk other = (CartItemPk) obj;

      return ObjectUtils.isEqual(
          cart, other.cart,
          item, other.item);
    }
  @Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    final ContactMethodDetail other = (ContactMethodDetail) obj;

    return ObjectUtils.isEqual(
        id, other.id,
        primaryDetail, other.primaryDetail);
  }
예제 #3
0
  @Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    final User other = (User) obj;

    return ObjectUtils.isEqual(
        id, other.id,
        uuid, other.uuid,
        openId, other.openId);
  }
예제 #4
0
 @Override
 public int hashCode() {
   return ObjectUtils.getHashCode(cart, item);
 }
 @Override
 public int hashCode() {
   return ObjectUtils.getHashCode(id, primaryDetail);
 }
예제 #6
0
 @Override
 public int hashCode() {
   return ObjectUtils.getHashCode(id);
 }