jxDBCon 0.9z

org.sourceforge.jxdbcon
Class EscapeFrags.Constant

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.EscapeFrags.Frag
        |
        +--org.sourceforge.jxdbcon.EscapeFrags.Value
              |
              +--org.sourceforge.jxdbcon.EscapeFrags.Constant
Enclosing class:
EscapeFrags

public static class EscapeFrags.Constant
extends EscapeFrags.Value


Field Summary
 ConversionContext ctx
           
 Object[] value
           
 
Fields inherited from class org.sourceforge.jxdbcon.EscapeFrags.Value
type
 
Constructor Summary
EscapeFrags.Constant(Object value, AbstractType type, ConversionContext ctx)
           
 
Method Summary
 BigDecimal getBigDecimal(EscapeContext ectx)
           
 Date getDate(EscapeContext ectx)
           
 double getDouble(EscapeContext ectx)
           
 int getInt(EscapeContext ectx)
           
 String getLiteral(EscapeContext ectx)
           
 String getString(EscapeContext ectx)
           
 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

ctx

public final ConversionContext ctx

value

public final Object[] value
Constructor Detail

EscapeFrags.Constant

public EscapeFrags.Constant(Object value,
                            AbstractType type,
                            ConversionContext ctx)
                     throws SQLException
Method Detail

getBigDecimal

public BigDecimal getBigDecimal(EscapeContext ectx)
                         throws SQLException
Specified by:
getBigDecimal in class EscapeFrags.Value
SQLException

getDate

public Date getDate(EscapeContext ectx)
             throws SQLException
Specified by:
getDate in class EscapeFrags.Value
SQLException

getDouble

public double getDouble(EscapeContext ectx)
                 throws SQLException
Specified by:
getDouble in class EscapeFrags.Value
SQLException

getInt

public int getInt(EscapeContext ectx)
           throws SQLException
Specified by:
getInt in class EscapeFrags.Value
SQLException

getLiteral

public String getLiteral(EscapeContext ectx)
                  throws SQLException
Specified by:
getLiteral in class EscapeFrags.Value
SQLException

getString

public String getString(EscapeContext ectx)
                 throws SQLException
Specified by:
getString in class EscapeFrags.Value
SQLException

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.