o.setGroup(lastRowGroup.getName());
}
else
{
final CrosstabRowGroup rowGroup = findRowGroup(rowField);
final Section containingBody = rowGroup.getParentSection();
final Section containingGroup = containingBody.getParentSection();
o.setGroup(containingGroup.getName());
}
if (columnField == null)
{
final Group lastColumnGroup = groups[groups.length - 1];
o.setCrosstabFilterGroup(lastColumnGroup.getName());
}
else
{
final CrosstabColumnGroup columnGroup = findColumnGroup(columnField);
final Section containingBody = columnGroup.getParentSection();
final Section containingGroup = containingBody.getParentSection();
if (containingGroup instanceof CrosstabColumnGroup)
{
o.setCrosstabFilterGroup(containingGroup.getName());
}
}
logger.debug("Aggregation-Configuration: " + o.getClass());
logger.debug(" - column : " + columnField);