Package CHEM :: Package DB :: Module ReactDBPopulator :: Class ChemicalComponentIteratorPreparer
[hide private]
[frames] | no frames]

Class ChemicalComponentIteratorPreparer



BaseDBPopulator.BaseIteratorPreparer --+
                                       |
                                      ChemicalComponentIteratorPreparer

Called once per reaction_step_chemical to generate a parent chemical record for a new reaction component. Called once per "part / component" of the parent reaction_step.

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)
Differentiate reference name from table name
 
prepareIterator(self, parentObj)
Parent object should be a component_type, with associated mol object representing the reaction to extract the respective components from.
Class Variables [hide private]
  tempMol = <CHEM.DB.rdb.search.NameRxnPatternMatchingModel.Sear...
Method Details [hide private]

__init__(self, conn, tableName)
(Constructor)

 
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.
Overrides: BaseDBPopulator.BaseIteratorPreparer.__init__
(inherited documentation)

newDefaultObject(self)

 
Differentiate reference name from table name
Overrides: BaseDBPopulator.BaseIteratorPreparer.newDefaultObject

prepareIterator(self, parentObj)

 
Parent object should be a component_type, with associated mol object representing the reaction to extract the respective components from.
Overrides: BaseDBPopulator.BaseIteratorPreparer.prepareIterator

Class Variable Details [hide private]

tempMol

Value:
None