parameterChoicesAdapters[i] = new ObjectAdapter[parameterChoicesPojos[i].length];
for (int j = 0; j < parameterChoicesPojos[i].length; j++) {
parameterChoicesAdapters[i][j] = adapterFor(parameterChoicesPojos[i][j]);
}
} else if (BoundedFacetUtils.isBoundedSet(paramSpec)) {
final QueryFindAllInstances query = new QueryFindAllInstances(paramSpec.getFullIdentifier());
final List<ObjectAdapter> allInstancesAdapter = getQuerySubmitter().allMatchingQuery(query);
parameterChoicesAdapters[i] = new ObjectAdapter[allInstancesAdapter.size()];
int j = 0;
for (final ObjectAdapter adapter : allInstancesAdapter) {
parameterChoicesAdapters[i][j++] = adapter;