git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@171
be28352e-c001-0410-b1a7-
c7978e42abec
if (nobj.isRegisterable()) {
// look for the id field (should be an NCName string)
nobj.__vorba = vorbafactory;
if (nobj.isRegisterable()) {
// look for the id field (should be an NCName string)
nobj.__vorba = vorbafactory;
- fd = nobj.getClass().getField("id");
+ fd = nobj.getClass().getDeclaredField("_id");
String idstring;
if (fd.get(nobj) != null) {
idstring = (String) fd.get(nobj);
String idstring;
if (fd.get(nobj) != null) {
idstring = (String) fd.get(nobj);