db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r437447 - in /db/torque: generator/trunk/xdocs/schema-reference.xml templates/trunk/src/templates/om/Control.vm
Date Sun, 27 Aug 2006 19:59:33 GMT
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="warner@warneronstine.com">Warner Onstine</author>
   <author email="jvanzyl@apache.org">Jason van Zyl</author>
   <author email="ville.skytta@iki.fi">Ville Skyttä</author>
+  <author email="tv@apache.org">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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message