eu.reservoir.monitoring.core.table
Interface TableRow

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultTableRow

public interface TableRow
extends java.io.Serializable

An interface for rows of data that can be added to a Table.


Method Summary
 TableRow add(java.lang.Object value)
          Add an object value to the row.
 TableRow add(TableValue value)
          Add some data value to the row.
 TableValue get(int n)
          Get the Nth element from a row.
 TableRow set(int n, TableValue value)
          Set the Nth element of a row.
 int size()
          Get the size of a row.
 java.util.List<TableValue> toList()
          Convert the Row to a List.
 

Method Detail

size

int size()
Get the size of a row. It should be the same size as the number of column definitions for the table that the row is in.


get

TableValue get(int n)
Get the Nth element from a row.


set

TableRow set(int n,
             TableValue value)
Set the Nth element of a row.


add

TableRow add(TableValue value)
Add some data value to the row.


add

TableRow add(java.lang.Object value)
             throws TypeException
Add an object value to the row. This throws an Error if the type of the value is not one supported by ProbeAttributeType.

Throws:
TypeException

toList

java.util.List<TableValue> toList()
Convert the Row to a List.



RESERVOIR Monitoring 0.6.4