org.apache.turbine.util.db
Class TableColumn
java.lang.Object
|
+--org.apache.turbine.util.db.TableColumn
- public class TableColumn
- extends java.lang.Object
Models a specific column in a specific table.
- Author:
- Daniel Rall, John McNally
Field Summary |
protected java.lang.String |
columnName
The name of the database column. |
private java.lang.String |
tableColumn
The concatenation of the table name and column name separated with a
dot. |
protected java.lang.String |
tableName
The name of the database table. |
Constructor Summary |
TableColumn(java.lang.String tableName,
java.lang.String columnName)
|
Method Summary |
boolean |
equals(java.lang.Object obj)
Compares this object with another TableColumn . |
java.lang.String |
toString()
The concatenation of the table name and column name separated with a
dot. |
Methods inherited from class java.lang.Object |
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
tableName
protected java.lang.String tableName
- The name of the database table.
columnName
protected java.lang.String columnName
- The name of the database column.
tableColumn
private java.lang.String tableColumn
- The concatenation of the table name and column name separated with a
dot.
TableColumn
public TableColumn(java.lang.String tableName,
java.lang.String columnName)
equals
public boolean equals(java.lang.Object obj)
- Compares this object with another
TableColumn
.
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
- The object to compare to.
toString
public java.lang.String toString()
- The concatenation of the table name and column name separated with a
dot.
- Overrides:
toString
in class java.lang.Object
- Returns:
- This object's string representation.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.