|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Record
This interface provides the method which is used to access database record.
| Method Summary | |
|---|---|
DbValue |
getCell(DbColDesc desc)
Gets a cell by the column description. |
DbValue |
getCell(int i)
Gets a cell at the index. |
DbValue |
getCell(java.lang.String name)
Gets a cell by the cell name. |
int |
getRecordIndex()
Gets the index of the record. |
DbValue[] |
getValueArray()
Gets all values that belong to the record by DbValue array. |
int |
indexOfCell(java.lang.String columnName)
|
void |
refresh(boolean bWithoutGroup)
Refreshes data in this record accoring to the data in the buffer. |
void |
refresh(DbColDesc desc)
Refreshes data in this record accoring to the data in the buffer. |
void |
refresh(int colIndex)
Refreshes data in this record accoring to the data in the buffer. |
void |
refresh(java.lang.String name)
Refreshes data in this record accoring to the data in the buffer. |
void |
setRecordIndex(int index)
Sets the index of the record. |
int |
size()
Returns the number of record cells. |
void |
update()
Updates data in the buffer according to the data in this record. |
void |
update(DbColDesc desc)
Updates data in the buffer according to the data in this record. |
void |
update(int colIndex)
Updates data in the buffer according to the data in this record. |
void |
update(java.lang.String name)
Updates data in the buffer according to the data in this record. |
| Methods inherited from interface jet.util.DbRecordable |
|---|
getValue, getValue |
| Method Detail |
|---|
void setRecordIndex(int index)
int getRecordIndex()
DbValue getCell(int i)
DbValue getCell(DbColDesc desc)
DbValue[] getValueArray()
DbValue getCell(java.lang.String name)
int size()
int indexOfCell(java.lang.String columnName)
columnName -
void refresh(boolean bWithoutGroup)
bWithoutGroup - false if the group level column is to be refreshed.
true if the group level column isn't to be refreshed.void refresh(int colIndex)
colIndex - The data column index that will be refreshed.void refresh(java.lang.String name)
name - The data column name that will be refreshed.void refresh(DbColDesc desc)
desc - the data column description object that will be refreshed.void update()
void update(int colIndex)
colIndex - The data column index that will be updated.void update(java.lang.String name)
name - the data column name that will be updated.void update(DbColDesc desc)
desc - The data column description object that will be updated.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||