@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((location == null) ? 0 : location.hashCode()); result = prime * result + ((owner == null) ? 0 : owner.hashCode()); return result; }