1 package diku
.distlab
.remote
.client
.motedata
;
3 public class SimpleTableRow
implements TableRow
{
8 protected SimpleTableRow(Table parentTable
, Object
[] entries
) {
10 this.parentTable
= parentTable
;
11 this.entries
= entries
;
14 public Object
get(int columnIndex
)
16 return this.entries
[columnIndex
];
19 public Object
get(String columnName
) throws Exception
21 return this.entries
[parentTable
.getHeader().indexOf(columnName
)];
24 public Table
getTable() {
25 return this.parentTable
;