jxDBCon 0.9z

org.sourceforge.jxdbcon
Class EscapeFrags.Function

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.EscapeFrags.Frag
        |
        +--org.sourceforge.jxdbcon.EscapeFrags.Function
Direct Known Subclasses:
EscapeFuncs.atan2, EscapeFuncs.cast, EscapeFuncs.NoFunction, EscapeFuncs.OneParamFunction, EscapeFuncs.pi, EscapeFuncs.round, EscapeFuncs.truncate
Enclosing class:
EscapeFrags

public static class EscapeFrags.Function
extends EscapeFrags.Frag


Field Summary
protected  String name
           
protected  EscapeFrags.ParamList param
           
protected  int[] paramTypes
           
protected  int retType
           
 
Constructor Summary
EscapeFrags.Function(String name, int retType, int[] paramTypes, EscapeFrags.ParamList param)
           
 
Method Summary
 String toSQL(EscapeContext ectx)
           
 String toString()
           
 
Methods inherited from class org.sourceforge.jxdbcon.EscapeFrags.Frag
simplify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name

param

protected final EscapeFrags.ParamList param

paramTypes

protected final int[] paramTypes

retType

protected final int retType
Constructor Detail

EscapeFrags.Function

public EscapeFrags.Function(String name,
                            int retType,
                            int[] paramTypes,
                            EscapeFrags.ParamList param)
Method Detail

toSQL

public String toSQL(EscapeContext ectx)
             throws SQLException
Specified by:
toSQL in class EscapeFrags.Frag
SQLException

toString

public String toString()
Overrides:
toString in class Object

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.