Methods
|
|
__delete__
__get__
__set__
add
fromFields
fromString
insertBefore
remove
replace
|
|
__delete__
|
__delete__ ( element )
Unset the feature for element (works like __delattr__)
|
|
__get__
|
__get__ ( element, type=None )
Retrieve value of the feature for element
|
|
__set__
|
__set__ ( element, value )
Set value as the value of the feature for element
|
|
add
|
add ( element, item )
Add the item to the collection/relationship, reject if multiplicity
exceeded
|
|
fromFields
|
fromFields ( fieldSequence )
See IType.mdl_fromFields()
|
|
fromString
|
fromString ( aString )
See IType.mdl_fromString()
|
|
insertBefore
|
insertBefore (
element,
oldItem,
newItem,
)
Insert newItem before oldItem in the collection; raises ValueError
if oldItem is missing, TypeError if feature is not ordered
|
|
remove
|
remove ( element, item )
Remove the item from the collection/relationship, if present
|
|
replace
|
replace (
element,
oldItem,
newItem,
)
Replace oldItem with newItem in the collection; raises ValueError
if oldItem is missing
|