Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334833 - Dynamic JAXB: Allow use of XML names in addition to Java names
Summary: Dynamic JAXB: Allow use of XML names in addition to Java names
Status: CLOSED FIXED
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: Rick Barkhouse CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 14:52 EST by Rick Barkhouse CLA
Modified: 2022-06-09 10:06 EDT (History)
0 users

See Also:


Attachments
Proposed patch - code changes (5.55 KB, patch)
2011-01-27 10:37 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch - test cases (12.63 KB, patch)
2011-01-27 10:38 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch - test cases (14.15 KB, patch)
2011-01-27 11:37 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch - code changes (5.55 KB, patch)
2011-01-27 12:35 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch - test cases (14.02 KB, patch)
2011-01-27 12:36 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch - code changes (5.55 KB, patch)
2011-01-27 12:43 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch - test cases (14.02 KB, patch)
2011-01-27 12:44 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch - code changes (6.83 KB, patch)
2011-01-27 13:08 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch - test cases (13.77 KB, patch)
2011-01-27 13:08 EST, 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-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