Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344338 - Add support to VirtualAttributeAccessor to allow value types other than Object.class
Summary: Add support to VirtualAttributeAccessor to allow value types other than Objec...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-29 15:13 EDT by Rick Barkhouse CLA
Modified: 2022-06-09 10:27 EDT (History)
0 users

See Also:


Attachments
Patch (1.28 KB, patch)
2011-04-29 16:26 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch (1.28 KB, patch)
2011-04-29 16:28 EDT, Rick Barkhouse CLA
no flags Details | Diff
Test changes (4.23 KB, patch)
2011-05-02 16:28 EDT, Rick Barkhouse CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Barkhouse CLA 2011-04-29 15:13:13 EDT
Currently, VirtualAttributeAccessor can be used to map to a Map<String, Object>, but cannot be used for more specific object types, such as Integer, BigDecimal, QName, Employee, etc.
Comment 1 Rick Barkhouse CLA 2011-04-29 15:14:28 EDT
For example, user may wish to store all virtual BigDecimal mappings in one data structure, and store all other virtual mappings in the default Map<String, Object>.
Comment 2 Rick Barkhouse CLA 2011-04-29 16:26:34 EDT
Created attachment 194408 [details]
Patch
Comment 3 Rick Barkhouse CLA 2011-04-29 16:28:10 EDT
Created attachment 194409 [details]
Patch
Comment 4 Rick Barkhouse CLA 2011-05-02 16:28:50 EDT
Created attachment 194540 [details]
Test changes
Comment 5 Rick Barkhouse CLA 2011-05-03 11:14:08 EDT
Fixed, reviewed by cdelahunt.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:15:31 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:27:20 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink