edu.jhu.tmaj.client.image.data
Class TableField

java.lang.Object
  extended by edu.jhu.tmaj.client.image.data.TableField
All Implemented Interfaces:
ColorCoded, java.io.Serializable

public final class TableField
extends java.lang.Object
implements java.io.Serializable, ColorCoded

A FieldName and a TableName.

See Also:
Serialized Form

Field Summary
 DatabaseField databaseField
           
 TableSection tableSection
           
 
Constructor Summary
TableField(DatabaseField databaseField, TableSection tableSection)
           
TableField(java.lang.String fieldName, TableSection tableSection)
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if tableName and fieldName are equal
 java.awt.Color getColor()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

databaseField

public final DatabaseField databaseField

tableSection

public final TableSection tableSection
Constructor Detail

TableField

public TableField(DatabaseField databaseField,
                  TableSection tableSection)

TableField

public TableField(java.lang.String fieldName,
                  TableSection tableSection)
Method Detail

equals

public boolean equals(java.lang.Object object)
Returns true if tableName and fieldName are equal

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getColor

public java.awt.Color getColor()
Specified by:
getColor in interface ColorCoded