[Zope-dev] Containers in ZODB
Michel Pelletier
michel@digicool.com
Wed, 07 Jun 2000 10:37:48 -0700
Itamar Shtull-Trauring wrote:
>
> > Container - object with some attributes and methods which can collect
> > other objects (also Containers)
>
> For these you should inherit from OFS.ObjectManager.ObjectManager.
http://www.zope.org/Members/michel/Projects/Interfaces/ObjectManager
defines the interface that ObjectManager realizes.
> > Item - an object with some attributes and methods which can not collect
> > any other objects but can be contained in Container
>
> For these you should inherit from OFS.SimpleItem.Item.
http://www.zope.org/Members/michel/Projects/Interfaces/ObjectManagerItem
defines the interface that Item realizes.
--
-Michel Pelletier
http://www.zope.org/Members/michel/MyWiki
Visit WikiCentral for the latest Zen:
http://www.zope.org/Members/WikiCentral