public class Result extends java.lang.Object implements ResultIF
ImplementationIF
Constructor and Description |
---|
Result(ResultSetExt resultSet,
int[][] index,
int idColumn)
CReate the result.
|
Modifier and Type | Method and Description |
---|---|
T_LONGLONG |
getApplicationElementId(int column)
Get the application element id of the attribute of the request.
|
int |
getColumnCount()
Get the total number of columns.
|
int |
getIDColumn()
Get the column index of the first id.
|
int[][] |
getIndex()
Get the index array that reorganize the attribute order.
|
ElemId |
getInstanceElementId(int row)
Get the instance element id of the attribute of the request.
|
java.lang.String |
getName(int column)
Get the attribute name.
|
ResultSetExt |
getResultSet()
Get the result.
|
int |
getRowCount()
Get the total number of rows.
|
NameValueSeqUnitId |
getValues(int column)
Get the values.
|
public Result(ResultSetExt resultSet, int[][] index, int idColumn)
result
- the result set.index
- the index array. First index is the requested element index.
The first element of the second is the index of element and
the second the index of attribute in result.idColumn
- the column index of the first instance id.public NameValueSeqUnitId getValues(int column)
public T_LONGLONG getApplicationElementId(int column)
getApplicationElementId
in interface ResultIF
column
- the column index of the attribute of the request.public ElemId getInstanceElementId(int row)
getInstanceElementId
in interface ResultIF
row
- the row index of the attribute of the request.public java.lang.String getName(int column)
public int getColumnCount()
getColumnCount
in interface ResultIF
public int getRowCount()
getRowCount
in interface ResultIF
public int getIDColumn()
getIDColumn
in interface ResultIF
public ResultSetExt getResultSet()
getResultSet
in interface ResultIF