org.eclipse.birt.report.engine.api.script
Interface IRowData


public interface IRowData

Represents the computed expression results that are bound to the current row. The index starts with 1, which reprents the first expression in the row.


Method Summary
 int getExpressionCount()
          Return the number of expressions bound to the current row.
 java.lang.Object getExpressionValue(int i)
          Return the value of the i:th expression in the current row.
 java.lang.Object getExpressionValue(java.lang.String expression)
          Return the value of the provided expression.
 

Method Detail

getExpressionValue

public java.lang.Object getExpressionValue(java.lang.String expression)
                                    throws ScriptException
Return the value of the provided expression. The provided expression must have been bound to the current row. Otherwise, it returns null.

Throws:
ScriptException

getExpressionValue

public java.lang.Object getExpressionValue(int i)
                                    throws ScriptException
Return the value of the i:th expression in the current row. Null will be return if the i:th expression doesn't exist.

Throws:
ScriptException

getExpressionCount

public int getExpressionCount()
Return the number of expressions bound to the current row.



Copyright © 2005 Actuate Corp. All rights reserved.