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

Class ReactionSynthesisIteratorPreparer



BaseDBPopulator.BaseIteratorPreparer --+
                                       |
                                      ReactionSynthesisIteratorPreparer

Reaction synthesis table doesn't really have a parent. Thus, unusual in that this should always return an iterator of one object, a RowItemModel object representing the specified reaction_synthesis.

Instance Methods [hide private]
 
__init__(self, conn, tableName, reaction_synthesis_id)
Constructor, set the reaction_synthesis_id to find or insert.
 
prepareIterator(self, parentObj)
Unusual since reaction_synthesis is the "root" table, should only be processing one at a time, so iterator is effectively a list of length 1.

Inherited from BaseDBPopulator.BaseIteratorPreparer: newDefaultObject

Class Variables [hide private]
  reaction_synthesis_id = <CHEM.DB.rdb.search.NameRxnPatternMatc...
Method Details [hide private]

__init__(self, conn, tableName, reaction_synthesis_id)
(Constructor)

 
Constructor, set the reaction_synthesis_id to find or insert.
Overrides: BaseDBPopulator.BaseIteratorPreparer.__init__

prepareIterator(self, parentObj)

 
Unusual since reaction_synthesis is the "root" table, should only be processing one at a time, so iterator is effectively a list of length 1.
Overrides: BaseDBPopulator.BaseIteratorPreparer.prepareIterator

Class Variable Details [hide private]

reaction_synthesis_id

Value:
None