Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335583

Summary: Add API to add to UOW Change set in DescriptorEvent
Product: z_Archived Reporter: Tom Ware <tom.ware>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tom Ware CLA 2011-01-27 10:55:20 EST
Currently DescriptorEvent has methods:

updateAttributeWithObject
updateAttributeAddObjectToCollection
updateAttributeRemoveObjectFromCollection

These methods provide convenient ways of updating objects in a change set, but only cover the actual object for which the event was raised.

We should add similar convenience methods that allow you to add new objects to the change set.

e.g. Lets say I get a preUpdate event for a changed DTF Mapping and I want to update other objects based on that change.  We shold provide convenience methods that allow new elements to be added to the change set for those other objects.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:36:17 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink