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

Modified Files:
        xtags.xml 
Log Message:
XDT-1196: support for specifying hibernate mapping files

Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/hibernate/src/META-INF/xtags.xml,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -r1.71 -r1.72
*** xtags.xml   1 Nov 2005 17:36:28 -0000       1.71
--- xtags.xml   11 Apr 2006 14:52:48 -0000      1.72
***************
*** 1520,1523 ****
--- 1520,1602 ----
              
              <tag>
+                 <level>class</level>
+                 <name>hibernate.filter-def</name>
+                 <usage-description>
+                     Define a filter, which can then be applied with
+                     @hibernate.filter method tags
+                 </usage-description>
+                 <unique>false</unique>
+                 <condition-description>Hibernate</condition-description>
+                 <condition type="class" />
+                 <parameter type="text">
+                     <name>name</name>
+                     <usage-description>
+                         Name of the filter being defined
+                     </usage-description>
+                     <mandatory>true</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>condition</name>
+                     <usage-description>
+                         sql conditions to apply for all uses of the filter --
+                         usually this is defined on the filter tag instead to
+                         create conditions statements on a per-use basis
+                     </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>class</level>
+                 <name>hibernate.filter-param</name>
+                 <usage-description>
+                     Define a filter parameter for a newly defined filter
+                 </usage-description>
+                 <unique>false</unique>
+                 <condition-description>Hibernate</condition-description>
+                 <condition type="class" />
+                 <parameter type="text">
+                     <name>name</name>
+                     <usage-description>
+                         Name of the filter parameter being defined
+                     </usage-description>
+                     <mandatory>true</mandatory>
+                 </parameter>
+                 <parameter type="text">
+                     <name>type</name>
+                     <usage-description>
+                         data type of the parameter
+                     </usage-description>
+                     <mandatory>true</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>
                  <level>method</level>
                  <name>hibernate.formula</name>
***************
*** 3595,3598 ****
--- 3674,3687 ----
                      </option-sets>
                  </parameter>
+                 <parameter type="text">
+                     <name>file</name>
+                     <usage-description>
+                         The name of the mapping file into which the mapping
+                         information for the current class will be placed.  The
+                         ".hbm.xml" extension is automatically added, so do not
+                         include it.
+                     </usage-description>
+                     <mandatory>false</mandatory>
+                 </parameter>
              </tag>
  



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to