java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.common.data.DataSet
org.objectweb.telosys.common.data.UpdatableDataSet
Constructor Summary | |
UpdatableDataSet()
|
Method Summary | |
int |
addRow()
Add a new void DataRow at the end of the DataSet |
int |
addRow(DataRow dataRow)
Add a DataRow at the end of the DataSet |
boolean |
replaceObject(int iRow,
int iCol,
java.lang.Object newObject)
Replaces the object at the given position by a new one |
DataRow |
replaceRow(int iRow,
DataRow dataRow)
Replaces the DataRow at the given position by a new one |
Methods inherited from class org.objectweb.telosys.common.data.DataSet |
getBoolean, getByte, getDataRow, getDate, getDouble, getFloat, getInt, getLong, getObject, getRowCount, getShort, getSortColumn, getSqlDate, getString, getString, initBeforeLoad, isEmpty, isSortedBy, isSortedInAscendingOrder, isSortedInDescendingOrder, iterator, load, load, sort, sort, sortIgnoreCase, sortIgnoreCase |
Methods inherited from class org.objectweb.telosys.common.TelosysObject |
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UpdatableDataSet()
Method Detail |
public DataRow replaceRow(int iRow, DataRow dataRow)
replaceRow
in class DataSet
iRow
- index of row to replace ( 1 to N )dataRow
- the DataRow to be stored at the specified position
public int addRow(DataRow dataRow)
addRow
in class DataSet
dataRow
- the DataRow to be added
public int addRow()
addRow
in class DataSet
public boolean replaceObject(int iRow, int iCol, java.lang.Object newObject)
iRow
- iCol
- newObject
-