*/
private CombinedReportCreator createCombinedReporterImp(Class formClass, int reportType) {
int id = getReportID(formClass, reportType);
String name = getReportName(formClass, reportType);
if (id >= BASE_REPORT && id < TEST_FORM){
return new JasperCombinedReport(formClass, id - BASE_REPORT + 1, name);
}
else if (name != null){
return new JasperCombinedReport(formClass, -1, name);
}
if (id == 0){
return new JasperCombinedReport(formClass, 0, null);
}
else {
return null;
}
}