Package zope :: Package schema :: Module _bootstrapfields :: Class MinMaxLen
[show private | hide private]
[frames | no frames]

Type MinMaxLen

object --+
         |
        MinMaxLen

Known Subclasses:
AbstractCollection, Bytes, Dict, Text

Expresses constraints on the length of a field.

MinMaxLen is a mixin used in combination with Field.


Method Summary
  __init__(self, min_length, max_length, **kw)
  _validate(self, value)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
Implements __implemented__ = <implementedBy zope.schema._bootstrapf...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
FieldProperty max_length = <zope.schema.fieldproperty.FieldProperty ob...
FieldProperty min_length = <zope.schema.fieldproperty.FieldProperty ob...

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy zope.schema._bootstrapfields.MinMaxLen>                 

__providedBy__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0xb651238c>       

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0xb651238c>       

max_length

Type:
FieldProperty
Value:
<zope.schema.fieldproperty.FieldProperty object at 0xb650738c>         

min_length

Type:
FieldProperty
Value:
<zope.schema.fieldproperty.FieldProperty object at 0xb650750c>         

Generated by Epydoc 2.1 on Fri Jun 24 12:01:19 2005 http://epydoc.sf.net