[top] / zope / schema / interfaces / IAbstractSet
An unordered collection of unique values.
unique
(Attribute)
This ICollection interface attribute must be True
default
*
-
Field
(default =
None
)
The field default value may be None or a legal field value
missing_value
*
-
Field
(default =
None
)
If input for this Field is missing, and that's ok, then this is the value to use
order
*
-
Int
(default =
None
)
The order attribute can be used to determine the order in which fields in a schema were defined. If one field is created after another (in the same thread), its order will be greater.
(Fields in separate threads could have the same order.)
required
*
-
Bool
(default =
True
)
Tells whether a field requires its value to exist.
value_type
*
-
Field
(default =
None
)
Field value items must conform to the given type, expressed via a Field.
description
-
Text
(default =
u''
)
A description of the field
max_length
-
Int
(default =
None
)
Value after whitespace processing cannot have greater or equal than max_length characters (if a string type) or elements (if another sequence type). If max_length is None, there is no maximum.
min_length
-
Int
(default =
0
)
Value after whitespace processing cannot have less than min_length characters (if a string type) or elements (if another sequence type). If min_length is None, there is no minimum.
readonly
-
Bool
(default =
False
)
If true, the field's value cannot be changed.
title
-
TextLine
(default =
u''
)
A short summary or label
* = required
set(object, value)
Set the value of the field for the object
Raises a type error if the field is a read-only field.
constraint(value)
Check a customized constraint on the value.
You can implement this method with your Field to require a certain constraint. This relaxes the need to inherit/subclass a Field you to add a simple constraint. Returns true if the given value is within the Field's constraint.
bind(object)
Return a copy of this field which is bound to context.
The copy of the Field will have the 'context' attribute set to 'object'. This way a Field can implement more complex checks involving the object's location/environment.
Many fields don't need to be bound. Only fields that condition validation or properties on an object containing the field need to be bound.
get(object)
Get the value of the field for the given object.
query(object, default=None)
Query the value of the field for the given object.
Return the default if the value hasn't been set.
validate(value)
Validate that the given value is a valid field value.
Returns nothing but raises an error if the value is invalid. It checks everything specific to a Field and also checks with the additional constraint.
There are no specific adapters registered for this interface.
There are no extended adapters registered for this interface.
zope.app.pagetemplate.talesapi.ZopeTalesAPI
(name: zope)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.app.pagetemplate.urlquote.URLQuote
(name: url)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.formlib.namedtemplate.NamedTemplatePathAdapter
(name: template)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.app.component.back35.RegistrationManagerNamespace
(name: registrations)
zope.traversing.namespace.lang
(name: lang)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.etc
(name: etc)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.traversing.namespace.item
(name: item)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.app.preference.default.DefaultPreferences
(name: preferences)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.