|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.beans.dynamic.data.DynamicValue
public final class DynamicValue
Represents a combination of the EnumerationID and FieldValue columns in a dynamic data table (xxxData). In a dynamic table (such as SpecimenData), a record always has a FieldID -- It can be enumerated, in which case it has an enumID; or is not enumerated, and has a typed-in FieldValue. This class represents the value that a fieldID can have, either typed-in or enumerated. If it's enumerated, the enumID points to a value in the xxxEnumerations table.
Method Summary | |
---|---|
static DynamicValue |
getEnumeratedInstance(int enumID)
|
static DynamicValue |
getEnumeratedNullInstance()
|
java.lang.Integer |
getEnumID()
Returns the enumID of the dynamic data field |
java.lang.String |
getFieldNameValue()
Returns the "typed-in" value of the dynamic data field |
static DynamicValue |
getNonEnumeratedInstance(java.lang.String fieldNameValue)
|
boolean |
isEnumerated()
Returns true if the relevant data is in the EnumID column |
boolean |
isNull()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static DynamicValue getEnumeratedInstance(int enumID)
public static DynamicValue getNonEnumeratedInstance(java.lang.String fieldNameValue)
public static DynamicValue getEnumeratedNullInstance()
public boolean isEnumerated()
public java.lang.String getFieldNameValue()
public java.lang.Integer getEnumID()
public boolean isNull()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |