Package CHEM :: Package DB :: Module DBPopulator2 :: Class ChemicalMixIteratorPreparer
[hide private]
[frames] | no frames]

Class ChemicalMixIteratorPreparer



BaseDBPopulator.BaseIteratorPreparer --+
                                       |
                                      ChemicalMixIteratorPreparer

Main outer loop iterator which does the actual walk through the molecule input stream which presumably hits one chemical mixture at a time.

Instance Methods [hide private]
 
__init__(self, conn, tableName, oeis, autoCommit)
Constructor, set the molecule input stream to do the main iteration through
 
prepareIterator(self, parentObj)
This is a top-level table with no real parent (source kind of is in schema hierarchy), iteration is based on the primary molecule input stream (file).

Inherited from BaseDBPopulator.BaseIteratorPreparer: newDefaultObject

Class Variables [hide private]
  autoCommit = False
Method Details [hide private]

__init__(self, conn, tableName, oeis, autoCommit)
(Constructor)

 
Constructor, set the molecule input stream to do the main iteration through
Overrides: BaseDBPopulator.BaseIteratorPreparer.__init__

prepareIterator(self, parentObj)

 
This is a top-level table with no real parent (source kind of is in schema hierarchy), iteration is based on the primary molecule input stream (file). Build chemicalmix RowItemModel objects based on these molecule objects.
Overrides: BaseDBPopulator.BaseIteratorPreparer.prepareIterator