You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by fr...@apache.org on 2010/10/25 11:58:40 UTC
svn commit: r1027020 - in /incubator/empire-db/trunk:
empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/
empire-db/src/main/java/org/apache/empire/data/bean/
empire-db/src/main/java/org/apach...
Author: francisdb
Date: Mon Oct 25 09:58:39 2010
New Revision: 1027020
URL: http://svn.apache.org/viewvc?rev=1027020&view=rev
Log:
cleaning up javadoc warnings
Modified:
incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBCommand.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBExpr.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/derby/DBDatabaseDriverDerby.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/h2/DBDatabaseDriverH2.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/DBDatabaseDriverOracle.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java
incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/sqlserver/DBDatabaseDriverMSSQL.java
Modified: incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java (original)
+++ incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/web/actiontypes/BeanDetailAction.java Mon Oct 25 09:58:39 2010
@@ -213,7 +213,7 @@ public abstract class BeanDetailAction<T
/**
* Deletes a bean object
- * @param bean
+ * @param key
* @return true if the bean has been stored sucessfully or false otherwise
*/
protected abstract boolean deleteBean(Object[] key);
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java Mon Oct 25 09:58:39 2010
@@ -21,8 +21,8 @@ package org.apache.empire.data.bean;
import org.apache.empire.commons.Attributes;
import org.apache.empire.commons.Options;
import org.apache.empire.data.Column;
-import org.apache.empire.data.DataType;
import org.apache.empire.data.DataMode;
+import org.apache.empire.data.DataType;
/**
* BeanObject
@@ -83,8 +83,6 @@ public class BeanProperty implements Col
* @param dataType
* @param size
* @param required
- * @param controlType
- * @param readOnly
*/
@Deprecated
public BeanProperty(String name, DataType dataType, double size, boolean required)
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBCommand.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBCommand.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBCommand.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBCommand.java Mon Oct 25 09:58:39 2010
@@ -287,9 +287,9 @@ public abstract class DBCommand extends
}
/**
- * checks whether a column is in the list of set expressions
+ * Checks whether a column is in the list of set expressions
* @param column
- * @return
+ * @return <code>true</code> if there is a set expression
*/
protected boolean hasSetExprOn(DBColumn column)
{
@@ -706,7 +706,6 @@ public abstract class DBCommand extends
*
* @param list the Vector 'where' or 'having'
* @param expr the DBCompareExpr object
- * @param expr the DBCompareExpr object
*/
protected void setCompare(List<DBCompareExpr> list, DBCompareExpr expr)
{ // adds a comparison to the where or having list
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBExpr.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBExpr.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBExpr.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBExpr.java Mon Oct 25 09:58:39 2010
@@ -67,7 +67,7 @@ public abstract class DBExpr extends DBO
/**
* Returns the sql representation of a value.
*
- * @param col the DBColumnExpr object
+ * @param dataType the DataType
* @param value an DBExpr object, array or a basis data type(e.g. int, String)
* @param context the context of the DBColumnExpr object
* @param arraySep the separator value
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java Mon Oct 25 09:58:39 2010
@@ -856,7 +856,7 @@ public class DBRecord extends DBRecordDa
/**
* Set the record default value for the fields with
- * the value {@link ObjectUtils.NoValue}
+ * the value {@link ObjectUtils#NO_VALUE}
*
* @param conn the sql connection
*
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/derby/DBDatabaseDriverDerby.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/derby/DBDatabaseDriverDerby.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/derby/DBDatabaseDriverDerby.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/derby/DBDatabaseDriverDerby.java Mon Oct 25 09:58:39 2010
@@ -658,7 +658,7 @@ public class DBDatabaseDriverDerby exten
* Creates an alter table dll statement for adding, modifiying or droping a column.
* @param col the column which to add, modify or drop
* @param type the type of operation to perform
- * @param buf buffer to which to append the sql statement to
+ * @param script to which to append the sql statement to
* @return true if the statement was successfully appended to the buffer
*/
protected boolean alterTable(DBTableColumn col, DBCmdType type, DBSQLScript script)
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java Mon Oct 25 09:58:39 2010
@@ -60,7 +60,7 @@ public abstract class DBAbstractFuncExpr
/**
* returns the name of the function
- * @return
+ * @return the function name
*/
protected abstract String getFunctionName();
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/h2/DBDatabaseDriverH2.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/h2/DBDatabaseDriverH2.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/h2/DBDatabaseDriverH2.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/h2/DBDatabaseDriverH2.java Mon Oct 25 09:58:39 2010
@@ -645,7 +645,7 @@ public class DBDatabaseDriverH2 extends
* Creates an alter table dll statement for adding, modifiying or droping a column.
* @param col the column which to add, modify or drop
* @param type the type of operation to perform
- * @param buf buffer to which to append the sql statement to
+ * @param script to which to append the sql statement to
* @return true if the statement was successfully appended to the buffer
*/
protected boolean alterTable(DBTableColumn col, DBCmdType type, DBSQLScript script)
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java Mon Oct 25 09:58:39 2010
@@ -639,7 +639,7 @@ public class DBDatabaseDriverHSql extend
* Creates an alter table dll statement for adding, modifiying or droping a column.
* @param col the column which to add, modify or drop
* @param type the type of operation to perform
- * @param buf buffer to which to append the sql statement to
+ * @param script to which to append the sql statement to
* @return true if the statement was successfully appended to the buffer
*/
protected boolean alterTable(DBTableColumn col, DBCmdType type, DBSQLScript script)
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java Mon Oct 25 09:58:39 2010
@@ -742,7 +742,7 @@ public class DBDatabaseDriverMySQL exten
* Creates an alter table dll statement for adding, modifiying or droping a column.
* @param col the column which to add, modify or drop
* @param type the type of operation to perform
- * @param buf buffer to which to append the sql statement to
+ * @param script to which to append the sql statement to
* @return true if the statement was successfully appended to the buffer
*/
protected boolean alterTable(DBTableColumn col, DBCmdType type, DBSQLScript script)
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/DBDatabaseDriverOracle.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/DBDatabaseDriverOracle.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/DBDatabaseDriverOracle.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/oracle/DBDatabaseDriverOracle.java Mon Oct 25 09:58:39 2010
@@ -714,7 +714,7 @@ public class DBDatabaseDriverOracle exte
* Creates an alter table dll statement for adding, modifiying or droping a column.
* @param col the column which to add, modify or drop
* @param type the type of operation to perform
- * @param buf buffer to which to append the sql statement to
+ * @param script to which to append the sql statement to
* @return true if the statement was successfully appended to the buffer
*/
protected boolean alterTable(DBTableColumn col, DBCmdType type, DBSQLScript script)
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java Mon Oct 25 09:58:39 2010
@@ -797,7 +797,7 @@ public class DBDatabaseDriverPostgreSQL
* Creates an alter table dll statement for adding, modifiying or droping a column.
* @param col the column which to add, modify or drop
* @param type the type of operation to perform
- * @param buf buffer to which to append the sql statement to
+ * @param script to which to append the sql statement to
* @return true if the statement was successfully appended to the buffer
*/
protected boolean alterTable(DBTableColumn col, DBCmdType type, DBSQLScript script)
Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/sqlserver/DBDatabaseDriverMSSQL.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/sqlserver/DBDatabaseDriverMSSQL.java?rev=1027020&r1=1027019&r2=1027020&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/sqlserver/DBDatabaseDriverMSSQL.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/sqlserver/DBDatabaseDriverMSSQL.java Mon Oct 25 09:58:39 2010
@@ -732,7 +732,7 @@ public class DBDatabaseDriverMSSQL exten
* Creates an alter table dll statement for adding, modifiying or droping a column.
* @param col the column which to add, modify or drop
* @param type the type of operation to perform
- * @param buf buffer to which to append the sql statement to
+ * @param script to which to append the sql statement to
* @return true if the statement was successfully appended to the buffer
*/
protected boolean alterTable(DBTableColumn col, DBCmdType type, DBSQLScript script)