IIRC we made an attempt with ROP to make regular collection methods work. I 
wouldn't mind if we can fill the gaps with the server-side collections.

Andrus

On Oct 4, 2013, at 5:42 PM, John Huss <johnth...@gmail.com> wrote:

> I'm curious about the API for changing to-many relationships.
> 
> It looks like for CayenneDataObject subclasses List (and probably Map)
> relationships only support changes made using the addToManyTarget,
> removeToManyTarget, and setToManyTarget methods -- with the exception that
> add and addAll seem to work, but not remove, removeAll, retainAll or clear.
> 
> 
> But for Set relationships the regular java collection methods can be used.
> And for ROP objects (direct PersistentObject subclasses) the regular java
> collection methods are also supported.
> 
> Is that a fair assessment?  If so, this inconsistency seems less than
> ideal.  Thoughts?
> 
> John

Reply via email to