459460461462463464465466
if (queryAdapters.size() == 0) { return null; } else if (queryAdapters.size() == 1) { return queryAdapters.get(0); } else { return new ChainedBeanQueryAdapter(queryAdapters); } }