incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Boehme (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GRFT-78) Add additional attributes to jcr-mapping xml file
Date Mon, 21 Nov 2005 09:27:41 GMT
    [ http://issues.apache.org/jira/browse/GRFT-78?page=comments#action_12358129 ] 

Sandro Boehme commented on GRFT-78:
-----------------------------------

It's maybe a little late but it adds much complexity to the mapping file and people like Brian
Moseley could not have the node type registration bundled separately.
If you generate the xml data from lets say annotations in the code, you would need to merge
it with the other data in the mapping file.
My node type registration works with XMLBeans now. So if you want, we can use that for a starting
point and if it's stabalized we can later
switch to Digester.


> Add additional attributes to jcr-mapping xml file
> -------------------------------------------------
>
>          Key: GRFT-78
>          URL: http://issues.apache.org/jira/browse/GRFT-78
>      Project: Graffito
>         Type: Improvement
>   Components: JCR-Mapping
>     Versions: 1.0-a1-dev
>     Reporter: Oliver Kießler
>     Assignee: Oliver Kießler
>      Fix For: 1.0-a1-dev

>
> Here is a list of additional attributes that are needed for JCR node type creation from
the jcr-mapping file:
> class-descriptor
> - jcrSuperTypes (comma separated list of jcr node supertypes) I am not so sure if this
should be used, we might end up with conflicts...)
> field-descriptor
> - jcrType (jcr type that is supposed to be used, if the jcr-node management has access
to the java class I could use reflection but is that always the case? Maybe the java classes
are not in the classpath during node type creation...)
> - jcrAutoCreated (boolean) default is "false" if not specified in jcr-mapping file
> - jcrMandatory (boolean) default is "false" if not specified in jcr-mapping file
> - jcrOnParentVersion default is "IGNORE" if not specified
> - jcrProtected (boolean) default is "false" if not specified
> - jcrMultiple (boolean) default is "false" if not specified
> bean-descriptor:
> - jcrNodeType (defines the child node type)
> - jcrAutoCreated (boolean) default is "false" if not specified in jcr-mapping file
> - jcrMandatory (boolean) default is "false" if not specified
> - jcrOnParentVersion default is "IGNORE" if not specified
> - jcrProtected (boolean) default is "false" if not specified
> - jcrSameNameSiblings (boolean) default is "false" if not specified
> collection-descriptor:
> - jcrNodeType (defines the child node type)
> - jcrAutoCreated (boolean) default is "false" if not specified in jcr-mapping file
> - jcrMandatory (boolean) default is "false" if not specified
> - jcrOnParentVersion default is "IGNORE" if not specified
> - jcrProtected (boolean) default is "false" if not specified
> - jcrSameNameSiblings (boolean) default is "false" if not specified
> Have a look at GRFT-67 also.

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