fixed probable bug
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 24 Jan 2006 16:40:47 +0000 (16:40 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 24 Jan 2006 16:40:47 +0000 (16:40 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@171 be28352e-c001-0410-b1a7-c7978e42abec

src/org/vamsas/client/VorbaXmlBinder.java

index c172de3..cc8bc79 100644 (file)
@@ -83,7 +83,7 @@ public class VorbaXmlBinder implements UnmarshalListener {
         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);