return new InheritedDataFactoryWrapper(compoundDataFactory.getReference(index));
}
else if (parent instanceof InheritedDataFactoryWrapper)
{
final InheritedDataFactoryWrapper idf = (InheritedDataFactoryWrapper) parent;
final DataFactory dataFactory = idf.getDataFactory();
final String[] queryNames = dataFactory.getQueryNames();
return new ReportQueryNode(dataFactory, queryNames[index], false);
}
else
{
return super.getChild(parent, index);