Package com.rs.seagull.emulator.api
Interface Table.Row
-
- Enclosing interface:
- Table
public static interface Table.Row
A Row represents one entry in a Table, consisting of a list of Fields. Note that this does not always mean exactly one line from a screen - a Row can span multiple lines if it is "folded" for example.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Field>
getFieldMap()
Returns the contents of the Row as a Map.List<Field>
getFields()
Returns the contents of the Row.int
getId()
Returns the identifier of the row, unique within this Table.void
update(List<String> fieldNames, List<String> fieldValues)
Update the values in the given fields/columns.
-
-
-
Method Detail
-
getId
int getId()
Returns the identifier of the row, unique within this Table. TODO Not sure we need this at all. TODO If it is just an ordinal number, perhaps "Id" is not a great name.- Returns:
- an identifier for the row.
-
getFields
List<Field> getFields()
Returns the contents of the Row.- Returns:
- the contents of the Row.
-
getFieldMap
Map<String,Field> getFieldMap()
Returns the contents of the Row as a Map. The keys are the field names.- Returns:
- the contents of the Row.
-
-