|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.tmaj.beans.dynamic.data.DynamicMetaData
public class DynamicMetaData
Represents the MetaData for a Dynamic table. For example, for Specimens this class would represent the SpecimenFieldNames table and the SpecimenEnums table.
| Constructor Summary | |
|---|---|
DynamicMetaData()
|
|
| Method Summary | |
|---|---|
void |
addDynamicEnumeration(DynamicEnumeration dynamicEnumeration)
Adds a record from the XXXEnumerations table. |
void |
addDynamicField(DynamicTField dynamicField)
Adds a record from the XXXFieldNames table. |
DynamicEnumeration |
getDynamicEnumeration(java.lang.Integer enumID)
Returns the DynamicEnumeration in the XXXEnumerations table with a primary key fieldID |
java.util.List<DynamicEnumeration> |
getDynamicEnumerationsByField(int fieldID)
Returns the DynamicEnumerations for the DynamicField with the specified fieldID. |
DynamicTField |
getDynamicField(int fieldID)
Returns the DynamicField in the XXXFieldNames table with a primary key fieldID |
java.util.List<DynamicTField> |
getDynamicFieldsByType(java.lang.Integer typeID)
Returns a List of all the DynamicFields whose type is typeID. |
java.util.List<java.lang.Integer> |
getFieldIDs()
Returns a List of Integers representing all FieldIDs. |
boolean |
isEnumerated(int fieldID)
Returns true if a DynamicField with primary key fieldID has any enumerations; Returns false if it is a field where the user types in the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicMetaData()
| Method Detail |
|---|
public java.util.List<java.lang.Integer> getFieldIDs()
public void addDynamicField(DynamicTField dynamicField)
public void addDynamicEnumeration(DynamicEnumeration dynamicEnumeration)
public DynamicTField getDynamicField(int fieldID)
public DynamicEnumeration getDynamicEnumeration(java.lang.Integer enumID)
public java.util.List<DynamicTField> getDynamicFieldsByType(java.lang.Integer typeID)
public java.util.List<DynamicEnumeration> getDynamicEnumerationsByField(int fieldID)
public boolean isEnumerated(int fieldID)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||