|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TableR
An interface to a table that can be read from the file (but not necessarily written back to the file).
A table of this type is created by reading a file and then "Setting" the data in each field in a record.
This does not mean that the records in the table are readable.
| Method Summary | |
|---|---|
Object |
columnNameObject(String name)
Map a column name to a column name object. |
void |
finishedR(Page page)
The reader is finished |
void |
invalidate(RecordR record)
This allows a record to remove itself, commonly from within the finished() method, after checking its own validity |
void |
notFound(OpeningStatus ps)
The reader tried to parse the table but didn't find it |
boolean |
open()
read the table from model's current open file |
void |
open(OpeningStatus ps)
read the store from model's current open file |
RecordR |
row(Object[] rowKey)
Return a reference to a Record (a row object). |
boolean |
rowExists(Object[] rowKey)
Return true if a record already exists with this key. |
| Methods inherited from interface com.azalient.api.file.Table |
|---|
destroy, headerRows, keyTypes |
| Methods inherited from interface com.azalient.api.a.tables.ITable |
|---|
page, pageName |
| Methods inherited from interface com.azalient.api.a.tables.ITableType |
|---|
colNameObjects, pageType, tableName |
| Method Detail |
|---|
Object columnNameObject(String name)
name - the name of the column
RecordR row(Object[] rowKey)
boolean rowExists(Object[] rowKey)
void invalidate(RecordR record)
void finishedR(Page page)
void notFound(OpeningStatus ps)
boolean open()
void open(OpeningStatus ps)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||