|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.common.sql.schema.TableColumn
A TableColumn
is used to carry parsing information and
contains a database table name and one of its column.
Field Summary | |
private java.lang.String |
columnName
The column name. |
private java.lang.String |
tableName
The table name. |
Constructor Summary | |
TableColumn(java.lang.String tableName,
java.lang.String columnName)
Creates a new TableColumn . |
Method Summary | |
boolean |
equals(java.lang.Object other)
Two TableColumn objects are considered equal if they have
the same name and belong to the same table. |
java.lang.String |
getColumnName()
Returns the column name. |
java.lang.String |
getTableName()
Returns the table name. |
void |
setColumnName(java.lang.String columnName)
Sets the column name. |
void |
setTableName(java.lang.String tableName)
Sets the table name. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String tableName
private java.lang.String columnName
Constructor Detail |
public TableColumn(java.lang.String tableName, java.lang.String columnName)
TableColumn
.
tableName
- the table namecolumnName
- the column nameMethod Detail |
public java.lang.String getColumnName()
public java.lang.String getTableName()
public void setColumnName(java.lang.String columnName)
columnName
- the column to setpublic void setTableName(java.lang.String tableName)
tableName
- the table to setpublic boolean equals(java.lang.Object other)
TableColumn
objects are considered equal if they have
the same name and belong to the same table.
other
- the object to compare with
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |