[jboss-jira] [JBoss JIRA] Created: (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 Jul 13 07:37:29 EDT 2009


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


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