|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javatools.db.DbExpr
|
+--javatools.db.DbValueList
This class represents a set of values to be used in an expression.
| Constructor Summary | |
DbValueList(DbDatabase db,
java.util.Collection pValueList)
Creates new DbValueList |
|
| Method Summary | |
java.lang.String |
getQueryString()
Any DbExpr needs to be able to convert into the SQL string equivilent. |
int |
setSqlValues(java.sql.PreparedStatement ps,
int i)
Any DbExpr needs to be able to substitute any parameters as per JDBC "?" |
| Methods inherited from class javatools.db.DbExpr |
and, containsAllStrings, containsAllStrings, count, dateTrunc, equal, greaterThan, greaterThanOrEqual, in, in, isNotNull, isNull, lessThan, lessThanOrEqual, like, lower, max, min, notEqual, notIn, notIn, or, upper, usesTables, usesTables |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DbValueList(DbDatabase db,
java.util.Collection pValueList)
db - The database to use.pValueList - The collection to be used as a value list.| Method Detail |
public java.lang.String getQueryString()
throws DbException
getQueryString in class DbExprDbException - If something goes wrong.
public int setSqlValues(java.sql.PreparedStatement ps,
int i)
throws DbException,
java.sql.SQLException
setSqlValues in class DbExprps - The PreparedStatementi - The new sqlValues value
DbException - If something goes wrong.
java.sql.SQLException - If something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||