jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGTextTypes.PGname

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.type.AbstractType
        |
        +--org.sourceforge.jxutil.sql.type.AbstractText
              |
              +--org.sourceforge.jxutil.sql.type.AbstractVARCHAR
                    |
                    +--org.sourceforge.jxdbcon.postgresql.PGTextTypes.PGname
Enclosing class:
PGTextTypes

public static final class PGTextTypes.PGname
extends AbstractVARCHAR

VARCHAR(32) type. Using byte values in the current encoding. Padded with null characters at the end.


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

PGTextTypes.PGname

private PGTextTypes.PGname()
Method Detail

getBytes

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

getCaseSensitive

public boolean getCaseSensitive()
Overrides:
getCaseSensitive in class AbstractType

getLiteral

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

getLiteralPrefix

public String getLiteralPrefix()
Overrides:
getLiteralPrefix in class AbstractText

getLiteralSuffix

public String getLiteralSuffix()
Overrides:
getLiteralSuffix in class AbstractText

getString

public String getString(Object row,
                        ConversionContext ctx)
Specified by:
getString in class AbstractText

setBytes

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

setNull

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

setString

public void setString(Object row,
                      String val,
                      ConversionContext ctx)
Specified by:
setString in class AbstractText

jxDBCon 0.9z

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