javatools.db
Class DbExprFuncDef

java.lang.Object
  |
  +--javatools.db.DbExpr
        |
        +--javatools.db.DbExprFuncDef

public class DbExprFuncDef
extends DbExpr

An SQL expression of the form FUNCNAME(parameter....).


Field Summary
(package private)  java.lang.Object[] args
           
(package private)  java.lang.String func
           
 
Fields inherited from class javatools.db.DbExpr
db
 
Constructor Summary
DbExprFuncDef(DbDatabase db, java.lang.String func)
          Constructor for the DbExprFuncDef object
DbExprFuncDef(DbDatabase db, java.lang.String func, java.lang.Object arg1)
          Constructor for the DbExprFuncDef object
DbExprFuncDef(DbDatabase db, java.lang.String func, java.lang.Object arg1, java.lang.Object arg2)
          Constructor for the DbExprFuncDef object
 
Method Summary
 java.lang.String getQueryString()
          Gets the queryString attribute of the DbExprFuncDef object
 int setSqlValues(java.sql.PreparedStatement ps, int i)
          Sets the sqlValues attribute of the DbExprFuncDef object
 void usesTables(java.util.Set coll)
          Description of the Method
 
Methods inherited from class javatools.db.DbExpr
and, dateTrunc, equal, getString, greaterThan, greaterThanOrEqual, in, isNotNull, isNull, lessThan, lessThanOrEqual, like, lower, max, min, notEqual, notIn, or, setSqlValue, upper, usesTables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

func

java.lang.String func

args

java.lang.Object[] args
Constructor Detail

DbExprFuncDef

public DbExprFuncDef(DbDatabase db,
                     java.lang.String func)
Constructor for the DbExprFuncDef object

Parameters:
db - Description of Parameter
func - Description of Parameter

DbExprFuncDef

public DbExprFuncDef(DbDatabase db,
                     java.lang.String func,
                     java.lang.Object arg1)
Constructor for the DbExprFuncDef object

Parameters:
db - Description of Parameter
func - Description of Parameter
arg1 - Description of Parameter

DbExprFuncDef

public DbExprFuncDef(DbDatabase db,
                     java.lang.String func,
                     java.lang.Object arg1,
                     java.lang.Object arg2)
Constructor for the DbExprFuncDef object

Parameters:
db - Description of Parameter
func - Description of Parameter
arg1 - Description of Parameter
arg2 - Description of Parameter
Method Detail

setSqlValues

public int setSqlValues(java.sql.PreparedStatement ps,
                        int i)
                 throws DbException,
                        java.sql.SQLException
Sets the sqlValues attribute of the DbExprFuncDef object

Specified by:
setSqlValues in class DbExpr
Parameters:
ps - The new sqlValues value
i - The new sqlValues value
Returns:
Description of the Returned Value
Throws:
DbException - Description of Exception
java.sql.SQLException - Description of Exception

getQueryString

public java.lang.String getQueryString()
                                throws DbException
Gets the queryString attribute of the DbExprFuncDef object

Specified by:
getQueryString in class DbExpr
Returns:
The queryString value
Throws:
DbException - Description of Exception

usesTables

public void usesTables(java.util.Set coll)
Description of the Method

Overrides:
usesTables in class DbExpr
Parameters:
coll - Description of Parameter