Class s.d.i.IContainer(Interface):

Part of stoqlib.domain.interfaces View In Hierarchy

An objects that holds other objects or items
Method add_item Add a persistent or non-persistent item associated with this
Method get_items Get all the items in the container. The result value could be a
Method remove_item Remove from the list or database the item desired.
def add_item(item):
Add a persistent or non-persistent item associated with this model.
def get_items():
Get all the items in the container. The result value could be a simple python list or an instance which maps to SQL statement.
def remove_item(item):
Remove from the list or database the item desired.
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.