db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r449987 - in /db/torque/generator/trunk/src/java/org/apache/torque: engine/database/model/IDMethod.java task/TorqueDataDumpTask.java
Date Tue, 26 Sep 2006 11:22:51 GMT
Author: tfischer
Date: Tue Sep 26 04:22:51 2006
New Revision: 449987

URL: http://svn.apache.org/viewvc?view=rev&rev=449987
Log:
Fixed javadoc warnings.
Removed old (commented) constants from IdMethod

Modified:
    db/torque/generator/trunk/src/java/org/apache/torque/engine/database/model/IDMethod.java
    db/torque/generator/trunk/src/java/org/apache/torque/task/TorqueDataDumpTask.java

Modified: db/torque/generator/trunk/src/java/org/apache/torque/engine/database/model/IDMethod.java
URL: http://svn.apache.org/viewvc/db/torque/generator/trunk/src/java/org/apache/torque/engine/database/model/IDMethod.java?view=diff&rev=449987&r1=449986&r2=449987
==============================================================================
--- db/torque/generator/trunk/src/java/org/apache/torque/engine/database/model/IDMethod.java
(original)
+++ db/torque/generator/trunk/src/java/org/apache/torque/engine/database/model/IDMethod.java
Tue Sep 26 04:22:51 2006
@@ -17,8 +17,8 @@
  */
 
 /**
- * Interface for various ID retrieval method types
- * (i.e. auto-increment, sequence, ID broker, etc.).
+ * Interface for various ID retrieval method types.
+ * This cuurently includes native, ID broker, and none.
  *
  * @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
  * @version $Id$
@@ -26,20 +26,11 @@
 public interface IDMethod
 {
     /**
-     * Key generation via database-specific ID method
-     * (i.e. auto-increment for MySQL, sequence for Oracle, etc.).
+     * Key generation via database-specific ID method.
+     * For example, this would be auto-increment for MySQL, 
+     * sequence for Oracle, etc.
      */
     String NATIVE = "native";
-
-    /**
-     * Key generation via auto-increment.
-     */
-//    String AUTO_INCREMENT = "autoincrement";
-
-    /**
-     * Key generation via sequences.
-     */
-//    String SEQUENCE = "sequence";
 
     /**
      * Key generation via the IDBroker table.

Modified: db/torque/generator/trunk/src/java/org/apache/torque/task/TorqueDataDumpTask.java
URL: http://svn.apache.org/viewvc/db/torque/generator/trunk/src/java/org/apache/torque/task/TorqueDataDumpTask.java?view=diff&rev=449987&r1=449986&r2=449987
==============================================================================
--- db/torque/generator/trunk/src/java/org/apache/torque/task/TorqueDataDumpTask.java (original)
+++ db/torque/generator/trunk/src/java/org/apache/torque/task/TorqueDataDumpTask.java Tue
Sep 26 04:22:51 2006
@@ -240,14 +240,14 @@
         private ResultSet rs;
 
         /**
-         * Constructor for the TableTool object
+         * Constructor for the TableTool object.
          */
         public TableTool()
         {
         }
 
         /**
-         * Constructor for the TableTool object
+         * Constructor for the TableTool object.
          *
          * @param rs a query result set
          * @throws Exception Problem using database record set cursor.
@@ -272,7 +272,7 @@
         }
 
         /**
-         * check if there are more records in the QueryDataSet
+         * check if there are more records in the QueryDataSet.
          *
          * @return true if there are more records
          */
@@ -296,7 +296,7 @@
         }
 
         /**
-         * load the next record from the QueryDataSet
+         * load the next record from the QueryDataSet.
          *
          * @return Description of the Returned Value
          * @throws NoSuchElementException Description of Exception
@@ -318,7 +318,7 @@
         }
 
         /**
-         * Returns the value for the column
+         * Returns the value for the column.
          *
          * @param  columnName name of the column
          * @return  value of the column or null if it doesn't exist
@@ -338,9 +338,11 @@
         }
 
         /**
-         * unsupported! always throws Exception
+         * Dummy implementation of the remove() method of the iterator
+         * interface. This implementation always throws a 
+         * UnsupportedOperationException
          *
-         * @throws UnsupportedOperationException unsupported
+         * @throws UnsupportedOperationException always.
          */
         public void remove() throws UnsupportedOperationException
         {



---------------------------------------------------------------------
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