}
if (band instanceof RootLevelBand)
{
final RootLevelBand rootLevelBand = (RootLevelBand) band;
final SubReport[] reports = rootLevelBand.getSubReports();
for (int i = 0; i < reports.length; i++)
{
final SubReport report = reports[i];
if (report.getObjectID() == id)
{