org.postgresql.pljava.jdbc
Class ResultSetField

java.lang.Object
  extended by org.postgresql.pljava.jdbc.ResultSetField

public class ResultSetField
extends Object

Author:
Filip Hrbek

Constructor Summary
ResultSetField(String name, Oid oid, int len)
           
ResultSetField(String name, Oid oid, int len, int mod)
           
 
Method Summary
 boolean canContain(Class cls)
           
 String getColumnLabel()
           
 Class getJavaClass()
           
 int getLength()
           
 int getMod()
           
 Oid getOID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetField

public ResultSetField(String name,
                      Oid oid,
                      int len,
                      int mod)
               throws SQLException
Throws:
SQLException

ResultSetField

public ResultSetField(String name,
                      Oid oid,
                      int len)
               throws SQLException
Throws:
SQLException
Method Detail

getOID

public final Oid getOID()

getJavaClass

public final Class getJavaClass()
                         throws SQLException
Throws:
SQLException

canContain

public final boolean canContain(Class cls)
                         throws SQLException
Throws:
SQLException

getMod

public final int getMod()

getColumnLabel

public final String getColumnLabel()

getLength

public final int getLength()