Update of /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14694/modules/hibernate/src/META-INF
Modified Files:
xtags.xml
Log Message:
Begin cleanup of collections.xdt; prefer Hibernate tags named after DTD
elements over @hibernate.collection-* tags.
Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF/xtags.xml,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** xtags.xml 3 Jun 2005 14:34:36 -0000 1.58
--- xtags.xml 6 Jun 2005 16:47:36 -0000 1.59
***************
*** 149,157 ****
<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">
--- 149,156 ----
<mandatory>false</mandatory>
</parameter>
! <parameter type="text">
<name>lazy</name>
<usage-description>Specifies the class itself to use for
CGLIB proxy interface</usage-description>
<mandatory>false</mandatory>
</parameter>
<parameter type="text">
***************
*** 900,903 ****
--- 899,993 ----
<tag>
<level>method</level>
+ <name>hibernate.key-property</name>
+ <usage-description>Defines a property for a collection
key.</usage-description>
+ <unique>true</unique>
+ <condition-description>Hibernate</condition-description>
+ <condition type="method"/>
+ <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>type</name>
+ <usage-description>The Hibernate type</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ <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>length</name>
+ <usage-description>The length of the mapped database
table column</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ <parameter type="text">
+ <name>node</name>
+ <usage-description>For XML mapping, the node name to be
used</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ </tag>
+ <tag>
+ <level>method</level>
+ <name>hibernate.key-many-to-one</name>
+ <usage-description>Defines a many-to-one relation for a
collection key.</usage-description>
+ <unique>true</unique>
+ <condition-description>Hibernate</condition-description>
+ <condition type="method"/>
+ <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>class</name>
+ <usage-description>A fully qualified class
name</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ <parameter type="text">
+ <name>entity-name</name>
+ <usage-description>Entity name</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ <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>foreign-key</name>
+ <usage-description>Specifies that the foreign key refers
to columns that are not the primary key of the orginal
table.</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ <parameter type="text">
+ <name>lazy</name>
+ <usage-description>Specifies the class itself to use for
CGLIB proxy interface</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ </tag>
+ <tag>
+ <level>method</level>
<name>hibernate.formula</name>
<usage-description>Defines a SQL formula for a property
mapping. There are no parameters, specify the expression immediately after the
tag. There are no parameters, specify the expression immediately after the
tag.</usage-description>
***************
*** 2210,2215 ****
<tag>
<level>method</level>
! <name>hibernate.collection-key</name>
! <usage-description>Declares a collection
key</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
--- 2300,2305 ----
<tag>
<level>method</level>
! <name>hibernate.index</name>
! <usage-description>Declares a collection index. This will be
used as index for the arrays, sotring field for the lists or keys in the
map</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
***************
*** 2218,2264 ****
<name>column</name>
<usage-description>The name of the mapped database table
column</usage-description>
- <mandatory>true</mandatory>
- </parameter>
- </tag>
- <tag>
- <level>method</level>
- <name>hibernate.collection-key-column</name>
- <usage-description>Defines a column for a collection
key</usage-description>
- <unique>false</unique>
- <condition-description>Hibernate</condition-description>
- <condition type="method"/>
- <parameter type="text">
- <name>name</name>
- <usage-description>The column name</usage-description>
- <mandatory>true</mandatory>
- </parameter>
- <parameter type="text">
- <name>length</name>
- <usage-description>The column length</usage-description>
- <mandatory>false</mandatory>
- </parameter>
- <parameter type="bool">
- <name>unique</name>
- <usage-description>Is the column
unique</usage-description>
- <mandatory>false</mandatory>
- </parameter>
- <parameter type="bool">
- <name>not-null</name>
- <usage-description>Is the column
nullable</usage-description>
<mandatory>false</mandatory>
</parameter>
<parameter type="text">
! <name>index</name>
! <usage-description>The name of an
index</usage-description>
! <mandatory>false</mandatory>
! </parameter>
! <parameter type="text">
! <name>unique-key</name>
! <usage-description>The name of a unique
constraint</usage-description>
<mandatory>false</mandatory>
</parameter>
<parameter type="text">
! <name>sql-type</name>
! <usage-description>The SQL column type</usage-description>
<mandatory>false</mandatory>
</parameter>
--- 2308,2321 ----
<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>
***************
*** 2266,2271 ****
<tag>
<level>method</level>
! <name>hibernate.collection-index</name>
! <usage-description>Declares a collection index. This will be
used as index for the arrays, sotring field for the lists or keys in the
map</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
--- 2323,2328 ----
<tag>
<level>method</level>
! <name>hibernate.list-index</name>
! <usage-description>Declares the index for a
list.</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
***************
*** 2274,2287 ****
<name>column</name>
<usage-description>The name of the mapped database table
column</usage-description>
- <mandatory>true</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>
--- 2331,2339 ----
<name>column</name>
<usage-description>The name of the mapped database table
column</usage-description>
<mandatory>false</mandatory>
</parameter>
! <parameter type="int">
! <name>base</name>
! <usage-description>The number at which to begin indexing.
Hibernate will default to 0 if you do not specify this.</usage-description>
<mandatory>false</mandatory>
</parameter>
***************
*** 2289,2294 ****
<tag>
<level>method</level>
! <name>hibernate.list-index</name>
! <usage-description>Declares the index for a
list.</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
--- 2341,2346 ----
<tag>
<level>method</level>
! <name>hibernate.composite-index</name>
! <usage-description>Declares a composite index for a
collection.</usage-description>
<unique>true</unique>
<condition-description>Hibernate</condition-description>
***************
*** 2297,2301 ****
<name>column</name>
<usage-description>The name of the mapped database table
column</usage-description>
! <mandatory>true</mandatory>
</parameter>
<parameter type="int">
--- 2349,2353 ----
<name>column</name>
<usage-description>The name of the mapped database table
column</usage-description>
! <mandatory>false</mandatory>
</parameter>
<parameter type="int">
***************
*** 2313,2328 ****
<condition type="method"/>
<parameter type="text">
! <name>column</name>
! <usage-description>The name of the mapped database table
column</usage-description>
! <mandatory>true</mandatory>
</parameter>
<parameter type="text">
! <name>class</name>
! <usage-description>Entity to be used as key in the
ternary association maps</usage-description>
! <mandatory>true</mandatory>
</parameter>
<parameter type="text">
<name>foreign-key</name>
! <usage-description>The name of the foreign key constraint
to associate with this association.</usage-description>
<mandatory>false</mandatory>
</parameter>
--- 2365,2385 ----
<condition type="method"/>
<parameter type="text">
! <name>class</name>
! <usage-description>A fully qualified class
name</usage-description>
! <mandatory>false</mandatory>
</parameter>
<parameter type="text">
! <name>entity-name</name>
! <usage-description>Entity name</usage-description>
! <mandatory>false</mandatory>
! </parameter>
! <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>foreign-key</name>
! <usage-description>Specifies that the foreign key refers
to columns that are not the primary key of the orginal
table.</usage-description>
<mandatory>false</mandatory>
</parameter>
***************
*** 2422,2448 ****
<tag>
<level>method</level>
- <name>hibernate.collection-cache</name>
- <usage-description>Enables caching</usage-description>
- <unique>true</unique>
- <condition-description>Hibernate</condition-description>
- <condition type="method"/>
- <parameter type="text">
- <name>usage</name>
- <usage-description>Defines the cache
semantics</usage-description>
- <mandatory>true</mandatory>
- <option-sets>
- <option-set>
- <options>
- <option>read-write</option>
- <option>nonstrict-read-write</option>
- <option>read-only</option>
- <option>transactional</option>
- </options>
- </option-set>
- </option-sets>
- </parameter>
- </tag>
- <tag>
- <level>method</level>
<name>hibernate.many-to-any</name>
<usage-description>Declares many-to-any type
mapping</usage-description>
--- 2479,2482 ----
***************
*** 2506,2532 ****
<tag>
<level>method</level>
- <name>hibernate.collection-jcs-cache</name>
- <usage-description>Enables caching
(deprecated)</usage-description>
- <unique>true</unique>
- <condition-description>Hibernate</condition-description>
- <condition type="method"/>
- <parameter type="text">
- <name>usage</name>
- <usage-description>Defines the cache
semantics</usage-description>
- <mandatory>true</mandatory>
- <option-sets>
- <option-set>
- <options>
- <option>read-write</option>
- <option>nonstrict-read-write</option>
- <option>read-only</option>
- <option>transactional</option>
- </options>
- </option-set>
- </option-sets>
- </parameter>
- </tag>
- <tag>
- <level>method</level>
<name>hibernate.meta</name>
<usage-description>Declare a property-level meta
parameter</usage-description>
--- 2540,2543 ----
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel