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-serv12268/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate
Modified Files:
CompositeId.jelly
Log Message:
Alteration in composite-id tag, now it also can be placed into class attributes
and class methods.
Index: CompositeId.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/CompositeId.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CompositeId.jelly 4 Jan 2005 23:42:02 -0000 1.2
--- CompositeId.jelly 20 Apr 2005 03:33:45 -0000 1.3
***************
*** 3,12 ****
<j:set var="compositeIdTag"
value="${property.entity.getTagByName('hibernate.composite-id')}"/>
! <composite-id name="${property.name}"
class="${property.entity.returns.value}"
unsaved-value="${compositeIdTag.unsavedValue}">
<j:forEach var="metaTag"
items="${property.entity.getTagsByName('hibernate.meta')}">
<j:import uri="org/xdoclet/plugin/hibernate/Meta.jelly"
inherit="true"/>
</j:forEach>
! <j:set var="props"
value="${plugin.getClassProperties(property.entity.returns.javaClass)}"/>
<j:forEach begin="1" end="${size(props)}" indexVar="propsI">
<j:forEach var="keyProperty" items="${props}">
--- 3,12 ----
<j:set var="compositeIdTag"
value="${property.entity.getTagByName('hibernate.composite-id')}"/>
! <composite-id name="${property.name}"
class="${plugin.getIdType(property.entity)}"
unsaved-value="${compositeIdTag.unsavedValue}">
<j:forEach var="metaTag"
items="${property.entity.getTagsByName('hibernate.meta')}">
<j:import uri="org/xdoclet/plugin/hibernate/Meta.jelly"
inherit="true"/>
</j:forEach>
! <j:set var="props"
value="${plugin.getClassProperties(property.type.javaClass)}"/>
<j:forEach begin="1" end="${size(props)}" indexVar="propsI">
<j:forEach var="keyProperty" items="${props}">
***************
*** 27,31 ****
</j:forEach>
-
</composite-id>
</j:jelly>
\ No newline at end of file
--- 27,30 ----
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
xdoclet-plugins-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits