jxDBCon 0.9z

org.sourceforge.jxdbcon
Class DefaultResultSetMetaData

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.AbstractResultSetMetaData
        |
        +--org.sourceforge.jxdbcon.DefaultResultSetMetaData
All Implemented Interfaces:
ResultSetMetaData

public class DefaultResultSetMetaData
extends AbstractResultSetMetaData

DefaultResultSetMetaData is a default implementation of AbstractResultSetMetaData.

Version:
$Revision: 1.6 $, $Date: 2002/03/16 01:26:07 $
Author:
Keve Müller

Nested Class Summary
 
Nested classes inherited from class org.sourceforge.jxutil.sql.AbstractResultSetMetaData
AbstractResultSetMetaData.NameMetaData
 
Field Summary
private  AbstractType[] colTypes
          The column's types.
 
Fields inherited from class org.sourceforge.jxutil.sql.AbstractResultSetMetaData
nameMeta, typeMap
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Constructor Summary
DefaultResultSetMetaData(AbstractResultSetMetaData.NameMetaData[] names, Map typeMap, AbstractType[] colTypes)
           
DefaultResultSetMetaData(String catalogName, String[] colNames, Map typeMap, AbstractType[] colTypes)
           
 
Method Summary
protected  AbstractType getType(int column)
           
 String toString()
           
 
Methods inherited from class org.sourceforge.jxutil.sql.AbstractResultSetMetaData
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

colTypes

private AbstractType[] colTypes
The column's types.

Constructor Detail

DefaultResultSetMetaData

public DefaultResultSetMetaData(AbstractResultSetMetaData.NameMetaData[] names,
                                Map typeMap,
                                AbstractType[] colTypes)

DefaultResultSetMetaData

public DefaultResultSetMetaData(String catalogName,
                                String[] colNames,
                                Map typeMap,
                                AbstractType[] colTypes)
Method Detail

getType

protected AbstractType getType(int column)
Specified by:
getType in class AbstractResultSetMetaData

toString

public String toString()
Overrides:
toString in class AbstractResultSetMetaData

jxDBCon 0.9z

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