boolean (Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final ConsentBase that = (ConsentBase)o; if (!myId.equals(that.myId)) { return false; } if (!myVersion.equals(that.myVersion)) { return false; } return true; }