Methods
|
|
|
|
__init__
|
__init__ (
self,
parentComponent=NOT_GIVEN,
componentName=None,
**__kw,
)
Exceptions
|
|
TypeError("%s constructor has no keyword argument %s" %( klass, k ) )
|
|
|
__new__
|
__new__ (
klass,
*__args,
*__kw,
)
Don't allow instantiation if this is an abstract class
Exceptions
|
|
TypeError, "Can't instantiate an abstract class!"
|
|
|
__str__
|
__str__ ( self )
|
|
_mdl_toDict
|
_mdl_toDict ( self )
|
|
mdl_asSyntax
|
mdl_asSyntax ( klass )
|
|
mdl_fromFields
|
mdl_fromFields ( klass, fieldSeq )
Return a new instance from a sequence of fields
|
|
mdl_fromString
|
mdl_fromString ( klass, value )
|
|
mdl_normalize
|
mdl_normalize ( klass, value )
|
|
mdl_toString
|
mdl_toString ( klass, value )
|
|
setParentComponent
|
setParentComponent (
self,
parentComponent,
componentName=None,
)
Exceptions
|
|
TypeError( "Data values are not components" )
|
|
|