[
https://issues.apache.org/jira/browse/JAXME-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Wiedmann resolved JAXME-105.
-----------------------------------
Assignee: Jochen Wiedmann
Resolution: Invalid
I assume, that you mean "no corresponding set method generated"? If so, that's
perfectly as requested by the JAXB spec, thus an intentional behaviour.
To set your elements, use
object.getAddress().clear();
object.getAddress().addAll(myAddresses);
> can't generate get list method with element has maxOccurs="unbounded"
> ---------------------------------------------------------------------
>
> Key: JAXME-105
> URL: https://issues.apache.org/jira/browse/JAXME-105
> Project: JaxMe
> Issue Type: Bug
> Components: JaxMe Core
> Affects Versions: current (nightly)
> Environment: wiindow xp, j2se 1.6
> Reporter: chan tsz yeung
> Assignee: Jochen Wiedmann
> Fix For: current (nightly)
>
>
> Dear all,
> I have a xsd file. One of the element contains maxOccurs="unbounded" tag.
> However, after running ant with default build.xml.
> The generated interface file only contains "public java.util.List
> getAddress();" function but no corresponding get method generated.
> Could you please advise? Thanks.
> Stephen
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]