Christophe Lombart (JIRA) wrote:
Final JCR Mapping Document PROPOSAL
-----------------------------------
Key: GRFT-37
URL: http://issues.apache.org/jira/browse/GRFT-37
Project: Graffito
Type: Task
Components: Documentation
Versions: 1.0-a1-dev
Reporter: Christophe Lombart
Fix For: 1.0-a1-dev
I would like to write a document which can group the different ideas in order to have only one final proposal for :
* The subproject goals
* the component structures (I added in this doc the Sandro proposal) and API.
* The mapping file structure.
* ...
Feel free the modify the document in attachement and add it the new version in this issue. This is not a simple project, so a working doc like this should help us to work on the same foundations.
Hello Christophe,
>Here is a simplification of the Sandro proposal....
I'm more for a mapping file similar to this:
<mapping>
<classAttributes
packageName="org.apache.portals.graffito.jcr.testmodel"
className="CmsObject"/>
<nodeTypeAttributes nodeTypeName="graffito:CmsObject">
<supertype>nt:base</supertype>
</nodeTypeAttributes>
<subitemMapping propertyName="objectId" parameterType="long"
jcrPropertyDefinition name="graffito:parentId" />
</mapping>
You can find the according mails here:
http://mail-archives.apache.org/mod_mbox/incubator-graffito-dev/200507.mbox/[EMAIL
PROTECTED]
http://mail-archives.apache.org/mod_mbox/incubator-graffito-dev/200507.mbox/[EMAIL
PROTECTED]
Sandro