|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final String ROW_COUNT
public static final String COLUMN_COUNT
public static final String RESULT_SET
Method Detail |
public int getRowCount()
public int getColumnCount()
public ResultSetSpec getResultSet()
public void setResultSet(ResultSetSpec a_ResultSet) throws WTPropertyVetoException
a_ResultSet
-
WTPropertyVetoException
public Object getValue(int a_row, int a_column) throws WTException
a_row
- a_column
-
WTException
public Object getHeading(int a_column) throws WTException
a_column
-
WTException
public Vector getColumnsByResultIndex(int a_resultIndex) throws WTException
a_resultIndex
-
WTException
public Class getType(int a_column) throws WTException
a_column
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |