First checks to see if it is a Field, then Property, then DynaBean
It will match in that order.
248249250251252253254255256257258259260261262
{ DynaClass dynaClass = createDynaClass(); DynaBean bean = dynaClass.newInstance(); bean.set("name", "testDynaBean"); PersistentField pf = new PersistentFieldAutoProxyImpl(String.class, "name"); String result = (String) pf.get(bean); assertNotNull(result); assertEquals("testDynaBean", result); pf.set(bean, "XXXX"); result = (String) pf.get(bean); assertNotNull(result); assertEquals("XXXX", result); }
301302303304305306307308309310311312313314315