@Override
  public boolean equals(final Object obj) {
    if (obj == this) {
      return true;
    }

    if (!(obj instanceof Item)) {
      return false;
    }

    final Item that = (Item) obj;

    return (ObjectUtils.equals(getItemNo(), that.getItemNo())
        && ObjectUtils.equals(getDescription(), that.getDescription())
        && ObjectUtils.equals(getQuantity(), that.getQuantity())
        && ObjectUtils.equals(getQuantity(), that.getUnitPrice())
        && ObjectUtils.equals(getQuantity(), that.getTotalPrice()));
  }
The Item class models item entity in the real world.
<p>

@since GemFire 8.0
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/rest/internal/web/controllers/Item.java