[Subversion] / PEAK / src / peak / util / ListProxy.py |
No default branch
Bookmark a link to HEAD:
(view)
(download)
(as text)
Normalized whitespace.
Added QueryLink proxy class for computed associations. Changed XMI DM to use (read-only) PersistentQuery instances instead of PersistentList objects, because such models are read-only right now anyway, and it exercises PersistentQuery. Of course, the load() method should probably wrap them in QueryLinks, at least before we have write capability. Refactored QueryLink and PersistentQuery to be based on the new peak.util.ListProxy class, which implements common behavior for things that want to act like lists, but delegate to a 'data' member that's the real list, and return real lists from manipulation operations.
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |