1 56 package org.objectstyle.cayenne.access; 57 58 import java.util.List ; 59 60 import org.objectstyle.cayenne.CayenneRuntimeException; 61 import org.objectstyle.cayenne.ObjectContext; 62 import org.objectstyle.cayenne.ObjectFactory; 63 import org.objectstyle.cayenne.map.ObjEntity; 64 import org.objectstyle.cayenne.query.GenericSelectQuery; 65 66 73 class EntityObjectFactory implements ObjectFactory { 74 75 ObjectContext context; 76 boolean refreshObjects; 77 boolean resolveInheritance; 78 79 EntityObjectFactory(ObjectContext context, GenericSelectQuery query) { 80 this(context, query.isRefreshingObjects(), query.isResolvingInherited()); 81 } 82 83 EntityObjectFactory(ObjectContext context, boolean refreshObjects, 84 boolean resolveInheritance) { 85 86 this.context = context; 87 this.refreshObjects = refreshObjects; 88 this.resolveInheritance = resolveInheritance; 89 } 90 91 public List objectsFromDataRows(ObjEntity entity, List rows) { 92 throw new CayenneRuntimeException("Not implemented yet"); 94 } 95 } 96 | Popular Tags |