Update of /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26670/src/META-INF

Modified Files:
        xtags.xml 
Log Message:
XDT-1473: make @hibernate.id map to primitive ID, add @hibernate.composite-id 
and @hibernate.generate tags, make all map more closely to Hibernate DTD

Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF/xtags.xml,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -r1.64 -r1.65
*** xtags.xml   19 Jul 2005 19:19:23 -0000      1.64
--- xtags.xml   20 Jul 2005 17:49:51 -0000      1.65
***************
*** 1047,1050 ****
--- 1047,1118 ----
              <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="text">
+                     <name>name</name>
+                     <usage-description>
+                         The name of the property
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <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>class</name>
+                     <usage-description>
+                         The name of the composite id class, inferred from the
+                         property type if not specified.
+                     </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>
+             </tag>
+ 
+             <tag>
+                 <level>method</level>
                  <name>hibernate.composite-index</name>
                  <usage-description>
***************
*** 1247,1253 ****
              <tag>
                  <level>method</level>
!                 <name>hibernate.generator-param</name>
                  <usage-description>
!                     Specifies an id generator parameter value
                  </usage-description>
                  <unique>false</unique>
--- 1315,1321 ----
              <tag>
                  <level>method</level>
!                 <name>hibernate.generator</name>
                  <usage-description>
!                     Specifies an id generator
                  </usage-description>
                  <unique>false</unique>
***************
*** 1255,1268 ****
                  <condition type="method" />
                  <parameter type="text">
!                     <name>name</name>
!                     <usage-description>
!                         The name of the parameter
!                     </usage-description>
!                     <mandatory>true</mandatory>
!                 </parameter>
!                 <parameter type="text">
!                     <name>value</name>
                      <usage-description>
!                         The parameter value
                      </usage-description>
                      <mandatory>true</mandatory>
--- 1323,1329 ----
                  <condition type="method" />
                  <parameter type="text">
!                     <name>class</name>
                      <usage-description>
!                         The generator class
                      </usage-description>
                      <mandatory>true</mandatory>
***************
*** 1280,1283 ****
--- 1341,1351 ----
                  <condition type="method" />
                  <parameter type="text">
+                     <name>name</name>
+                     <usage-description>
+                         The name of the property
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
                      <name>column</name>
                      <usage-description>
***************
*** 1311,1337 ****
                  </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>
--- 1379,1382 ----
***************
*** 1351,1354 ****
--- 1396,1406 ----
                      </option-sets>
                  </parameter>
+                 <parameter type="text">
+                     <name>node</name>
+                     <usage-description>
+                         specify a XML binding node name
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
              </tag>
  
***************
*** 1973,1976 ****
--- 2025,2220 ----
  
              <tag>
+                 <level>method</level>
+                 <name>hibernate.list</name>
+                 <usage-description>Defines a List</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>table</name>
+                     <usage-description>
+                         Defaults to role name: the name of the
+                         collection table (not used for one-to-many
+                         associations)
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>schema</name>
+                     <usage-description>
+                         The name of a table schema to override the
+                         schema declared
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>catalog</name>
+                     <usage-description>
+                         The name of a catalog the default
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>subselect</name>
+                     <usage-description>
+                         Specify a subselect SQL expression
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="bool">
+                     <name>lazy</name>
+                     <usage-description>
+                         Enable lazy initialization
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                     <default>false</default>
+                 </parameter>
+                 <parameter type="bool">
+                     <name>inverse</name>
+                     <usage-description>
+                         If inverse collection
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                     <default>false</default>
+                 </parameter>
+                 <parameter type="text">
+                     <name>cascade</name>
+                     <usage-description>
+                         Specifies which operations should be cascaded
+                         from the parent object to the associated object
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                     <option-sets>
+                         <option-set>
+                             <options>
+                                 <option>all</option>
+                                 <option>none</option>
+                                 <option>save-update</option>
+                                 <option>delete</option>
+                                 <option>all-delete-orphan</option>
+                                 <option>delete-orphan</option>
+                             </options>
+                         </option-set>
+                     </option-sets>
+                 </parameter>
+                 <parameter type="text">
+                     <name>where</name>
+                     <usage-description>
+                         An SQL WHERE condition
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>batch-size</name>
+                     <usage-description>
+                         Specify a "batch size" for lazily fetching
+                         instances of this collection
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>outer-join</name>
+                     <usage-description>
+                         Enable outer-join fetching
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                     <default>auto</default>
+                     <option-sets>
+                         <option-set>
+                             <options>
+                                 <option>true</option>
+                                 <option>false</option>
+                                 <option>auto</option>
+                             </options>
+                         </option-set>
+                     </option-sets>
+                 </parameter>
+                 <parameter type="text">
+                     <name>fetch</name>
+                     <usage-description>
+                         Choose between outer-join fetching, fetching by
+                         sequential select, and fetching by sequential
+                         subselect.
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                     <default>select</default>
+                     <option-sets>
+                         <option-set>
+                             <options>
+                                 <option>join</option>
+                                 <option>select</option>
+                                 <option>subselect</option>
+                             </options>
+                         </option-set>
+                     </option-sets>
+                 </parameter>
+                 <parameter type="text">
+                     <name>persister</name>
+                     <usage-description>
+                         Specifies a custom ClassPersister
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>collection-type</name>
+                     <usage-description>
+                         Specifies a collection type
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>check</name>
+                     <usage-description>
+                         specify a SQL check expression
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="bool">
+                     <name>optimistic-lock</name>
+                     <usage-description>
+                         Specifies that updates to this property do or do
+                         not require acquisition of the optimistic lock.
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>node</name>
+                     <usage-description>
+                         specify a XML binding node name
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
+                 <parameter type="bool">
+                     <name>embed-xml</name>
+                     <usage-description>
+                         Should the XML tree for the associated entity
+                         (or collection of value type) will be embedded
+                         directly in the XML tree for the entity that
+                         owns the association?
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                     <default>true</default>
+                 </parameter>
+             </tag>
+             
+             <tag>
                  <level>class</level>
                  <name>hibernate.loader</name>
