isql
Class ColumnKey
java.lang.Object
  
isql.ColumnKey
- All Implemented Interfaces: 
 - java.lang.Comparable<ColumnKey>
 
public class ColumnKey
- extends java.lang.Object
- implements java.lang.Comparable<ColumnKey>
  
A key defining a column in the result set, using the table name and the column name
- Author:
 
  - SHZ Oct 4, 2007
 
| 
Constructor Summary | 
ColumnKey(java.lang.String tableName,
          java.lang.String columnName)
 
          Constructor | 
 
 
| Methods inherited from class java.lang.Object | 
getClass, notify, notifyAll, wait, wait, wait | 
 
ColumnKey
public ColumnKey(java.lang.String tableName,
                 java.lang.String columnName)
- Constructor
- Parameters:
 tableName - the table namecolumnName - the column name
 
getColumnName
public java.lang.String getColumnName()
 
- Returns:
 - the columnName
 
 
getTableName
public java.lang.String getTableName()
 
- Returns:
 - the tableName
 
 
compareTo
public int compareTo(ColumnKey o)
- Specified by:
 compareTo in interface java.lang.Comparable<ColumnKey>
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object
 
 
fromString
public static ColumnKey fromString(java.lang.String s)
- Builds a ColumnKey object from a text
 
- Parameters:
 s - the text in form of .
- Returns:
 - the ColumnKey object
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class java.lang.Object
 
 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equals in class java.lang.Object