*/
public Object[] getParametersForQuery(Query query) {
Byte[] parameterTypes = query.getParameterTypes();
Object[] parameters = new Object[parameterTypes.length];
ArrayList<Integer> productFeatureIndices = new ArrayList<Integer>();
ProductType pt = null;
for(int i=0;i<parameterTypes.length;i++) {
if(parameterTypes[i]==Query.PRODUCT_TYPE_URI) {
pt = getRandomProductType();
parameters[i] = pt.getNr();
}
else if(parameterTypes[i]==Query.PRODUCT_FEATURE_URI)
productFeatureIndices.add(i);
else if(parameterTypes[i]==Query.PRODUCT_PROPERTY_NUMERIC)
parameters[i] = getProductPropertyNumeric();