Peter Jeszenszky wrote:
That is all. The result is that when you load a Foo object you get itsWhy wouldn't this work?
dependent Bar objects in the same order.
public void setBars(java.util.Collection c) {
_bars = new ArrayList(c);
Collections.sort(bars, INDEX_ORDER);
}
Better yet, you could use a special list that maintains sort order instead of a generic List like ArrayList.
Maybe I'm missing something...
-- Charles
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
