Update of /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22114/modules/hibernate/src/META-INF
Modified Files:
xtags.xml
Log Message:
[XDT-414] Allow composite-id composed of multiple class member properties
Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF/xtags.xml,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -r1.69 -r1.70
*** xtags.xml 29 Jul 2005 17:42:09 -0000 1.69
--- xtags.xml 26 Aug 2005 00:33:26 -0000 1.70
***************
*** 1099,1103 ****
<tag>
! <level>method</level>
<name>hibernate.composite-id</name>
<usage-description>
--- 1099,1103 ----
<tag>
! <level>class</level>
<name>hibernate.composite-id</name>
<usage-description>
***************
*** 1107,1117 ****
<condition-description>Hibernate</condition-description>
<condition type="method" />
<parameter type="text">
! <name>name</name>
<usage-description>
! The name of the property
</usage-description>
<mandatory>false</mandatory>
</parameter>
<parameter type="bool">
<name>mapped</name>
--- 1107,1173 ----
<condition-description>Hibernate</condition-description>
<condition type="method" />
+ <parameter type="bool">
+ <name>mapped</name>
+ <usage-description>
+ True if the composite id is mapped
+ </usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
<parameter type="text">
! <name>unsaved-value</name>
<usage-description>
! A value that distinguishes transient instances
! with existing persistent state from new
! transient instances
! </usage-description>
! <mandatory>false</mandatory>
! <default>null</default>
! </parameter>
! <parameter type="text">
! <name>access</name>
! <usage-description>
! The strategy Hibernate should use for accessing
! the property value.
! </usage-description>
! <mandatory>false</mandatory>
! <default>property</default>
! <option-sets>
! <option-set>
! <options>
! <option>field</option>
! <option>property</option>
! <option>ClassName</option>
! </options>
! </option-set>
! </option-sets>
! </parameter>
! <parameter type="text">
! <name>node</name>
! <usage-description>
! specify a XML binding node name
! </usage-description>
! <mandatory>false</mandatory>
! </parameter>
! <parameter type="text">
! <name>element-id</name>
! <usage-description>
! Gives this element a specific name. The name can
! later be referenced by parent-element attributes
! on other hibernate tags, to specify that those
! tags are only to be associated with this one.
</usage-description>
<mandatory>false</mandatory>
</parameter>
+ </tag>
+
+ <tag>
+ <level>method</level>
+ <name>hibernate.composite-id</name>
+ <usage-description>
+ Declares a composite id
+ </usage-description>
+ <unique>true</unique>
+ <condition-description>Hibernate</condition-description>
+ <condition type="method" />
<parameter type="bool">
<name>mapped</name>
***************
*** 2398,2401 ****
--- 2454,2473 ----
<mandatory>false</mandatory>
</parameter>
+ <parameter type="text">
+ <name>parent-element</name>
+ <usage-description>
+ Use this when you have a complex mapping and you
+ want to be able to specify exactly which mapping
+ element this element belongs to. For example, on
+ the parent element, use the attribute
+ "element-id = myparent", and on this element,
+ use the attribute "parent-element = myparent".
+ This way, the element is only included with the
+ parent element that you specify, rather than all
+ possible elements with which this may element
+ may be associated.
+ </usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
</tag>
***************
*** 2473,2476 ****
--- 2545,2564 ----
<mandatory>false</mandatory>
</parameter>
+ <parameter type="text">
+ <name>parent-element</name>
+ <usage-description>
+ Use this when you have a complex mapping and you
+ want to be able to specify exactly which mapping
+ element this element belongs to. For example, on
+ the parent element, use the attribute
+ "element-id = myparent", and on this element,
+ use the attribute "parent-element = myparent".
+ This way, the element is only included with the
+ parent element that you specify, rather than all
+ possible elements with which this may element
+ may be associated.
+ </usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
</tag>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel