jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGTypes.PGbool

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.type.AbstractType
        |
        +--org.sourceforge.jxutil.sql.type.AbstractBOOLEAN
              |
              +--org.sourceforge.jxdbcon.postgresql.PGTypes.PGbool
Enclosing class:
PGTypes

public static class PGTypes.PGbool
extends AbstractBOOLEAN

One byte boolean type.


Field Summary
static PGTypes.PGbool INSTANCE
           
 
Fields inherited from class org.sourceforge.jxutil.sql.type.AbstractType
BD_ONE, BD_ZERO, name
 
Constructor Summary
private PGTypes.PGbool()
           
 
Method Summary
 boolean getBoolean(Object row, ConversionContext ctx)
           
 byte[] getBytes(Object row, ConversionContext ctx)
           
 String getLiteralSuffix()
           
 void setBoolean(Object row, boolean x, ConversionContext ctx)
           
 void setBytes(Object row, byte[] x, ConversionContext ctx)
           
 void setNull(Object row, ConversionContext ctx)
           
 
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractBOOLEAN
getBigDecimal, getByte, getDouble, getFloat, getInt, getJavaClass, getJavaType, getJDBCType, getLong, getObject, getShort, getString, setBigDecimal, setByte, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType
dataTruncationRead, dataTruncationWrite, deriveType, getArray, getAsciiStream, getAutoInc, getBinaryStream, getBlob, getCaseSensitive, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getDate, getLiteral, getLiteralPrefix, getLocalName, getMaxScale, getMinScale, getName, getNullable, getNumRadix, getObject, getPrecision, getRef, getScale, getSearchable, getTime, getTime, getTimestamp, getTimestamp, getUnsigned, getURL, noConversion, noConversion, noConversion, setArray, setAsciiStream, setBinaryStream, setBlob, setCharacterStream, setClob, setDate, setDate, setNull, setNull, setObject, setObject, setObject, setRef, setStruct, setTime, setTime, setTimestamp, setTimestamp, setURL, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final PGTypes.PGbool INSTANCE
Constructor Detail

PGTypes.PGbool

private PGTypes.PGbool()
Method Detail

getBoolean

public boolean getBoolean(Object row,
                          ConversionContext ctx)
                   throws SQLException
Specified by:
getBoolean in class AbstractBOOLEAN
SQLException

getBytes

public byte[] getBytes(Object row,
                       ConversionContext ctx)
Overrides:
getBytes in class AbstractType

getLiteralSuffix

public String getLiteralSuffix()
Overrides:
getLiteralSuffix in class AbstractType

setBoolean

public void setBoolean(Object row,
                       boolean x,
                       ConversionContext ctx)
Specified by:
setBoolean in class AbstractBOOLEAN

setBytes

public void setBytes(Object row,
                     byte[] x,
                     ConversionContext ctx)
Overrides:
setBytes in class AbstractType

setNull

public void setNull(Object row,
                    ConversionContext ctx)
             throws SQLException
Overrides:
setNull in class AbstractType
SQLException

jxDBCon 0.9z

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