db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1305148 - in /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque: Column.java ColumnImpl.java
Date Sun, 25 Mar 2012 21:34:06 GMT
Author: tfischer
Date: Sun Mar 25 21:34:05 2012
New Revision: 1305148

URL: http://svn.apache.org/viewvc?rev=1305148&view=rev
Log:
Fixed javadoc

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Column.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/ColumnImpl.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Column.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Column.java?rev=1305148&r1=1305147&r2=1305148&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Column.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Column.java Sun
Mar 25 21:34:05 2012
@@ -31,6 +31,7 @@ public interface Column
      *
      * @return the name of the column, may be null.
      *         (e.g. for the pseudocoulumn count(*)).
+     *         Is not blank.
      */
     String getColumnName();
 
@@ -38,7 +39,7 @@ public interface Column
      * Returns the name of the associated table
      * (not prefixed by the schema name).
      *
-     * @return the name of the table, not null.
+     * @return the name of the table, may be null but not blank.
      */
     String getTableName();
 
@@ -55,7 +56,8 @@ public interface Column
      * I.e. if a schema name exists, the result will be schemaName.tableName,
      * and otherwise it will just be tableName.
      *
-     * @return the fully qualified table name of the column.
+     * @return the fully qualified table name of the column,
+     *         may be null but not blank.
      */
     String getFullTableName();
 

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/ColumnImpl.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/ColumnImpl.java?rev=1305148&r1=1305147&r2=1305148&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/ColumnImpl.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/ColumnImpl.java
Sun Mar 25 21:34:05 2012
@@ -49,7 +49,7 @@ public class ColumnImpl implements Colum
     /** The table name, may be null but not empty. */
     private String tableName;
 
-    /** The schema name, may be null bit not empty. */
+    /** The schema name, may be null but not empty. */
     private String schemaName;
 
     /** The SQL expression for the column, not null. */
@@ -144,7 +144,7 @@ public class ColumnImpl implements Colum
     /**
      * Constructor which tries to guess schema, table and column names from
      * an SQL expression. If a schema name can be identified in the
-     * sql expression, it is removed from the sql expression in the column.
+     * SQL expression, it is removed from the SQL expression in the column.
      *
      * @param sqlExpression the SQL expression, not null, not blank.
      *
@@ -286,7 +286,7 @@ public class ColumnImpl implements Colum
     /**
      * Sets the table name.
      *
-     * @param tableName the table name, not blank or null.
+     * @param tableName the table name, not blank, may be null.
      *
      * @throws IllegalArgumentException if tableName is blank or null.
      */



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