Update of /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26761/src/META-INF
Modified Files:
xtags.xml
Log Message:
element-id attributes for many elements, parent-element attribute for column
(method) element
Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF/xtags.xml,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -r1.62 -r1.63
*** xtags.xml 8 Jun 2005 15:11:26 -0000 1.62
--- xtags.xml 12 Jul 2005 17:24:00 -0000 1.63
***************
*** 408,411 ****
--- 408,477 ----
<tag>
<level>method</level>
+ <name>hibernate.id</name>
+ <usage-description>Declares an identifier
property</usage-description>
+ <unique>true</unique>
+ <condition-description>Hibernate</condition-description>
+ <condition type="method"/>
+ <parameter type="text">
+ <name>column</name>
+ <usage-description>The name of the mapped database table
column</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ <parameter type="text">
+ <name>type</name>
+ <usage-description>The Hibernate type</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ <parameter type="text">
+ <name>length</name>
+ <usage-description>The length of the mapped database
table column</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>generator-class</name>
+ <usage-description>The key generator
class</usage-description>
+ <mandatory>true</mandatory>
+ <option-sets>
+ <option-set>
+ <options>
+ <option>uuid.hex</option>
+ <option>uuid.string</option>
+ <option>increment</option>
+ <option>assigned</option>
+ <option>native</option>
+ <option>identity</option>
+ <option>sequence</option>
+ <option>hilo</option>
+ <option>seqhilo</option>
+ <option>foreign</option>
+ </options>
+ </option-set>
+ </option-sets>
+ </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>
+ </tag>
+
+ <tag>
+ <level>method</level>
<name>hibernate.index-many-to-any</name>
<usage-description>Declares many-to-any
index</usage-description>
***************
*** 423,426 ****
--- 489,502 ----
<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>
***************
*** 592,595 ****
--- 668,685 ----
<tag>
+ <level>class</level>
+ <name>hibernate.loader</name>
+ <usage-description>Specify a table to sync
with.</usage-description>
+ <unique>false</unique>
+ <condition-description>Hibernate</condition-description>
+ <condition type="class"/>
+ <parameter type="text">
+ <name>table</name>
+ <usage-description>Name of the table to sync
against</usage-description>
+ <mandatory>true</mandatory>
+ </parameter>
+ </tag>
+
+ <tag>
<level>method</level>
<name>hibernate.many-to-any</name>
***************
*** 608,611 ****
--- 698,711 ----
<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>
***************
*** 796,799 ****
--- 896,909 ----
<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>
***************
*** 830,833 ****
--- 940,953 ----
<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>
***************
*** 1031,1119 ****
</parameter>
</tag>
!
<tag>
<level>class</level>
! <name>hibernate.subclass</name>
! <usage-description>Declare the current class as
subclass</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
<condition type="class"/>
<parameter type="text">
! <name>table</name>
! <usage-description>The name of its database
table</usage-description>
! <mandatory>false</mandatory>
! </parameter>
! <parameter type="text">
! <name>discriminator-value</name>
! <usage-description>A value that distinguishes the
particular subclass</usage-description>
! <mandatory>false</mandatory>
! </parameter>
! <parameter type="bool">
! <name>lazy</name>
! <usage-description>Specifies the class itself to use for
CGLIB proxy interface</usage-description>
! <mandatory>false</mandatory>
! <default>false</default>
! </parameter>
! <parameter type="text">
! <name>proxy</name>
! <usage-description>Specifies an interface to use for
CGLIB proxies</usage-description>
! <mandatory>false</mandatory>
! </parameter>
! <parameter type="bool">
! <name>dynamic-update</name>
! <usage-description>Specifies that only changed columns
should appear in the SQL UPDATE</usage-description>
! <mandatory>false</mandatory>
! <default>false</default>
! </parameter>
! <parameter type="bool">
! <name>dynamic-insert</name>
! <usage-description>Specifies that null columns should not
appear in the SQL INSERT</usage-description>
<mandatory>false</mandatory>
- <default>false</default>
- </parameter>
- </tag>
-
-
- <!--================= Tags in unsorted order ================-->
-
-
- <tag>
- <level>class</level>
- <name>hibernate.subselect</name>
- <usage-description>Defines a SQL subselect expression. There
are no parameters, specify the expression immediately after the
tag.</usage-description>
- <unique>true</unique>
- <condition-description>Hibernate</condition-description>
- <condition type="class"/>
- </tag>
- <tag>
- <level>class</level>
- <name>hibernate.synchronize</name>
- <usage-description>Specify a table to sync
with.</usage-description>
- <unique>false</unique>
- <condition-description>Hibernate</condition-description>
- <condition type="class"/>
- <parameter type="text">
- <name>table</name>
- <usage-description>Name of the table to sync
against</usage-description>
- <mandatory>true</mandatory>
</parameter>
- </tag>
- <tag>
- <level>class</level>
- <name>hibernate.loader</name>
- <usage-description>Specify a table to sync
with.</usage-description>
- <unique>false</unique>
- <condition-description>Hibernate</condition-description>
- <condition type="class"/>
<parameter type="text">
! <name>table</name>
! <usage-description>Name of the table to sync
against</usage-description>
<mandatory>true</mandatory>
</parameter>
</tag>
<tag>
<level>class</level>
! <name>hibernate.sql-insert</name>
! <usage-description>Hibernate sql-insert
element</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
--- 1151,1178 ----
</parameter>
</tag>
!
<tag>
<level>class</level>
! <name>hibernate.sql-delete</name>
! <usage-description>Hibernate sql-delete
element</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
<condition type="class"/>
<parameter type="text">
! <name>callable</name>
! <usage-description>callable attribute</usage-description>
<mandatory>false</mandatory>
</parameter>
<parameter type="text">
! <name>value</name>
! <usage-description>element value</usage-description>
<mandatory>true</mandatory>
</parameter>
</tag>
+
<tag>
<level>class</level>
! <name>hibernate.sql-delete-all</name>
! <usage-description>Hibernate sql-delete-all
element</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
***************
*** 1127,1137 ****
<name>value</name>
<usage-description>element value</usage-description>
! <mandatory>true</mandatory>
</parameter>
</tag>
<tag>
<level>class</level>
! <name>hibernate.sql-update</name>
! <usage-description>Hibernate sql-update
element</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
--- 1186,1197 ----
<name>value</name>
<usage-description>element value</usage-description>
! <mandatory>false</mandatory>
</parameter>
</tag>
+
<tag>
<level>class</level>
! <name>hibernate.sql-insert</name>
! <usage-description>Hibernate sql-insert
element</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
***************
*** 1148,1155 ****
</parameter>
</tag>
<tag>
<level>class</level>
! <name>hibernate.sql-delete</name>
! <usage-description>Hibernate sql-delete
element</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
--- 1208,1216 ----
</parameter>
</tag>
+
<tag>
<level>class</level>
! <name>hibernate.sql-update</name>
! <usage-description>Hibernate sql-update
element</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
***************
*** 1166,1252 ****
</parameter>
</tag>
<tag>
<level>class</level>
! <name>hibernate.sql-delete-all</name>
! <usage-description>Hibernate sql-delete-all
element</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
<condition type="class"/>
<parameter type="text">
! <name>callable</name>
! <usage-description>callable attribute</usage-description>
<mandatory>false</mandatory>
</parameter>
<parameter type="text">
! <name>value</name>
! <usage-description>element value</usage-description>
<mandatory>false</mandatory>
</parameter>
! </tag>
! <tag>
! <level>method</level>
! <name>hibernate.id</name>
! <usage-description>Declares an identifier
property</usage-description>
! <unique>true</unique>
! <condition-description>Hibernate</condition-description>
! <condition type="method"/>
! <parameter type="text">
! <name>column</name>
! <usage-description>The name of the mapped database table
column</usage-description>
<mandatory>false</mandatory>
</parameter>
<parameter type="text">
! <name>type</name>
! <usage-description>The Hibernate type</usage-description>
<mandatory>false</mandatory>
</parameter>
! <parameter type="text">
! <name>length</name>
! <usage-description>The length of the mapped database
table column</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>generator-class</name>
! <usage-description>The key generator
class</usage-description>
<mandatory>true</mandatory>
- <option-sets>
- <option-set>
- <options>
- <option>uuid.hex</option>
- <option>uuid.string</option>
- <option>increment</option>
- <option>assigned</option>
- <option>native</option>
- <option>identity</option>
- <option>sequence</option>
- <option>hilo</option>
- <option>seqhilo</option>
- <option>foreign</option>
- </options>
- </option-set>
- </option-sets>
- </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>
! </tag>
<tag>
<level>method</level>
--- 1227,1300 ----
</parameter>
</tag>
+
<tag>
<level>class</level>
! <name>hibernate.subclass</name>
! <usage-description>Declare the current class as
subclass</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
<condition type="class"/>
<parameter type="text">
! <name>table</name>
! <usage-description>The name of its database
table</usage-description>
<mandatory>false</mandatory>
</parameter>
<parameter type="text">
! <name>discriminator-value</name>
! <usage-description>A value that distinguishes the
particular subclass</usage-description>
<mandatory>false</mandatory>
</parameter>
! <parameter type="bool">
! <name>lazy</name>
! <usage-description>Specifies the class itself to use for
CGLIB proxy interface</usage-description>
<mandatory>false</mandatory>
+ <default>false</default>
</parameter>
<parameter type="text">
! <name>proxy</name>
! <usage-description>Specifies an interface to use for
CGLIB proxies</usage-description>
<mandatory>false</mandatory>
</parameter>
! <parameter type="bool">
! <name>dynamic-update</name>
! <usage-description>Specifies that only changed columns
should appear in the SQL UPDATE</usage-description>
<mandatory>false</mandatory>
+ <default>false</default>
</parameter>
! <parameter type="bool">
! <name>dynamic-insert</name>
! <usage-description>Specifies that null columns should not
appear in the SQL INSERT</usage-description>
<mandatory>false</mandatory>
! <default>false</default>
</parameter>
+ </tag>
+
+ <tag>
+ <level>class</level>
+ <name>hibernate.subselect</name>
+ <usage-description>Defines a SQL subselect expression. There
are no parameters, specify the expression immediately after the
tag.</usage-description>
+ <unique>true</unique>
+ <condition-description>Hibernate</condition-description>
+ <condition type="class"/>
+ </tag>
+
+ <tag>
+ <level>class</level>
+ <name>hibernate.synchronize</name>
+ <usage-description>Specify a table to sync
with.</usage-description>
+ <unique>false</unique>
+ <condition-description>Hibernate</condition-description>
+ <condition type="class"/>
<parameter type="text">
! <name>table</name>
! <usage-description>Name of the table to sync
against</usage-description>
<mandatory>true</mandatory>
</parameter>
! </tag>
!
!
! <!--================= Tags in unsorted order ================-->
!
!
<tag>
<level>method</level>
***************
*** 1518,1521 ****
--- 1566,1579 ----
<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>
***************
*** 1561,1564 ****
--- 1619,1632 ----
<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>
***************
*** 1609,1612 ****
--- 1677,1690 ----
<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>
***************
*** 1724,1727 ****
--- 1802,1815 ----
<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>
***************
*** 1829,1832 ****
--- 1917,1930 ----
<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>
***************
*** 2185,2188 ****
--- 2283,2296 ----
<default>true</default>
</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>
***************
*** 2351,2354 ****
--- 2459,2476 ----
<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>
<tag>
***************
*** 2818,2821 ****
--- 2940,2953 ----
<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>
***************
*** 2836,2839 ****
--- 2968,2981 ----
<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>
***************
*** 2864,2867 ****
--- 3006,3019 ----
<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>
***************
*** 2917,2920 ****
--- 3069,3082 ----
<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>
***************
*** 3074,3077 ****
--- 3236,3249 ----
<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>
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel