[jboss-user] [EJB 3.0] - Re: minOccurs and maxOccurs in EJB3 annotations?
fhh
do-not-reply at jboss.com
Tue May 15 17:39:57 EDT 2007
>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#4045957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045957
More information about the jboss-user
mailing list