Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335583 - Add API to add to UOW Change set in DescriptorEvent
Summary: Add API to add to UOW Change set in DescriptorEvent
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 10:55 EST by Tom Ware CLA
Modified: 2022-06-09 10:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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