Map<Parameter, Object> parameterValues = new HashMap<Parameter, Object>();
parameterValues.put(mondrianSchemaLoader.getParameters().get(0), mondrianConnectionUrl);
parameterValues.put(mondrianSchemaLoader.getParameters().get(1), cubeName);
Schema newSchema = mondrianSchemaLoader.createSchema(parameterValues);
return newSchema;
} catch(KettleDatabaseException e){
throw new AggDesignerException("Error loading Schema from Mondrian file",e);
}
}