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

Bug 334833

Summary: Dynamic JAXB: Allow use of XML names in addition to Java names
Product: z_Archived Reporter: Rick Barkhouse <rick.barkhouse>
Component: EclipselinkAssignee: Rick Barkhouse <rick.barkhouse>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch - code changes
none
Proposed patch - test cases
none
Proposed patch - test cases
none
Proposed patch - code changes
none
Proposed patch - test cases
none
Proposed patch - code changes
none
Proposed patch - test cases
none
Proposed patch - code changes
none
Proposed patch - test cases none

Description Rick Barkhouse CLA 2011-01-19 14:52:00 EST
Currently, to create a new DynamicEntity, or to set/get properties from a DynamicEntity, you must use the Java name, i.e the name that was generated when parsing the metadata.

We should provide the ability to reference types and properties by their XML name, so that users can "stay in the XML world" and not have to deduce for themselves what their XML names were translated to.
Comment 1 Rick Barkhouse CLA 2011-01-27 10:37:41 EST
Created attachment 187737 [details]
Proposed patch - code changes
Comment 2 Rick Barkhouse CLA 2011-01-27 10:38:25 EST
Created attachment 187738 [details]
Proposed patch - test cases
Comment 3 Rick Barkhouse CLA 2011-01-27 11:37:42 EST
Created attachment 187746 [details]
Proposed patch - test cases
Comment 4 Rick Barkhouse CLA 2011-01-27 12:35:58 EST
Created attachment 187752 [details]
Proposed patch - code changes
Comment 5 Rick Barkhouse CLA 2011-01-27 12:36:12 EST
Created attachment 187753 [details]
Proposed patch - test cases
Comment 6 Rick Barkhouse CLA 2011-01-27 12:43:51 EST
Created attachment 187754 [details]
Proposed patch - code changes
Comment 7 Rick Barkhouse CLA 2011-01-27 12:44:07 EST
Created attachment 187755 [details]
Proposed patch - test cases
Comment 8 Rick Barkhouse CLA 2011-01-27 13:08:21 EST
Created attachment 187756 [details]
Proposed patch - code changes
Comment 9 Rick Barkhouse CLA 2011-01-27 13:08:36 EST
Created attachment 187757 [details]
Proposed patch - test cases
Comment 10 Rick Barkhouse CLA 2011-01-27 13:11:18 EST
Fixed, reviewed by bdoughan.

New test cases: org.eclipse.persistence.testing.jaxb.dynamic.DynamicJAXBUsingXMLNamesTestCases
Comment 11 Rick Barkhouse CLA 2011-01-27 13:11:30 EST
Closed.
Comment 12 Eclipse Webmaster CLA 2022-06-09 10:06:14 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink