|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a data row in an open data set. Methods in this interface allows getting and setting column data
Method Summary | |
java.lang.Object |
getColumnValue(int index)
Gets the column data by index. |
java.lang.Object |
getColumnValue(java.lang.String name)
Gets the column data by column name. |
IDataSetInstanceHandle |
getDataSet()
Gets the data set runtime instance which contains this row |
IResultMetaData |
getResultMetaData()
Gets the metadata of the data row. |
void |
setColumnValue(int index,
java.lang.Object value)
Sets the column data by index. |
void |
setColumnValue(java.lang.String name,
java.lang.Object value)
Sets the column data by column name. |
Method Detail |
public IDataSetInstanceHandle getDataSet()
public IResultMetaData getResultMetaData() throws BirtException
BirtException
public java.lang.Object getColumnValue(int index) throws BirtException
index
- 1-based index of column. If value is 0, an internal index of
the current row (if available) is returned
BirtException
- if index is out of bounds, or if current data row is unavailablepublic void setColumnValue(int index, java.lang.Object value) throws BirtException
index
- 1-based index of column. Value must be between 1 and the number of columnsvalue
- New value for column (can be null)
BirtException
- if index is out of bounds, or if value has an incompatible data type,
or if update is not allowed at this timepublic java.lang.Object getColumnValue(java.lang.String name) throws BirtException
name
- of column
BirtException
- if column name is not found, or if current data row is unavailablepublic void setColumnValue(java.lang.String name, java.lang.Object value) throws BirtException
name
- of column
BirtException
- if column name is not found,
or if value has an incompatible data type,
or if update is not allowed at this time.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |