Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javatools.db
Class DbExprFuncDef  view DbExprFuncDef download DbExprFuncDef.java

java.lang.Object
  extended byjavatools.db.DbExpr
      extended byjavatools.db.DbExprFuncDef
All Implemented Interfaces:
DbTableUser

public class DbExprFuncDef
extends DbExpr

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

Version:
0.7

Field Summary
(package private)  java.lang.Object[] args
          The arguments for the function.
(package private)  java.lang.String func
          The function name.
 
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, containsAllStrings, containsAllStrings, count, dateTrunc, equal, getString, greaterThan, greaterThanOrEqual, in, in, isNotNull, isNull, lessThan, lessThanOrEqual, like, lower, max, min, notEqual, notIn, 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
The function name.


args

java.lang.Object[] args
The arguments for the function.

Constructor Detail

DbExprFuncDef

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


DbExprFuncDef

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


DbExprFuncDef

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

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

getQueryString

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

Specified by:
getQueryString in class DbExpr

usesTables

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

Specified by:
usesTables in interface DbTableUser
Overrides:
usesTables in class DbExpr