protected static String getUnitName(JRReport report, JRDataset dataset, String nameSuffix) { String className; if (dataset.isMainDataset()) { className = report.getName(); } else { className = report.getName() + "_" + dataset.getName(); } className = JRStringUtil.getJavaIdentifier(className) + nameSuffix; return className; }
public String getName() { return parent.getName(); }