First checks to see if it is a Field, then Property, then DynaBean
It will match in that order. @deprecated replaced by {@link PersistentFieldAutoProxyImpl}.
318319320321322323324325326327328329330331332
{ DynaClass dynaClass = createDynaClass(); DynaBean bean = dynaClass.newInstance(); bean.set("name", "testDynaBean"); PersistentField pf = new PersistentFieldAutoProxyImplNew(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); }