***************
*** 3904,4098 ****
              <tag>
                  <level>method</level>
-                 <name>hibernate.list</name>
-                 <usage-description>Defines a List</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>table</name>
-                     <usage-description>
-                         Defaults to role name: the name of the
-                         collection table (not used for one-to-many
-                         associations)
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="text">
-                     <name>schema</name>
-                     <usage-description>
-                         The name of a table schema to override the
-                         schema declared
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="text">
-                     <name>catalog</name>
-                     <usage-description>
-                         The name of a catalog the default
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="text">
-                     <name>subselect</name>
-                     <usage-description>
-                         Specify a subselect SQL expression
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="bool">
-                     <name>lazy</name>
-                     <usage-description>
-                         Enable lazy initialization
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                     <default>false</default>
-                 </parameter>
-                 <parameter type="bool">
-                     <name>inverse</name>
-                     <usage-description>
-                         If inverse collection
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                     <default>false</default>
-                 </parameter>
-                 <parameter type="text">
-                     <name>cascade</name>
-                     <usage-description>
-                         Specifies which operations should be cascaded
-                         from the parent object to the associated object
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                     <option-sets>
-                         <option-set>
-                             <options>
-                                 <option>all</option>
-                                 <option>none</option>
-                                 <option>save-update</option>
-                                 <option>delete</option>
-                                 <option>all-delete-orphan</option>
-                                 <option>delete-orphan</option>
-                             </options>
-                         </option-set>
-                     </option-sets>
-                 </parameter>
-                 <parameter type="text">
-                     <name>where</name>
-                     <usage-description>
-                         An SQL WHERE condition
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="text">
-                     <name>batch-size</name>
-                     <usage-description>
-                         Specify a "batch size" for lazily fetching
-                         instances of this collection
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="text">
-                     <name>outer-join</name>
-                     <usage-description>
-                         Enable outer-join fetching
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                     <default>auto</default>
-                     <option-sets>
-                         <option-set>
-                             <options>
-                                 <option>true</option>
-                                 <option>false</option>
-                                 <option>auto</option>
-                             </options>
-                         </option-set>
-                     </option-sets>
-                 </parameter>
-                 <parameter type="text">
-                     <name>fetch</name>
-                     <usage-description>
-                         Choose between outer-join fetching, fetching by
-                         sequential select, and fetching by sequential
-                         subselect.
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                     <default>select</default>
-                     <option-sets>
-                         <option-set>
-                             <options>
-                                 <option>join</option>
-                                 <option>select</option>
-                                 <option>subselect</option>
-                             </options>
-                         </option-set>
-                     </option-sets>
-                 </parameter>
-                 <parameter type="text">
-                     <name>persister</name>
-                     <usage-description>
-                         Specifies a custom ClassPersister
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="text">
-                     <name>collection-type</name>
-                     <usage-description>
-                         Specifies a collection type
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="text">
-                     <name>check</name>
-                     <usage-description>
-                         specify a SQL check expression
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="bool">
-                     <name>optimistic-lock</name>
-                     <usage-description>
-                         Specifies that updates to this property do or do
-                         not require acquisition of the optimistic lock.
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="text">
-                     <name>node</name>
-                     <usage-description>
-                         specify a XML binding node name
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                 </parameter>
-                 <parameter type="bool">
-                     <name>embed-xml</name>
-                     <usage-description>
-                         Should the XML tree for the associated entity
-                         (or collection of value type) will be embedded
-                         directly in the XML tree for the entity that
-                         owns the association?
-                     </usage-description>
-                     <mandatory>false</mandatory>
-                     <default>true</default>
-                 </parameter>
-             </tag>
-             <tag>
-                 <level>method</level>
                  <name>hibernate.index</name>
                  <usage-description>
--- 4148,4151 ----



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to