Re: DataObject and DataObjectList in Jamaica

"[email protected]" <[email protected]> Mon, 13 Apr 2009 10:22:57 +0200
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
A useful way to look at the objectlist I think is to consider the list 
items as snapshots of the objectlist in a particular state. So iterating 
through the list becomes a process of changing the object's state. With 
that idea in mind I'm not so sure where a decorator type instantiation 
would fit, unless we indeed create some sort of items object class.

Such a class might naturally be instantiated as a result of applying 
getItem or getItems, which would however require changing the current 
API (because the result of those methods is at present an 
integer/array). I don't see that as worth it offhand.

Marc