Community
Participate
Working Groups
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) { } }
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