Package gavo :: Package rscdef :: Module column :: Class DMRolesAttribute
[frames] | no frames]

Class DMRolesAttribute

source code

               object --+    
                        |    
base.attrdef.AttributeDef --+
                            |
                           DMRolesAttribute

An attribute managing DM roles.

It is not set directly from XML but filled when a table parses DM annotation. When copying around columns between tables, this is used to build the new annotation; the value is an oldAnnotations instance rather than a list as usual until the new parent table has started constructing its own DM annotations.

Instance Methods
 
__init__(self, name, description='Undocumented')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
feedObject(self, instance, value) source code
 
iterEvents(self, instance) source code
 
getCopy(self, instance, newParent, ctx) source code

Inherited from base.attrdef.AttributeDef: doCallbacks, feed, iterParentMethods, makeUserDoc

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

Class Variables
  typeDesc_ = 'read-only list of roles played by this column in ...
Properties
  default_

Inherited from object: __class__

Method Details

__init__(self, name, description='Undocumented')
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

feedObject(self, instance, value)

source code 
Overrides: base.attrdef.AttributeDef.feedObject

getCopy(self, instance, newParent, ctx)

source code 
Overrides: base.attrdef.AttributeDef.getCopy

Class Variable Details

typeDesc_

Value:
'read-only list of roles played by this column in DMs'

Property Details

default_

Get Method:
unreachable.default_(self)