Home | Trees | Index | Help |
---|
Package twisted :: Package python :: Module roots :: Class Constrained |
|
Collection
--+
|
Constrained
ConfigCollection
,
Locked
,
Homogenous
Method Summary | |
---|---|
Initialize me. (inherited from Collection )
| |
Remove a static reference for 'name'. (inherited from Collection )
| |
A method that determines whether an entity may be added to me. | |
Subclass this to generate an entity on demand. (inherited from Collection )
| |
Retrieve an entity from me. (inherited from Collection )
| |
Get an entity that was added to me using putEntity. (inherited from Collection )
| |
A list of all name, entity that I can generate on demand. (inherited from Collection )
| |
Retrieve a list of the names of entities that I store references to. (inherited from Collection )
| |
Retrieve a list of all name, entity pairs I contain. (inherited from Collection )
| |
Retrieve a list of all names for entities that I contain. (inherited from Collection )
| |
Retrieve a list of all name, entity pairs that I store references to. (inherited from Collection )
| |
Retrieve a list of the names of entities that I store references to. (inherited from Collection )
| |
A method that determines whether an entity may be added to me with a given name. | |
Store an entity if it meets both constraints. | |
reallyPutEntity(self,
name,
entity)
| |
Remove an entity for 'name', based on the content of 'request'. (inherited from Collection )
| |
Store an entity for 'name', based on the content of 'request'. (inherited from Collection )
|
Method Details |
---|
entityConstraint(self, entity)A method that determines whether an entity may be added to me. If the constraint is satisfied, return 1; if the constraint is not satisfied, either return 0 or raise a descriptive ConstraintViolation. |
nameConstraint(self, name)A method that determines whether an entity may be added to me with a given name. If the constraint is satisfied, return 1; if the constraint is not satisfied, either return 0 or raise a descriptive ConstraintViolation. |
putEntity(self, name, entity)Store an entity if it meets both constraints. Otherwise raise a ConstraintViolation.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:25:57 2003 | http://epydoc.sf.net |