* @return a List of all of the objects of the given class
*/
public <T> List<Model> retrieveAll(T aSample, Project aProject){
// Please see Wiki for more information on the ServerConfiguration.
ClientConfiguration config = Db4oClientServer.newClientConfiguration();
config.common().reflectWith(new JdkReflector(Thread.currentThread().getContextClassLoader()));
ArrayList<Model> result = new ArrayList<Model>();
List<Model> allResults = theDB.queryByExample(aSample.getClass());
for(Model theModel : allResults) {
if(theModel.getProject() != null &&