Package gavo :: Package dm :: Module dmrd :: Class SynthesizedRoles
[frames] | no frames]

Class SynthesizedRoles

source code

                   object --+            
                            |            
 base.structure.StructureBase --+        
                                |        
                   object --+   |        
                            |   |        
           base.common.Parser --+        
                                |        
base.structure.ParseableStructure --+    
                                    |    
             base.structure.Structure --+
                                        |
                                       SynthesizedRoles

DM annotation copied and adapted to a new table.

This is a stand-in for DataModelRoles in tables not parsed from XMLs. Their DM structure is defined through references the columns and params make to the annotations their originals had.

These have no attributes but just arrange for the new annotations to be generated.

Nested Classes

Inherited from base.structure.StructureBase: __metaclass__

Instance Methods
 
synthesizeAnnotations(self, rd, ctx) source code
 
completeElement(self, ctx) source code

Inherited from base.structure.Structure: __provides__, callCompletedCallbacks, finishElement, onElementComplete, validate

Inherited from base.structure.ParseableStructure: __init__, end_, feed, feedFrom, feedObject, getAttribute, iterEvents, start_, value_

Inherited from base.structure.StructureBase: __providedBy__, adopt, breakCircles, change, copy, getAttributes, getCopyableAttributes, getSourcePosition, iterChildren, setPosition

Inherited from base.common.Parser: feedEvent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from base.structure.StructureBase: fromStructure

Class Variables
  name_ = '_synthesizedRoles'
a sentinel for all kinds of undefined values.

Inherited from base.structure.Structure: __implemented__

Inherited from base.structure.StructureBase: attrSeq, completedCallbacks, managedAttrs

Properties

Inherited from object: __class__

Method Details

completeElement(self, ctx)

source code 
Overrides: base.structure.Structure.completeElement