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

Class AnnotatorProcessor



BaseProcessor --+
                |
               AnnotatorProcessor

Simple processor which defers work to one of the Annotator objects from the Annotation package. Just applies the annotator to the currObj's mol attribute and stores it in a field specified by the annotator's columnName value.

Instance Methods [hide private]
 
__init__(self, conn, tableName, annotator)
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, annotator)
(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