Trees | Indices | Help |
|
---|
|
object --+ | BaseParameter --+ | NestedParameter
A 'parent' parameter for a set of related parameters. This provices a logical grouping for the child parameters.
Typically, the 'fullName' of the child parameters mix in the parent's 'fullName'. This allows for a field to appear multiple times in a form (for example, two codebases each have a 'branch' field).
If the 'name' of the parent is the empty string, then the parent's name does not mix in with the child 'fullName'. This is useful when a field will not appear multiple time in a scheduler but the logical grouping is helpful.
The result of a NestedParameter is typically a dictionary, with the key/value being the name/value of the children.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
type =
|
|
fields = None hash(x) |
|
Inherited from |
Properties | |
Inherited from Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
Collapse the child values into a dictionary. This is intended to be called by child classes to fix up the fullName->name conversions. |
By default, the child values will be collapsed into a dictionary. If the parent is anonymous, this dictionary is the top-level properties.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 21 16:22:44 2012 | http://epydoc.sourceforge.net |