public void initialize(ReportQuery query) throws QueryException {
int size= getReportItems().size();
List mappings = new ArrayList();
for (int index = 0; index < size; index++) {
ReportItem item = (ReportItem)reportItems.get(index);
item.initialize(query);
mappings.add(item.getMapping());
}
setConstructorMappings(mappings);
int numberOfItems = getReportItems().size();