@Test public void flatten(){ TestObject1 to1 = DAOTest.testObject1; ODocumentWrapper wrapper = new ODocumentWrapper(to1); TestObject1 to2 = wrapper.toObject(TestObject1.class); assertEquals(to1,to2); }
public static <B extends TransientObject> B toObject(ODocument doc, Class<B> type){ ODocumentWrapper w = new ODocumentWrapper(doc); return w.toObject(type); }
ODocumentWrapper extends ODocument { public static <B extends TransientObject> B toObject(ODocument doc, Class<B> type){ ODocumentWrapper w = new ODocumentWrapper(doc); return w.toObject(type); } }
ODocumentWrapper extends ODocument { public static <B extends TransientObject> B toObject(ODocument doc, Class<B> type){ ODocumentWrapper w = new ODocumentWrapper(doc); return w.toObject(type); } protected  ODocumentWrapper();  ODocumentWrapper(ODocument doc); <B extends TransientObject> ODocumentWrapper(B b); }
ODocumentWrapper extends ODocument { public static <B extends TransientObject> B toObject(ODocument doc, Class<B> type){ ODocumentWrapper w = new ODocumentWrapper(doc); return w.toObject(type); } protected  ODocumentWrapper();  ODocumentWrapper(ODocument doc); <B extends TransientObject> ODocumentWrapper(B b); String getKey(); static B toObject(ODocument doc, Class<B> type); B toObject(Class<B> type); }
ODocumentWrapper extends ODocument { public static <B extends TransientObject> B toObject(ODocument doc, Class<B> type){ ODocumentWrapper w = new ODocumentWrapper(doc); return w.toObject(type); } protected  ODocumentWrapper();  ODocumentWrapper(ODocument doc); <B extends TransientObject> ODocumentWrapper(B b); String getKey(); static B toObject(ODocument doc, Class<B> type); B toObject(Class<B> type); static final String indexAttribute; }