|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.datasource.TabularDataRow
A TabularDataRow stores the data for a row of a TabularData.
| Constructor Summary | |
TabularDataRow(TabularData aTabularData)
Creates a TabularDataRow for a TabularData. |
|
| Method Summary | |
void |
add(Atom value)
Adds a column and sets the value for this column. |
Atom |
get(int col)
Returns the value of this row for the column with a given column-index. |
Atom |
get(java.lang.String colName)
Returns the value for a column with a given name. |
int |
hashCode()
|
void |
set(int col,
Atom value)
Sets the value for the column with a given index. |
void |
set(java.lang.String colName,
Atom value)
Sets the value for a column with a given name. |
int |
size()
Returns the number of Atoms in this. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TabularDataRow(TabularData aTabularData)
aTabularData - - The TabularData for which the row is
created.| Method Detail |
public void add(Atom value)
value - - The value for the column.
public void set(int col,
Atom value)
col - - The index of the column.value - - The value to be set.
public void set(java.lang.String colName,
Atom value)
colName - - The name of the column.value - - The value for the column.public Atom get(int col)
col - - The index of the column.
java.lang.IllegalArgumentException - if col greater than
or equal to the number of columns in the table.public Atom get(java.lang.String colName)
colName - - The name of the column.public int hashCode()
Object.hashCode()public int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||