[jboss-jira] [JBoss JIRA] Closed: (JBXB-215) add JBossXml annotation to filter transient properties in classes on a package level

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Mon Nov 16 06:08:29 EST 2009


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

Alexey Loubyansky closed JBXB-215.
----------------------------------

    Resolution: Done


There have been no changes to the original idea and requests for improvements so far.

> add JBossXml annotation to filter transient properties in classes on a package level
> ------------------------------------------------------------------------------------
>
>                 Key: JBXB-215
>                 URL: https://jira.jboss.org/jira/browse/JBXB-215
>             Project: JBoss XML Binding (JBossXB)
>          Issue Type: Feature Request
>            Reporter: Alexey Loubyansky
>            Assignee: Alexey Loubyansky
>             Fix For: JBossXB-2.0.2.Beta2
>
>
> The prototype has been committed and currently looks like this (excerpt from package-info.java)
> @JBossXmlTransients({
>    // mark specific property in the type as transient
>    @JBossXmlTransient(type = JBossObject.class, properties={"classShortName"}),
>    // not specifying properties will make them all transient in the type
>    @JBossXmlTransient(type = Base.class)
> })
> package org.jboss.test.xb.builder.object.jbossxmltransient.support;
> import org.jboss.util.JBossObject;
> import org.jboss.xb.annotations.JBossXmlTransient;import org.jboss.xb.annotations.JBossXmlTransients;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list