|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jimm.datavision.source.Column jimm.datavision.source.sql.SQLColumn
public class SQLColumn
A database column. It knows the table to which it belongs, its name, and other metadata. The id of a column is a string of the form "table_name.column_name".
Field Summary | |
---|---|
protected SQLTable |
table
|
Fields inherited from class jimm.datavision.source.Column |
---|
dateParseFormat, DEFAULT_DATE_PARSE_FORMAT, id, name, type |
Constructor Summary | |
---|---|
SQLColumn(SQLTable table,
java.lang.String colName,
int type)
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 |
---|
protected SQLTable table
Constructor Detail |
---|
public SQLColumn(SQLTable table, java.lang.String colName, int type) throws java.sql.SQLException
table
- the table to which this column belongscolName
- the column nametype
- the data types
java.sql.SQLException
DatabaseMetaData.getColumns(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
Method Detail |
---|
public Table getTable()
getTable
in interface Selectable
getTable
in class Column
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |