@Override public int hashCode() { int result = id; result = 31 * result + title.hashCode(); result = 31 * result + creator.hashCode(); result = 31 * result + (parent != null ? parent.hashCode() : 0); return result; }