E&S CVS Commit: PEAK - Added QueryLink proxy class for computed associations. Changed XMI DM

pje at eby-sarna.com pje at eby-sarna.com
Mon Nov 18 18:06:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Mon Nov 18 23:05:47 UTC 2002

Modified Files:
	PEAK/src/peak/metamodels/xmi: Reading.py
	PEAK/src/peak/model: api.py
Added Files:
	PEAK/src/peak/util: ListProxy.py

Log Message:
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.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/metamodels/xmi/Reading.py.diff?r1=1.32&r2=1.33
http://cvs.eby-sarna.com/PEAK/src/peak/model/api.py.diff?r1=1.41&r2=1.42
http://cvs.eby-sarna.com/PEAK/src/peak/util/ListProxy.py?rev=1.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 PEAK/src/peak/metamodels/xmi/Reading.py
cvs rdiff -r1.41 -r1.42 PEAK/src/peak/model/api.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/util/ListProxy.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list