NamingEnumeration childList = db.list( id );
while( childList.hasMore() )
{
IndexRecord old = ( IndexRecord ) childList.next();
IndexRecord newRec = new IndexRecord();
newRec.copy( old );
records.add( newRec );
}
childList.close();
Iterator list = records.iterator();