Author: tv
Date: Sun Aug 27 12:59:33 2006
New Revision: 437447

URL: http://svn.apache.org/viewvc?rev=437447&view=rev
Log:
Fixed and documented the behaviour of 
<table interface="something"></table>

Modified:
    db/torque/generator/trunk/xdocs/schema-reference.xml
    db/torque/templates/trunk/src/templates/om/Control.vm

Modified: db/torque/generator/trunk/xdocs/schema-reference.xml
URL: 
http://svn.apache.org/viewvc/db/torque/generator/trunk/xdocs/schema-reference.xml?rev=437447&r1=437446&r2=437447&view=diff
==============================================================================
--- db/torque/generator/trunk/xdocs/schema-reference.xml (original)
+++ db/torque/generator/trunk/xdocs/schema-reference.xml Sun Aug 27 12:59:33 
2006
@@ -22,6 +22,7 @@
   <author email="[EMAIL PROTECTED]">Warner Onstine</author>
   <author email="[EMAIL PROTECTED]">Jason van Zyl</author>
   <author email="[EMAIL PROTECTED]">Ville Skyttä</author>
+  <author email="[EMAIL PROTECTED]">Thomas Vandahl</author>
  </properties>
 
 <body>
@@ -296,7 +297,12 @@
            </tr>
            <tr>
              <td>interface</td>
-             <td>?</td>
+             <td>The interface attribute specifies an interface that should
+                 be referenced in the <code>implements</code> section of the 
+                 generated extension class. This must be the fully qualified 
+                 class name of the interface to be implemented. This feature 
+                 allows to use Torque generated classes in the context of 
other 
+                 applications or APIs.</td>
            </tr>
            <tr>
              <td>javaNamingMethod</td>

Modified: db/torque/templates/trunk/src/templates/om/Control.vm
URL: 
http://svn.apache.org/viewvc/db/torque/templates/trunk/src/templates/om/Control.vm?rev=437447&r1=437446&r2=437447&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/om/Control.vm (original)
+++ db/torque/templates/trunk/src/templates/om/Control.vm Sun Aug 27 12:59:33 
2006
@@ -196,6 +196,7 @@
           $generator.parse("om/ExtensionPeer.vm",$path,"table",$tbl)
         #end
 
+#*
         #if ($tbl.Interface)
           #set ( $fname = "${tbl.Interface}.java" )
           #set ( $path = "${strings.getPackageAsPath($packageObject)}$fname" )
@@ -203,6 +204,7 @@
             $generator.parse("om/Interface.vm",$path,"table",$tbl)
           #end
         #end
+*#
 
         #if ($generateBeans)
           #set ( $fname = "${basePrefix}${firstcap}${beanSuffix}.java" )



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to