edu.jhu.tmaj.database.data
Class DatabaseField

java.lang.Object
  extended by edu.jhu.tmaj.database.data.DatabaseField
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DynamicTField

public class DatabaseField
extends java.lang.Object
implements java.io.Serializable

This class makes up the ColumnIdentifiers for the Bean-JTables.

See Also:
Serialized Form

Constructor Summary
DatabaseField(java.lang.String name, DatabaseFieldType type)
           
DatabaseField(java.lang.String name, DatabaseFieldType type, boolean isRequired)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 DatabaseFieldType getDataType()
           
 java.lang.String getFieldName()
           
 int hashCode()
           
 boolean isRequired()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseField

public DatabaseField(java.lang.String name,
                     DatabaseFieldType type,
                     boolean isRequired)

DatabaseField

public DatabaseField(java.lang.String name,
                     DatabaseFieldType type)
Method Detail

getFieldName

public final java.lang.String getFieldName()

getDataType

public final DatabaseFieldType getDataType()

isRequired

public final boolean isRequired()

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

toString

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