|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.sf.imageCave.database.DataRow
An object that represents a row in a DataTable in the Database.
Database,
DataTable,
DataTableBuilder| Field Summary | |
java.util.LinkedList |
fields
Holds all the values of the fields in this DataRow |
| Constructor Summary | |
DataRow()
Constructor |
|
| Method Summary | |
void |
appendField(java.lang.String value)
Add another field to the end of this DataRow. |
boolean |
equals(DataRow row)
|
boolean |
fieldMatches(int index,
java.lang.String value)
|
boolean |
update(int fieldToUpdate,
java.lang.String newValue)
Update this DataRow. |
int |
width()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.util.LinkedList fields
DataRow
| Constructor Detail |
public DataRow()
| Method Detail |
public boolean update(int fieldToUpdate,
java.lang.String newValue)
Update this DataRow. String arrays of field names and their
new values should line up, repectively.
fieldToUpdate -
public boolean equals(DataRow row)
public void appendField(java.lang.String value)
Add another field to the end of this DataRow.
value - the string value of the field.public int width()
public boolean fieldMatches(int index,
java.lang.String value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||