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

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

    final Person that = (Person) obj;

    return (ObjectUtils.equals(getId(), that.getId())
        || (ObjectUtils.equals(getBirthDate(), that.getBirthDate())
            && ObjectUtils.equals(getLastName(), that.getLastName())
            && ObjectUtils.equals(getFirstName(), that.getFirstName())));
  }
The Person class is an abstraction modeling a person.
<p>

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