/** PUBLIC: Initialize the state of the query. */ public DataReadQuery() { super(); this.shouldMaintainCache = false; useAbstractRecord = true; setContainerPolicy(ContainerPolicy.buildPolicyFor(ClassConstants.Vector_class)); }
/** * PUBLIC: Configure the query to use an instance of the specified container class to hold the * target objects. The container class must implement (directly or indirectly) the Collection * interface. */ public void useCollectionClass(Class concreteClass) { setContainerPolicy(ContainerPolicy.buildPolicyFor(concreteClass)); }