Ejemplo n.º 1
0
 /**
  * Returns the name of the expression evaluator unit for a dataset of a report.
  *
  * @param report the report
  * @param dataset the dataset
  * @return the generated expression evaluator unit name
  */
 public static String getUnitName(JasperReport report, JRDataset dataset) {
   return getUnitName(report, dataset, report.getCompileNameSuffix());
 }
Ejemplo n.º 2
0
 /**
  * Returns the name of the expression evaluator unit for a crosstab of a report.
  *
  * @param report the report
  * @param crosstab the crosstab
  * @return the generated expression evaluator unit name
  */
 public static String getUnitName(JasperReport report, JRCrosstab crosstab) {
   return getUnitName(report, crosstab.getId(), report.getCompileNameSuffix());
 }