Class s.g.i.IDomainSlaveMapper(Interface):

Part of stoqlib.gui.interfaces View In Hierarchy

This is a singleton responsible for mapping a domain object to a slave.
Method register Register a slave class for a domain class.
Method get_slave_class Fetch a slave class given a domain class.
def register(domain_class, slave_class):
Register a slave class for a domain class.
Parametersdomain_class
slave_class
def get_slave_class(domain_class):
Fetch a slave class given a domain class.
Parametersdomain_class
Returnsthe slave class or None
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.