int result = sname.hashCode(); CompositeName pname = getParentName(); if (pname != null) result += pname.hashCode() * 7; return result;
if (_hc == 0) { int result = sname.hashCode(); CompositeName pname = getParentName(); if (pname != null) result += pname.hashCode() * 7; if (result == 0) result = 1; _hc = result; } return _hc;
  public int hashCode() {    int result = sname.hashCode();    CompositeName pname = getParentName();    if (pname != null) result += pname.hashCode() * 7;    return result;  }