edu.jhu.tmaj.beans.dynamic.data
Class DynamicTField

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

public class DynamicTField
extends DatabaseField
implements MetaObject

The TField for a Dynamic table.

See Also:
Serialized Form

Field Summary
protected  int dynamicTypeID
           
protected  int fieldID
           
 
Constructor Summary
DynamicTField(int fieldID, int typeID, java.lang.String fieldName)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getDynamicTypeID()
          Returns the type (for example, prostate) to which this DynamicField belongs
 int getID()
          Returns the primary key of this class
 DynamicTField getRenamedCopy(java.lang.String newName)
          Returns the same MetaObject, except with a different name.
 int hashCode()
           
 
Methods inherited from class edu.jhu.tmaj.database.data.DatabaseField
getDataType, getFieldName, isRequired, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fieldID

protected final int fieldID

dynamicTypeID

protected int dynamicTypeID
Constructor Detail

DynamicTField

public DynamicTField(int fieldID,
                     int typeID,
                     java.lang.String fieldName)
Method Detail

getID

public final int getID()
Returns the primary key of this class

Specified by:
getID in interface MetaObject

getDynamicTypeID

public final int getDynamicTypeID()
Returns the type (for example, prostate) to which this DynamicField belongs


equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class DatabaseField

hashCode

public final int hashCode()
Overrides:
hashCode in class DatabaseField

getRenamedCopy

public final DynamicTField getRenamedCopy(java.lang.String newName)
Description copied from interface: MetaObject
Returns the same MetaObject, except with a different name. The ID and foreign keys will be the exact same.

Specified by:
getRenamedCopy in interface MetaObject