public int hashCode() { int result = 17; result = 31 * result + name.hashCode(); return result; }