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

Class SimpleProcessor



BaseProcessor --+
                |
               SimpleProcessor

Very simple processor. Just set the current object's field named by the column equal to the specified value.

Instance Methods [hide private]
 
__init__(self, conn, tableName, column, value)
Default constructor should specify the connection object to the database and name of the table it is meant to affect / relate to, but subclasses may override.
 
process(self, parentObj, currObj)
Method Details [hide private]

__init__(self, conn, tableName, column, value)
(Constructor)

 
Default constructor should specify the connection object to the database and name of the table it is meant to affect / relate to, but subclasses may override.
Overrides: BaseProcessor.__init__
(inherited documentation)

process(self, parentObj, currObj)

 
Overrides: BaseProcessor.process