From the documentation of @XmleElement:
anonymous wrote :
| Customize the element declaration to be required.
|
| If required() is true, then Javabean property is mapped to an XML schema element
declaration with minOccurs="1". maxOccurs is "1" for a single valued
property and "unbounded" for a multivalued property.
|
| If required() is false, then the Javabean property is mapped to XML Schema element
declaration with minOccurs="0". maxOccurs is "1" for a single valued
property and "unbounded" for a multivalued property.
|
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045957#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...