[ http://issues.apache.org/jira/browse/GRFT-78?page=comments#action_12358699 ]
Sandro Boehme commented on GRFT-78: ----------------------------------- You can have an own component which uses JDK 1.5 to generate the XML file from annotations. The registration component can use JDK 1.4 and read the generated XML file. But this is just one example to give others the possibility to use the registration component. > 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
