wt.query.report
Interface ResultSpec

All Known Implementing Classes:
ColumnResultSpec

public interface ResultSpec

The ResultSpec class provides tabular (i.e. row/column) access to a QueryResult. It also supports recursively accessing aggregated objects to any level.

A QueryResult encapsulates a Vector of an array of objects. These classes provide a higher-level access to the QueryResult.

Supported API: false

Extendable: false


Field Summary
static String COLUMN_COUNT
          Label for the attribute.
static String RESULT_SET
          Label for the attribute.
static String ROW_COUNT
          Label for the attribute.
 
Method Summary
 int getColumnCount()
          Gets the value of the attribute: COLUMN_COUNT.
 Vector getColumnsByResultIndex(int a_resultIndex)
          

Supported API: false
 Object getHeading(int a_column)
          

Supported API: false
 ResultSetSpec getResultSet()
          Gets the object for the association that plays role: RESULT_SET.
 int getRowCount()
          Gets the value of the attribute: ROW_COUNT.
 Class getType(int a_column)
          

Supported API: false
 Object getValue(int a_row, int a_column)
          

Supported API: false
 void setResultSet(ResultSetSpec a_ResultSet)
          Sets the object for the association that plays role: RESULT_SET.
 

Field Detail

ROW_COUNT

public static final String ROW_COUNT
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

COLUMN_COUNT

public static final String COLUMN_COUNT
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

RESULT_SET

public static final String RESULT_SET
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

getRowCount

public int getRowCount()
Gets the value of the attribute: ROW_COUNT.

Supported API: false

Returns:
int

getColumnCount

public int getColumnCount()
Gets the value of the attribute: COLUMN_COUNT.

Supported API: false

Returns:
int

getResultSet

public ResultSetSpec getResultSet()
Gets the object for the association that plays role: RESULT_SET.

Supported API: false

Returns:
ResultSetSpec

setResultSet

public void setResultSet(ResultSetSpec a_ResultSet)
                  throws WTPropertyVetoException
Sets the object for the association that plays role: RESULT_SET.

Supported API: false

Parameters:
a_ResultSet -
Throws:
WTPropertyVetoException

getValue

public Object getValue(int a_row,
                       int a_column)
                throws WTException


Supported API: false

Parameters:
a_row -
a_column -
Returns:
Object
Throws:
WTException

getHeading

public Object getHeading(int a_column)
                  throws WTException


Supported API: false

Parameters:
a_column -
Returns:
Object
Throws:
WTException

getColumnsByResultIndex

public Vector getColumnsByResultIndex(int a_resultIndex)
                               throws WTException


Supported API: false

Parameters:
a_resultIndex -
Returns:
Vector
Throws:
WTException

getType

public Class getType(int a_column)
              throws WTException


Supported API: false

Parameters:
a_column -
Returns:
Class
Throws:
WTException