You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-dev@incubator.apache.org by "Christophe Lombart (JIRA)" <ji...@apache.org> on 2006/11/07 14:12:50 UTC

[jira] Created: (GRFT-118) Bean-descriptor : Replace the inline attribute by 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
             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

        

[jira] Assigned: (GRFT-118) Bean-descriptor : Replace the inline attribute by a specific bean converter

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GRFT-118?page=all ]

Christophe Lombart reassigned GRFT-118:
---------------------------------------

    Assignee: Christophe Lombart

> 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

        

[jira] Resolved: (GRFT-118) Bean-descriptor : Replace the inline attribute by a specific bean converter

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ 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