[
https://issues.apache.org/jira/browse/CXF-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-4868.
------------------------------
Resolution: Not A Problem
Fix Version/s: (was: NeedMoreInfo)
Invalid
Assignee: Daniel Kulp
There is a plugin that already does this, no sense re-inventing the wheel for
this.
> cxf-xjc plugin generate List<T> for wrapped lists
> -------------------------------------------------
>
> Key: CXF-4868
> URL: https://issues.apache.org/jira/browse/CXF-4868
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Affects Versions: 2.7.3
> Environment: All
> Reporter: Matt Pavlovich
> Assignee: Daniel Kulp
> Fix For: Invalid
>
>
> It would be really handy to have a wrapped lists not implement a wrapper
> class, but instead just generate List<T> references (classes, and method
> signatures in services.)
> Similar to the xew xjc plugin: https://github.com/dmak/jaxb-xew-plugin
> <CarList>
> <Car type="import" engine="v6"/>
> <Car type="domestic" engine="v8"/>
> </CarList>
> Currently..
> List<Car> cars = CarList.getCar()...
> ^-- No need for the "CarList.class"
> Thanks!
> Matt
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira