|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objex.panywhere.Data
com.objex.panywhere.data.TableData
public class TableData
Custom data that is linked to a complex data dictionary field that has subfields and rows.
| Nested Class Summary | |
|---|---|
static class |
TableData.Row
A row representing the data for an actual row in the user's database. |
| Constructor Summary | |
|---|---|
TableData()
Creates a new instance of TableData |
|
| Method Summary | |
|---|---|
void |
addRow(int ai_rrn,
TableData.Row a_row)
Add a new Row at the specified RRN |
java.util.Map<java.lang.Integer,TableData.Row> |
getDataValue()
|
TableData.Row |
getRow(int ai_rrn)
|
int |
getRowCount()
|
java.util.Map<java.lang.Integer,TableData.Row> |
getRows()
|
Data |
getValueAt(int row,
int fieldid)
|
void |
setRows(java.util.Map<java.lang.Integer,TableData.Row> aRows)
Set the new map of rows for the TableData. |
void |
setValueAt(int rrn,
int fieldid,
Data a_sub_data,
boolean ab_newrec)
Sets new value for row (rrn) and subfield "fieldid" to new value of "a_sub_data). |
| Methods inherited from class com.objex.panywhere.Data |
|---|
getFieldid, getFieldname, getValue, setFieldid, setFieldname, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableData()
| Method Detail |
|---|
public java.util.Map<java.lang.Integer,TableData.Row> getDataValue()
public Data getValueAt(int row,
int fieldid)
public int getRowCount()
public void setValueAt(int rrn,
int fieldid,
Data a_sub_data,
boolean ab_newrec)
a_sub_data - The new data to be added for Row with specified RRN and fieldidrrn - The RRN at which the data is to be added. RRN uniquely identifies the Row in the TableDataab_newrec - Flag for whether or not the record for which this value is being added must be marked as a new record. Records marked as "newrec" can be used to distinguish between records you retrieved out of the databasefieldid - The fieldid of the colum for which that data is being setpublic java.util.Map<java.lang.Integer,TableData.Row> getRows()
public void setRows(java.util.Map<java.lang.Integer,TableData.Row> aRows)
aRows - The new map of rows for the TableData.
public void addRow(int ai_rrn,
TableData.Row a_row)
ai_rrn - The unique row number at which the row must be addeda_row - The new data Row to be addedpublic TableData.Row getRow(int ai_rrn)
ai_rrn - The unique row number for Row to be retrieved.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||