class documentation
class Homogenous(Constrained): (source)
Known subclasses: twisted.web.vhost.VirtualHostCollection
Constructor: Homogenous(entities)
A homogenous collection of entities.
I will only contain entities that are an instance of the class or type specified by my 'entityType' attribute.
Method | entity |
A method that determines whether an entity may be added to me. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Inherited from Constrained
:
Method | name |
A method that determines whether an entity may be added to me with a given name. |
Method | put |
Store an entity if it meets both constraints. |
Method | really |
Undocumented |
Inherited from Collection
(via Constrained
):
Method | __init__ |
Initialize me. |
Method | del |
Remove a static reference for 'name'. |
Method | get |
Subclass this to generate an entity on demand. |
Method | get |
Retrieve an entity from me. |
Method | get |
Get an entity that was added to me using putEntity. |
Method | list |
A list of all name, entity that I can generate on demand. |
Method | list |
Retrieve a list of the names of entities that I store references to. |
Method | list |
Retrieve a list of all name, entity pairs I contain. |
Method | list |
Retrieve a list of all names for entities that I contain. |
Method | list |
Retrieve a list of all name, entity pairs that I store references to. |
Method | list |
Retrieve a list of the names of entities that I store references to. |
Method | remove |
Remove an entity for 'name', based on the content of 'request'. |
Method | store |
Store an entity for 'name', based on the content of 'request'. |
Instance Variable | entities |
Undocumented |