JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.datasource.jdbc
Class Column

java.lang.Object
  |
  +--com.klg.jclass.datasource.BaseColumn
        |
        +--com.klg.jclass.datasource.jdbc.Column
All Implemented Interfaces:
ColumnModel, Serializable

public class Column
extends BaseColumn

A copy of the ResultSetMetaData for a column. A copy is kept rather than the original ResultSetMetaData so the ResultSet can be explicitly closed, and because with some drivers there is no guarantee it will be preserved. Moreover, only one copy is kept rather than a ResultSetMetaData object for each level. ResultSetMetaData methods are mirrored here, see their documentation for descriptions. Some drivers do not support all ResultSetMetaData methods. If they do not the following defaults are used:

catalog = null

displayWidth = 25

name = null

label = null

type = java.sql.Types.OTHER

typeName = "OTHER"

precision = 5

scale = 5

schema = null

table = null

isAutoIncrement = false

isCaseSensitive = false

isCurrency = false

isDefinitelyWritable = true

isNullable = ResultSetMetaData.columnNullable

isReadOnly = false

isSearchable = true

isSigned = false

isWritable = true

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.datasource.BaseColumn
catalog, columnClassName, displayWidth, identifier, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable, label, metaType, name, NOT_SET, precision, scale, schema, table, type, typeName
 
Method Summary
protected  void determineIdentifier(com.klg.jclass.datasource.util.SqlParser sp)
          Determine unique identifier for this column.
 
Methods inherited from class com.klg.jclass.datasource.BaseColumn
getCatalogName, getColumnClassName, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getIdentifier, getMetaColumnType, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isTimeDate, isWritable, setAutoIncrement, setCaseSensitive, setCatalogName, setColumnClassName, setColumnDisplaySize, setColumnLabel, setColumnName, setColumnType, setColumnTypeName, setCurrency, setDefinitelyWritable, setIdentifier, setMetaColumnType, setMetaColumnTypeFromSqlType, setNullable, setPrecision, setReadOnly, setScale, setSchemaName, setSearchable, setSigned, setTableName, setWritable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

determineIdentifier

protected void determineIdentifier(com.klg.jclass.datasource.util.SqlParser sp)
Determine unique identifier for this column. If the statement uses an alias, use alias. If it uses qualified name, use qualified name.


Copyright © 2004 Quest Software Inc..
All rights reserved.