|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.azalient.api.file.record.TypeObject
com.azalient.api.file.record.ReaderUtilities
com.azalient.api.file.record.AbstractRecordR
com.azalient.api.file.record.AbstractRecordRW
public abstract class AbstractRecordRW
An abstract implementation of the RecordRW interface, requiring only the set() and get()
methods to be implemented
For more detail see the RecordR and RecordW interfaces
RecordR,
RecordW| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Constructor Summary | |
|---|---|
AbstractRecordRW()
|
|
| Method Summary | |
|---|---|
Object |
extraGet(Object col)
The (API) user can store additional information in any record using "Extra" fields. |
boolean |
extraGetB(Object col)
Get the data in the named extra column, as a boolean |
double |
extraGetD(Object col)
Get the data in the named extra column, as a double |
int |
extraGetI(Object col)
Get the data in the named extra column, as an integer |
String |
extraGetS(Object col)
Get the data in the named extra column, as a String |
UTime |
extraGetT(Object col)
Get the data in the named extra column, as a UTime Object |
abstract Object |
get(Object col)
The writer calls this to get the data in the record. |
boolean |
isVolatile()
If true, do not save the record |
abstract void |
set(Object col,
Object data)
The file reader calls this on a record, when it is read. |
| Methods inherited from class com.azalient.api.file.record.AbstractRecordR |
|---|
extraCols, extraSet, finished, isApplicable, isEditable, toString |
| Methods inherited from class com.azalient.api.file.record.TypeObject |
|---|
b, c, d, equals, equals, equalsEW, f, i, keyString, keyString, nameFromKeyString, rowKeysFromKeyString, s, t, t |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
|---|
name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols |
| Constructor Detail |
|---|
public AbstractRecordRW()
| Method Detail |
|---|
public abstract void set(Object col,
Object data)
RecordRRecordR.finished(TableR table)
set in interface RecordRset in class AbstractRecordRcol - The key (name) of the field (column in the table), normally of type Stringdata - an object having one of the following types:
public abstract Object get(Object col)
RecordW
get in interface RecordWget in interface SortableDatacol - The column header key (normally a String)
public boolean isVolatile()
RecordW
isVolatile in interface RecordWpublic Object extraGet(Object col)
RecordW
extraGet in interface RecordWRecordW.get(Object),
RecordR.extraSet(Object, Object)public double extraGetD(Object col)
RecordW
extraGetD in interface RecordWRecordW.extraGet(Object)public boolean extraGetB(Object col)
RecordW
extraGetB in interface RecordWRecordW.extraGet(Object)public int extraGetI(Object col)
RecordW
extraGetI in interface RecordWRecordW.extraGet(Object)public String extraGetS(Object col)
RecordW
extraGetS in interface RecordWRecordW.extraGet(Object)public UTime extraGetT(Object col)
RecordW
extraGetT in interface RecordWRecordW.extraGet(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||