Class e.p.d.m.DaapModel(Model):

Part of elisa.plugins.daap.models View In Hierarchy

Known subclasses: elisa.plugins.daap.models.DaapDatabaseListModel, elisa.plugins.daap.models.DaapDatabaseModel, elisa.plugins.daap.models.DaapListing, elisa.plugins.daap.models.DaapPlaylistEntryModel, elisa.plugins.daap.models.DaapServerInfoModel, elisa.plugins.daap.models.DaapSongModel

A DaapModel is generic Model that is used for the parsing process. The three class variables mappings, container and container_items are used internally. This model itself is a *metaclass*. Never use it directly!
Line # Kind Name Docs
34 Method __init__ The DaapModel reads all the values in self.mappings and sets the values

Inherited from Bindable (via Model):

Line # Kind Name Docs
34 Method bind Bind a local attribute to destination_attribute of
73 Method unbind Remove the binding of attribute to destination_attribute of
104 Method unbind_object Remove all the bindings you have for a certain destination_object.
118 Method __setattr__ Undocumented
136 Method __delattr__ Undocumented
def __init__(self):
The DaapModel reads all the values in self.mappings and sets the values to None. If container is set, it also creates the initial list at the attribute with the name specified in the container. This is the first step for the parsing process.
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.