[ http://issues.apache.org/jira/browse/GRFT-78?page=comments#action_12358131 ]
Oliver Kießler commented on GRFT-78: ------------------------------------ I like the idea of using Annotations but I think graffito is a JDK 1.4 project only, is it? > 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
