jimm.datavision.source.ncsql
Class NCColumn

java.lang.Object
  extended by jimm.datavision.source.Column
      extended by jimm.datavision.source.ncsql.NCColumn
All Implemented Interfaces:
Draggable, Identity, Nameable, Selectable, Writeable

public class NCColumn
extends Column

A database column. It knows the table to which it belongs, its name, and its type. The id of a column is a string of the form "table_name.column_name".

Author:
Jim Menard, jimm@io.com

Field Summary
protected  NCTable table
           
 
Fields inherited from class jimm.datavision.source.Column
dateParseFormat, DEFAULT_DATE_PARSE_FORMAT, id, name, type
 
Constructor Summary
NCColumn(NCTable table, java.lang.String colName, int colType)
          Constructor.
 
Method Summary
 Table getTable()
          Returns the table to which this column belongs.
 
Methods inherited from class jimm.datavision.source.Column
dragString, equals, fieldTypeString, fullName, getDateParseFormat, getDisplayName, getId, getName, getSelectString, getSortString, getType, getValue, hashCode, isDate, isNumeric, isString, reloadInstance, setDateParseFormat, setName, toString, typeFromString, typeToString, writeXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

table

protected NCTable table
Constructor Detail

NCColumn

public NCColumn(NCTable table,
                java.lang.String colName,
                int colType)
Constructor.

Parameters:
table - the table to which this column belongs
colName - the column's name
colType - the column's type id
Method Detail

getTable

public Table getTable()
Returns the table to which this column belongs.

Specified by:
getTable in interface Selectable
Overrides:
getTable in class Column
Returns:
the table