incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GRFT-118) Bean-descriptor : Replace the inline attribute by a specific bean converter
Date Mon, 20 Nov 2006 21:24:05 GMT
     [ http://issues.apache.org/jira/browse/GRFT-118?page=all ]

Christophe Lombart resolved GRFT-118.
-------------------------------------

    Resolution: Fixed

Now, inline support is done with a specific bean converter.


> 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
>         Assigned To: 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

        

Mime
View raw message