Hi all!

this may be a little late for the upcoming release, but it would be great if a future release had support for reordering the contents of List (as generated for a sequence) without requiring to recreate affected element(s); today if I want to reorder the contents of a List I need to create copies of the existing XmlObjects instead of just being able to "move" them, for example:

FooType[] array = t.getFooArray(); // array.length == 4

FooType f = (FooType) array[3].copy(); // you need to do a copy here, otherwise the next statement will obliterate array[3]

t.setFooArray(3, array[1]);

t.setFooArray(1, f);

should be replaced by something like

t.moveFooArrayItem( int sourceIndex, int targetIndex );

ie

t.moveFooArrayItem( 3, 1 );

understandable? Maybe this is already possible in some other way?

best regards!

/Ole
eviware.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to