InvCatalog generatedCat = topDs.getParentCatalog();
// Add metadata to all datasets.
for ( Iterator it = this.getDatasetEnhancerList().iterator(); it.hasNext(); )
{
DatasetEnhancer1 dsE = (DatasetEnhancer1) it.next();
dsE.addMetadata( topDs);
}
// Name all datasets.
logger.debug( "fullExpand(): naming the datasets.");
this.nameDatasets( (InvDatasetImpl) topDs );