org.gusdb.wdk.model.jspwrap
Class RecordBean
java.lang.Object
org.gusdb.wdk.model.jspwrap.RecordBean
public class RecordBean
- extends java.lang.Object
A wrapper on a RecordInstance that provides simplified access for
consumption by a view
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordBean
public RecordBean(RecordInstance recordInstance)
getPrimaryKey
public PrimaryKeyValue getPrimaryKey()
- modified by Jerric
- Returns:
getRecordClass
public RecordClassBean getRecordClass()
getSummaryAttributeNames
public java.lang.String[] getSummaryAttributeNames()
getNestedRecords
public java.util.Map getNestedRecords()
getNestedRecordLists
public java.util.Map getNestedRecordLists()
getAttributes
public java.util.Map getAttributes()
- Returns:
- Map of attributeName -->
AttributeFieldValue
getTables
public java.util.Map getTables()
- Returns:
- Map of tableName -->
TableFieldValue
assignPrimaryKey
public void assignPrimaryKey(java.lang.String projectID,
java.lang.String key)
throws WdkModelException
- used by the controller. Modified by Jerric
- Parameters:
projectID - key -
- Throws:
WdkModelException