| Summary: | schema gen for XmlAccessType.FIELD does not include annotated properties | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Karen Butzke <karenfbutzke> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | matt.macivor |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fix for this bug has been submitted as part of the fix for bug 337721 That fix was reviewed by Blaise Doughan. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Using the following class I generated a schema using MOXy and the properties 'APublicProperty' and 'APrivateProperty' were not generated into the schema even though they are annotated properties. package test.fieldaccess; @XmlType @XmlAccessorType(XmlAccessType.FIELD) public class A { private int aPrivateField; public String aPublicField; @XmlAttribute public String getAPublicProperty() { return null; } public void setAPublicProperty(String name) { } @XmlAttribute private String getAPrivateProperty() { return null; } private void setAPrivateProperty(String name) { } }