|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataRow
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 |
---|
IDataSetInstanceHandle getDataSet()
IResultMetaData getResultMetaData() throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.core.exception.BirtException
java.lang.Object getColumnValue(int index) throws org.eclipse.birt.core.exception.BirtException
index
- 1-based index of column. If value is 0, an internal index of
the current row (if available) is returned
org.eclipse.birt.core.exception.BirtException
- if index is out of bounds, or if current data row is unavailablevoid setColumnValue(int index, java.lang.Object value) throws org.eclipse.birt.core.exception.BirtException
index
- 1-based index of column. Value must be between 1 and the number of columnsvalue
- New value for column (can be null)
org.eclipse.birt.core.exception.BirtException
- if index is out of bounds, or if value has an incompatible data type,
or if update is not allowed at this timejava.lang.Object getColumnValue(java.lang.String name) throws org.eclipse.birt.core.exception.BirtException
name
- of column
org.eclipse.birt.core.exception.BirtException
- if column name is not found, or if current data row is unavailablevoid setColumnValue(java.lang.String name, java.lang.Object value) throws org.eclipse.birt.core.exception.BirtException
name
- of column
org.eclipse.birt.core.exception.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 |