Home | Trees | Indices | Help |
|
---|
|
object --+ | attrdef.AttributeDef --+ | attrdef.AtomicAttribute --+ | OriginalAttribute
is an attribute that resolves an item copies over the managed attributes from the referenced item.
The references may be anything resolveId can cope with.
You can pass a forceType argument to make sure only references to specific types are allowable. In general, this will be the class itself of a base class. If you don't do this, you'll probably get weird AttributeErrors for certain inputs.
To work reliably, these attributes have to be known to the XML parser so it makes sure they are processed first. This currently works by name, and "original" is reserved for this purpose. Other names will raise an AssertionError right now.
As a safety mechanism, OriginalAttribute checks if it is replacing a "pristine" object, i.e. one that has not had events fed to it.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Class Variables | |
computed_ = True
|
|
typeDesc_ =
|
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |