Ignore property when generating equals and hashcode
It sounds like what you want is something like this:
http://projectlombok.org/features/EqualsAndHashCode.html
It lets you use annotations to drive what properties are included in the equals and hashcode methods.
Using Lombok you can exclude properties from hashcode and equals like such as:
@EqualsAndHashCode(exclude = {"nameOfField"})
That would be in your case
@EqualsAndHashCode(exclude = {"doNotAddMeToEqualsAndHashCode"})