Package CHEM :: Package DB :: Module BaseDBPopulator :: Class BaseIteratorPreparer
[hide private]
[frames] | no frames]

Class BaseIteratorPreparer



Base class for all object iterator preparers. Given some kind of parent object, extract the "children" and return an iterator over those children objects that can be understood by respective Processor objects.

Instance Methods [hide private]
 
__init__(self, conn, tableName)
Default constructor should just expect a connection object to the database and name of the table it is meant to affect / relate to, but subclasses may override.
 
newDefaultObject(self)
 
prepareIterator(self, parentObj)