| Trees | Index | Help |
|
|---|
| Package zope :: Package schema :: Module fieldproperty :: Class FieldProperty |
|
object --+
|
FieldProperty
Computed attributes based on schema fields
Field properties provide default values, data validation and error messages based on data found in field meta-data.
Note that FieldProperties cannot be used with slots. They can only be used for attributes stored in instance dictionaries.| Method Summary | |
|---|---|
__init__(self,
field,
name)
| |
__get__(self,
inst,
klass)
| |
__getattr__(self,
name)
| |
__set__(self,
inst,
value)
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Jun 24 12:01:24 2005 | http://epydoc.sf.net |