|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objex.panywhere.data.TableData.Row
public static class TableData.Row
A row representing the data for an actual row in the user's database. Each Row will have a list of Data items one for each column or subfield in the database table.
| Constructor Summary | |
|---|---|
TableData.Row()
|
|
| Method Summary | |
|---|---|
void |
addData(int ai_subfieldid,
Data a_sub_data)
Add a new data item for a column or subfield. |
java.util.Map<java.lang.Integer,Data> |
getColumns()
|
Data |
getData(int ai_subfieldid)
|
int |
getRrn()
|
boolean |
isDeleted()
|
boolean |
isDirty()
|
boolean |
isNewrec()
|
void |
setColumns(java.util.Map<java.lang.Integer,Data> a_columns)
Set a new map of data items representing subfields or database columns for the Row. |
void |
setDeleted(boolean rhs)
Set this flag to TRUE if the row was deleted from the UI table and may need to be deleted from the database too. |
void |
setDirty(boolean aDirty)
Set the to TRUE if the any data in this Row was modified by the client to make it different from the value that was loaded from the database. |
void |
setNewrec(boolean aNewrec)
Set the new value to TRUE if this Row was created by the client and is there non existent in the database from which the data was loaded. |
void |
setRrn(int id)
Set the new unique ID or row number for the Row object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableData.Row()
| Method Detail |
|---|
public int getRrn()
public void setRrn(int id)
id - The new unique ID or row number for the Row object.public boolean isDirty()
public void setDirty(boolean aDirty)
aDirty - New value. TRUE if the any data in this Row was modified by the client to make it different from the value that was loaded from the database.public boolean isNewrec()
public void setNewrec(boolean aNewrec)
aNewrec - The new value for newrec property
public void addData(int ai_subfieldid,
Data a_sub_data)
ai_subfieldid - The subfieldid for the datbase column for which data item is being added.a_sub_data - The data item being added to this Row.public Data getData(int ai_subfieldid)
ai_subfieldid -
public java.util.Map<java.lang.Integer,Data> getColumns()
public void setColumns(java.util.Map<java.lang.Integer,Data> a_columns)
a_columns - The new map of data items representing subfields or database columns for the Row. The map key is the subfieldidpublic boolean isDeleted()
public void setDeleted(boolean rhs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||