com.businessobjects.rebean.wi
Interface RowValue


public interface RowValue

Represents a row of values in a multi-column list of values.

See Also:
Lov, Values

Method Summary
 int getCount()
          Gets the number of values in this row.
 java.lang.String getHeader(int index)
          Gets the header for a column in the row.
 java.lang.String getItem(int index)
          Gets the value at a given index (column) in the row.
 

Method Detail

getCount

int getCount()
Gets the number of values in this row.

Returns:
the number of values in the row

getItem

java.lang.String getItem(int index)
                         throws java.lang.IndexOutOfBoundsException
Gets the value at a given index (column) in the row.

When entering the value of a multi-column list of values into a prompt, use the value in the first column (index = 0).

Parameters:
index - index of the value
Returns:
the value at the specified position in the row
Throws:
java.lang.IndexOutOfBoundsException - if index is less than 0 or greater than RowValue.getCount.

getHeader

java.lang.String getHeader(int index)
                           throws java.lang.IndexOutOfBoundsException
Gets the header for a column in the row.

Parameters:
index - index of the column
Returns:
the header for the specified column
Throws:
java.lang.IndexOutOfBoundsException - if index is less than 0 or greater than RowValue.getCount.