[jbosstools-issues] [JBoss JIRA] (JBIDE-13581) Generate DTO with @Xml annotations from given POJO for the XML/JSON Mediatypes

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Fri Feb 15 05:28:58 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-13581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Coulon updated JBIDE-13581:
----------------------------------

    Description: 
use-case is:
- if a user does not want to expose directly its entities, he needs to provide some DTOs with @javax.xml.bind.annotation.XmlRootElement annotation (so that the JAX-RS runtime can unmarshall/marshall the request and response bodies).

These DTOs coding could be automated by a wizard which would let the user select the POJO fields and choose his prefered annotation style (field vs method) and output package

  was:
use-case is:
- if a user does not want to expose directly its entities, he needs to provide some DTOs with @XmlElement annotations for example, so that the JAX-RS runtime can unmarshall/marshall the request and response bodies.

These DTOs coding could be automated by a wizard which would let the user select the POJO fields and choose his prefered annotation style (field vs method) and output package


    
> Generate DTO with @Xml annotations from given POJO for the XML/JSON Mediatypes
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-13581
>                 URL: https://issues.jboss.org/browse/JBIDE-13581
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Webservices
>    Affects Versions: 4.0.0.Final
>            Reporter: Xavier Coulon
>            Assignee: Xavier Coulon
>             Fix For: 4.1.x
>
>
> use-case is:
> - if a user does not want to expose directly its entities, he needs to provide some DTOs with @javax.xml.bind.annotation.XmlRootElement annotation (so that the JAX-RS runtime can unmarshall/marshall the request and response bodies).
> These DTOs coding could be automated by a wizard which would let the user select the POJO fields and choose his prefered annotation style (field vs method) and output package

--
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


More information about the jbosstools-issues mailing list