Bean-descriptor : Replace the inline attribute by a specific bean converter
---------------------------------------------------------------------------
Key: GRFT-118
URL: http://issues.apache.org/jira/browse/GRFT-118
Project: Graffito
Issue Type: Improvement
Components: JCR-Mapping
Affects Versions: 1.0-a1-dev
Reporter: Christophe Lombart
Fix For: 1.0-a1-dev
In order to simplify the xml descriptor file, we can replace the inline
attribute by a predefined converter in the bean-descriptor. This will also
simplify the code in the ObjectConverterImpl
Instead of using the following descriptor :
<class-descriptor
className="org.apache.portals.graffito.jcr.testmodel.D" ... >
<bean-descriptor fieldName="b1" jcrName="b1" inline="true" />
....
</class-descriptor>
we can have something like this :
<class-descriptor
className="org.apache.portals.graffito.jcr.testmodel.D" ... >
<bean-descriptor fieldName="b1" jcrName="b1"
converter="InlineBeanConverterImpl" />
....
</class-descriptor>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira