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

java.lang.Object
  extended by edu.jhu.tmaj.beans.dynamic.data.DynamicDataRecord

public final class DynamicDataRecord
extends java.lang.Object

Represents data that would be found in one record of a dynamic data table (for example, SpecimenData)


Constructor Summary
DynamicDataRecord(int primaryKeyID, int fieldID, DynamicValue dynamicValue)
          Initializes this class from a single record found in a dynamic data table (XXXData).
 
Method Summary
 DynamicValue getDynamicValue()
          Returns the DynamicValue of this record,a combination of the EnumID and FieldValue fields in the database.
 int getFieldID()
          Returns the FieldID record.
 int getPrimaryKeyID()
          Returns the primary key of the record to which this dynamic data REFERS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicDataRecord

public DynamicDataRecord(int primaryKeyID,
                         int fieldID,
                         DynamicValue dynamicValue)
Initializes this class from a single record found in a dynamic data table (XXXData).

Parameters:
primaryKeyID - the primary key of the record to this dynamic data refers. (e.g. TissueDiagnosisID)
fieldID - the fieldID field in table XXXData
dynamicValue - the dynamicValue assigned to the fieldID.
Method Detail

getPrimaryKeyID

public int getPrimaryKeyID()
Returns the primary key of the record to which this dynamic data REFERS


getFieldID

public int getFieldID()
Returns the FieldID record.


getDynamicValue

public DynamicValue getDynamicValue()
Returns the DynamicValue of this record,a combination of the EnumID and FieldValue fields in the database.