|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Interface Summary | |
|---|---|
| Table | An interface for a Table that can be used as a ProbeAttributeType. |
| TableAttribute | An interface for a TableAttribute. |
| TableHeader | An interface for the header of a Table. |
| TableRow | An interface for rows of data that can be added to a Table. |
| TableValue | An interface for a value in a Table. |
| Class Summary | |
|---|---|
| DefaultTable | A default implementation of a Table. |
| DefaultTableAttribute | A default implementation of a TableAttribute. |
| DefaultTableHeader | A default implementation of a TableHeader. |
| DefaultTableRow | A default implementation of a TableRow. |
| DefaultTableValue | A default implementation of a TableValue. |
| TableProbeAttribute | An implementation for having a table as a ProbeAttribute These are a Probe's Data Dictionary. |
| Exception Summary | |
|---|---|
| TableException | An exception thrown where there is a problem with a Table. |
This package provides classes that are used for embedding Table data within a Measurement.
A Table is defined using a TableHeader, like so:
Table table1 = new DefaultTable();
TableHeader header = new DefaultTableHeader().
add("name", ProbeAttributeType.STRING).
add("type", ProbeAttributeType.STRING);
table1.defineTable(header);
which defines a name and a type for each column.
Rows are added to the table using TableRow objects
like so:
TableRow r0 = new DefaultTableRow().
add(new DefaultTableValue("stuart")).
add(new DefaultTableValue("person"));
table1.addRow(r0);
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||