Pojomatic provides configurable implementations of the equals(Object), hashCode() and toString() methods inherited from java.lang.Object.
For examples and a quick start guide, see the pojomatic site. You can download Pojomatic from the Maven central repository. For more information, see the GitHub project page.
Pojomatic Test Utils provides utilities which are useful in testing classes which use Pojomatic. For example, it includes functionality to report the differences between two instances if they are not equal.