|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A RowMetaData object can be used to find out information about the columns of a RowData object.
Method Summary | |
int |
getColumnCount()
Returns the number of columns. |
int |
getColumnDisplaySize(int columnIndex)
Returns the display size in characters of the column specified by columnIndex. |
java.lang.String |
getColumnLabel(int columnIndex)
Returns the label of the column specified by columnIndex. |
java.lang.String |
getColumnName(int columnIndex)
Returns the name of the column specified by columnIndex. |
int |
getColumnType(int columnIndex)
Returns the data type of the column specified by columnIndex. |
java.lang.String |
getColumnTypeName(int columnIndex)
Returns the data type name of the column specified by columnIndex. |
int |
getPrecision(int columnIndex)
Returns the precision of the column specified by columnIndex. |
int |
getScale(int columnIndex)
Returns the scale of the column specified by columnIndex. |
boolean |
isNumericData(int columnIndex)
Indicates if the column specified by columnIndex contains numeric data. |
boolean |
isTextData(int columnIndex)
Indicates if the column specified by columnIndex contains text data. |
void |
setColumnLabel(int columnIndex,
java.lang.String label)
Sets the specified label for the column specified by columnIndex. |
Method Detail |
public int getColumnCount() throws RowDataException
RowDataException
- If a row data error occurred.public int getColumnDisplaySize(int columnIndex) throws RowDataException
columnIndex
- The column index (0-based).RowDataException
- If a row data error occurred.public java.lang.String getColumnLabel(int columnIndex) throws RowDataException
columnIndex
- The column index(0-based).RowDataException
- If a row data error occurred.public java.lang.String getColumnName(int columnIndex) throws RowDataException
columnIndex
- The column index(0-based).RowDataException
- If a row data error occurred.public int getColumnType(int columnIndex) throws RowDataException
columnIndex
- The column index (0-based).RowDataException
- If a row data error occurred.public java.lang.String getColumnTypeName(int columnIndex) throws RowDataException
columnIndex
- The column index (0-based).RowDataException
- If a row data error occurred.public int getPrecision(int columnIndex) throws RowDataException
columnIndex
- The column index (0-based).RowDataException
- If a row data error occurred.public int getScale(int columnIndex) throws RowDataException
columnIndex
- The column index (0-based).RowDataException
- If a row data error occurred.public boolean isNumericData(int columnIndex) throws RowDataException
columnIndex
- The column index (0-based).RowDataException
- If a row data error occurred.public boolean isTextData(int columnIndex) throws RowDataException
columnIndex
- The column index (0-based).RowDataException
- If a row data error occurred.public void setColumnLabel(int columnIndex, java.lang.String label) throws RowDataException
columnIndex
- The column index (0-based).label
- The label.RowDataException
- If a row data error occurred.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |