Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5518/src/main/java/org/xdoclet/plugin/hibernate
Modified Files:
HibernateProperties.jelly ManyToAny.jelly
Added Files:
IndexManyToAny.jelly
Removed Files:
IndexManyToAnyTag.jelly
Log Message:
Added support of @hibernate.many-to-any feature
--- IndexManyToAnyTag.jelly DELETED ---
--- NEW FILE: IndexManyToAny.jelly ---
<j:jelly xmlns:j="jelly:core">
<j:set var="indexManyToAnyTag"
value="${property.entity.getTagByName('hibernate.index-many-to-any')}"/>
<j:if test="${indexManyToAnyTag != null}">
<index-many-to-any id-type="${indexManyToAnyTag.idType}"
meta-type="${indexManyToAnyTag.metaType}">
<j:set var="indexColumnTag"
value="${property.entity.getTagsByName('hibernate.index-column')}"/>
<j:forEach var="columnTag" items="${indexColumnTag}">
<j:import uri="org/xdoclet/plugin/hibernate/Column.jelly"
inherit="true"/>
</j:forEach>
</index-many-to-any>
</j:if>
</j:jelly>
Index: ManyToAny.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/ManyToAny.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ManyToAny.jelly 13 May 2005 07:50:38 -0000 1.2
--- ManyToAny.jelly 17 May 2005 12:42:53 -0000 1.3
***************
*** 2,6 ****
<j:set var="manyToAnyTag"
value="${property.entity.getTagByName('hibernate.many-to-any')}"/>
<j:if test="${manyToAnyTag != null}">
! <many-to-any id-type="${manyToAnyTag.class_}"
meta-type="${manyToAnyTag.class_}">
<j:forEach var="metaValueTag"
items="${property.entity.getTagsByName('hibernate.meta-value')}">
<j:import uri="org/xdoclet/plugin/hibernate/MetaValue.jelly"
inherit="true"/>
--- 2,6 ----
<j:set var="manyToAnyTag"
value="${property.entity.getTagByName('hibernate.many-to-any')}"/>
<j:if test="${manyToAnyTag != null}">
! <many-to-any id-type="${manyToAnyTag.idType}"
meta-type="${manyToAnyTag.metaType}">
<j:forEach var="metaValueTag"
items="${property.entity.getTagsByName('hibernate.meta-value')}">
<j:import uri="org/xdoclet/plugin/hibernate/MetaValue.jelly"
inherit="true"/>
Index: HibernateProperties.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/HibernateProperties.jelly,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** HibernateProperties.jelly 26 Apr 2005 07:00:08 -0000 1.13
--- HibernateProperties.jelly 17 May 2005 12:42:53 -0000 1.14
***************
*** 2,6 ****
<!-- process property -->
! <j:set var="propertyTags"
value="${plugin.getTags(property.entity,plugin.propertyTagList)}"/>
<!-- check that no more than one tag is present on property -->
<j:if test="${size(propertyTags) >1}">
--- 2,6 ----
<!-- process property -->
! <j:set var="propertyTags" value="${plugin.getTags(property.entity,
plugin.propertyTagList)}"/>
<!-- check that no more than one tag is present on property -->
<j:if test="${size(propertyTags) >1}">
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits