jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGTypes.PGbit

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.type.AbstractType
        |
        +--org.sourceforge.jxdbcon.postgresql.PGTypes.PGbit
Direct Known Subclasses:
PGTypes.PGvarbit
Enclosing class:
PGTypes

public static class PGTypes.PGbit
extends AbstractType

Full support.


Field Summary
(package private)  int length
           
 
Fields inherited from class org.sourceforge.jxutil.sql.type.AbstractType
BD_ONE, BD_ZERO, name
 
Constructor Summary
  PGTypes.PGbit()
           
  PGTypes.PGbit(int length)
           
protected PGTypes.PGbit(String name)
           
 
Method Summary
 boolean getBoolean(Object row, ConversionContext ctx)
           
 byte[] getBytes(Object row, ConversionContext ctx)
           
 Class getJavaClass()
           
 Class getJavaType()
           
 int getJDBCType()
           
 String getLiteralPrefix()
           
 String getLiteralSuffix()
           
 Object getObject(Object row, Map map, ConversionContext ctx)
           
 String getString(Object row, ConversionContext ctx)
           
 
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType
dataTruncationRead, dataTruncationWrite, deriveType, getArray, getAsciiStream, getAutoInc, getBigDecimal, getBinaryStream, getBlob, getByte, getCaseSensitive, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getDate, getDouble, getFloat, getInt, getLiteral, getLocalName, getLong, getMaxScale, getMinScale, getName, getNullable, getNumRadix, getObject, getPrecision, getRef, getScale, getSearchable, getShort, getTime, getTime, getTimestamp, getTimestamp, getUnsigned, getURL, noConversion, noConversion, noConversion, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, 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

length

final int length
Constructor Detail

PGTypes.PGbit

public PGTypes.PGbit()

PGTypes.PGbit

public PGTypes.PGbit(int length)

PGTypes.PGbit

protected PGTypes.PGbit(String name)
Method Detail

getBoolean

public boolean getBoolean(Object row,
                          ConversionContext ctx)
Overrides:
getBoolean in class AbstractType

getBytes

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

getJavaClass

public Class getJavaClass()
Overrides:
getJavaClass in class AbstractType

getJavaType

public Class getJavaType()
Overrides:
getJavaType in class AbstractType

getJDBCType

public int getJDBCType()
Specified by:
getJDBCType in class AbstractType

getLiteralPrefix

public String getLiteralPrefix()
Overrides:
getLiteralPrefix in class AbstractType

getLiteralSuffix

public String getLiteralSuffix()
Overrides:
getLiteralSuffix in class AbstractType

getObject

public Object getObject(Object row,
                        Map map,
                        ConversionContext ctx)
Overrides:
getObject in class AbstractType

getString

public String getString(Object row,
                        ConversionContext ctx)
Overrides:
getString in class AbstractType

jxDBCon 0.9z

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