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
Modifier and TypeMethodDescriptionReturns the contents of the Row as a Map.Returns the contents of the Row.int
getId()
Returns the identifier of the row, unique within this Table.void
Update the values in the given fields/columns.
-
Method Details
-
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
Returns the contents of the Row.- Returns:
- the contents of the Row.
-
getFieldMap
Returns the contents of the Row as a Map. The keys are the field names.- Returns:
- the contents of the Row.
-
update
Update the values in the given fields/columns.- Parameters:
fieldNames
- the names of the fields to updatefieldValues
- the values to update the fields with
-