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

Bug 344338

Summary: Add support to VirtualAttributeAccessor to allow value types other than Object.class
Product: z_Archived Reporter: Rick Barkhouse <rick.barkhouse>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch
none
Patch
none
Test changes none

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