|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Table
Name: Table
Description: A common interface for tables.
| Field Summary |
|---|
| Fields inherited from interface org.ujac.util.table.TableConstants |
|---|
DEFAULT_DATE_FORMAT, DEFAULT_DOUBLE_FORMAT, DEFAULT_INTEGER_FORMAT, DEFAULT_TIME_FORMAT, DEFAULT_TIMESTAMP_FORMAT, ROW_TYPE_FOOTER, ROW_TYPE_GROUP, ROW_TYPE_GROUP_TITLE, ROW_TYPE_HEADER, ROW_TYPE_NORMAL |
| Fields inherited from interface org.ujac.util.UjacTypes |
|---|
TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NAME_BOOLEAN, TYPE_NAME_DATE, TYPE_NAME_DOUBLE, TYPE_NAME_FLOAT, TYPE_NAME_INT, TYPE_NAME_LONG, TYPE_NAME_OBJECT, TYPE_NAME_SHORT, TYPE_NAME_STRING, TYPE_NAME_TABLE, TYPE_NAME_TIME, TYPE_NAME_TIMESTAMP, TYPE_OBJECT, TYPE_SHORT, TYPE_STRING, TYPE_TABLE, TYPE_TIME, TYPE_TIMESTAMP |
| Method Summary | |
|---|---|
Table |
addBoolean(String name,
boolean value)
Adds a column of type boolean to the table and sets its initial value at the first row. |
Column |
addColumn(String name,
int type)
Adds a column to the table |
Column |
addColumn(String name,
int type,
LayoutHints layoutHints)
Adds a column to the table |
Table |
addDate(String name,
Date value)
Adds a column of type Date to the table and sets its initial value at the first row. |
Table |
addDouble(String name,
double value)
Adds a column of type double to the table and sets its initial value at the first row. |
Table |
addFloat(String name,
float value)
Adds a column of type float to the table and sets its initial value at the first row. |
Table |
addInt(String name,
int value)
Adds a column of type int to the table and sets its initial value at the first row. |
Table |
addLong(String name,
long value)
Adds a column of type long to the table and sets its initial value at the first row. |
Row |
addRow()
Adds a row to the table |
Row |
addRow(Row srcRow)
Adds a row to the table |
Table |
addString(String name,
String value)
Adds a column of type String to the table and sets its initial value at the first row. |
Table |
addTime(String name,
Date value)
Adds a column of type Date to the table and sets its initial value at the first row. |
Table |
addTimestamp(String name,
Date value)
Adds a column of type Date to the table and sets its initial value at the first row. |
Table |
copyTable()
Copies the table. |
boolean |
getBoolean(int rowIdx,
int columnIdx)
Gets the boolean value from the given row. |
boolean |
getBoolean(int rowIdx,
String columnName)
Gets the boolean value from the given row. |
Column |
getColumn(int index)
Gets the column at the given index. |
Column |
getColumn(String name)
Gets the column with the given name. |
int |
getColumnCount()
Gets the current number of columns. |
int |
getColumnIndex(String name)
Gets the index of the given column name. |
Date |
getDate(int rowIdx,
int columnIdx)
Gets the Date value from the given row. |
Date |
getDate(int rowIdx,
String columnName)
Gets the Date value from the given row. |
Set |
getDistinctValues(int columnIdx)
Gets the distinct values of the specified column. |
Set |
getDistinctValues(String columnName)
Gets the distinct values of the specified column. |
double |
getDouble(int rowIdx,
int columnIdx)
Gets the double value from the given row. |
double |
getDouble(int rowIdx,
String columnName)
Gets the double value from the given row. |
float |
getFloat(int rowIdx,
int columnIdx)
Gets the float value from the given row. |
float |
getFloat(int rowIdx,
String columnName)
Gets the float value from the given row. |
FormatHelper |
getFormatHelper()
Getter method for the the property formatHelper. |
Row |
getHeaderRow()
Gets the header row. |
int |
getInt(int rowIdx,
int columnIdx)
Gets the integer value from the given row. |
int |
getInt(int rowIdx,
String columnName)
Gets the integer value from the given row. |
long |
getLong(int rowIdx,
int columnIdx)
Gets the long value from the given row. |
long |
getLong(int rowIdx,
String columnName)
Gets the long value from the given row. |
Object |
getObject(int rowIdx,
int columnIdx)
Gets the Object value from the given row at the given column. |
Object |
getObject(int rowIdx,
String columnName)
Gets the Object value from the given row at the given column. |
Row |
getRow(int rowIdx)
Gets a row from the table |
int |
getRowCount()
Gets the current number of rows. |
String |
getString(int rowIdx,
int columnIdx)
Gets the String value from the given row at the given column. |
String |
getString(int rowIdx,
String columnName)
Gets the String value from the given row at the given column. |
Date |
getTime(int rowIdx,
int columnIdx)
Gets the Time value from the given row. |
Date |
getTime(int rowIdx,
String columnName)
Gets the Date value from the given row. |
Date |
getTimestamp(int rowIdx,
int columnIdx)
Gets the Timestamp value from the given row. |
Date |
getTimestamp(int rowIdx,
String columnName)
Gets the Timestamp value from the given row. |
TypeConverter |
getTypeConverter()
Getter method for the the property typeConverter. |
Column[] |
getVisibleColumns()
Gets all visible columns. |
Column[] |
getVisibleColumns(int levelFilter)
Gets all visible columns. |
boolean |
isEmpty()
Checks if the table is empty. |
Iterator |
iterator()
Returns an iterator over the rows in this table in proper sequence. |
void |
orderColumns(String[] columnNames)
Orders the sequence of report columns according to the list of given column names. |
void |
removeRow(int rowIdx)
Removes a row from the table |
void |
renameColumn(Column column,
String name)
Renames a column. |
void |
setBoolean(int rowIdx,
int columnIdx,
boolean value)
Sets the boolean value at the given row. |
void |
setBoolean(int rowIdx,
String columnName,
boolean value)
Sets the boolean value at the given row. |
void |
setColumnType(int columnIdx,
int typeId)
Changes the type of the given column. |
void |
setColumnType(String columnName,
int typeId)
Changes the type of the given column. |
void |
setDate(int rowIdx,
int columnIdx,
Date value)
Sets the Date value at the given row. |
void |
setDate(int rowIdx,
String columnName,
Date value)
Sets the Time value at the given row. |
void |
setDouble(int rowIdx,
int columnIdx,
double value)
Sets the double value at the given row. |
void |
setDouble(int rowIdx,
String columnName,
double value)
Sets the double value at the given row. |
void |
setFloat(int rowIdx,
int columnIdx,
float value)
Sets the float value at the given row. |
void |
setFloat(int rowIdx,
String columnName,
float value)
Sets the float value at the given row. |
void |
setFormatHelper(FormatHelper formatHelper)
Setter method for the the property formatHelper. |
void |
setInt(int rowIdx,
int columnIdx,
int value)
Sets the integer value at the given row. |
void |
setInt(int rowIdx,
String columnName,
int value)
Sets the integer value at the given row. |
void |
setLong(int rowIdx,
int columnIdx,
long value)
Sets the long value at the given row. |
void |
setLong(int rowIdx,
String columnName,
long value)
Sets the integer value at the given row. |
void |
setObject(int rowIdx,
int columnIdx,
Object value)
Sets the Object value at the given row. |
void |
setObject(int rowIdx,
String columnName,
Object value)
Sets the Object value at the given row. |
void |
setString(int rowIdx,
int columnIdx,
String value)
Sets the String value at the given row. |
void |
setString(int rowIdx,
String columnName,
String value)
Sets the String value at the given row. |
void |
setTime(int rowIdx,
int columnIdx,
Date value)
Sets the Date value at the given row. |
void |
setTime(int rowIdx,
String columnName,
Date value)
Sets the Time value at the given row. |
void |
setTimestamp(int rowIdx,
int columnIdx,
Date value)
Sets the Timestamp value at the given row. |
void |
setTimestamp(int rowIdx,
String columnName,
Date value)
Sets the Timestamp value at the given row. |
void |
setTypeConverter(TypeConverter typeConverter)
Setter method for the the property typeConverter. |
void |
sort(CompareItem[] compareColumns)
Sorts the table according to the given compare item definitions. |
void |
sort(int columnIdx,
int direction)
Sorts the table according to the given column and direction. |
| Method Detail |
|---|
FormatHelper getFormatHelper()
void setFormatHelper(FormatHelper formatHelper)
formatHelper - The value to set for the property formatHelper.TypeConverter getTypeConverter()
void setTypeConverter(TypeConverter typeConverter)
typeConverter - The value to set for the property typeConverter.int getColumnCount()
Column getColumn(int index)
throws ColumnNotDefinedException
index - The column index.
ColumnNotDefinedException - If the column does not exist.
Column getColumn(String name)
throws ColumnNotDefinedException
name - The column name.
ColumnNotDefinedException - If the column does not exist.
int getColumnIndex(String name)
throws ColumnNotDefinedException
name - The column name
ColumnNotDefinedException - If the column does not exist.
void renameColumn(Column column,
String name)
throws ColumnAlreadyDefinedException
column - The column to rename.name - The column name to set.
ColumnAlreadyDefinedException - In case a column with that name already exists.
void orderColumns(String[] columnNames)
throws ColumnNotDefinedException,
ColumnAlreadyDefinedException
columnNames - The list of column names after which to order the columns.
ColumnNotDefinedException - In case a column from the given order list
does not exist.
ColumnAlreadyDefinedException - In case a column was defined more than
once at the given order list.Column[] getVisibleColumns()
Column[] getVisibleColumns(int levelFilter)
levelFilter - The maximum level of importance to support.
Row getHeaderRow()
Iterator iterator()
Column addColumn(String name,
int type)
throws ColumnAlreadyDefinedException,
OperationNotSupportedException
name - The column name.type - The column type.
ColumnAlreadyDefinedException - In case the column was already defined.
OperationNotSupportedException - In case the operation is not supported.
Column addColumn(String name,
int type,
LayoutHints layoutHints)
throws ColumnAlreadyDefinedException,
OperationNotSupportedException
name - The column name.type - The column type.layoutHints - The layout hints for the column.
ColumnAlreadyDefinedException - In case the column was already defined.
OperationNotSupportedException - In case the operation is not supported.
Table addString(String name,
String value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.
Table addInt(String name,
int value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.
Table addLong(String name,
long value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.
Table addFloat(String name,
float value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.
Table addDouble(String name,
double value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.
Table addBoolean(String name,
boolean value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.
Table addDate(String name,
Date value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.
Table addTime(String name,
Date value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.
Table addTimestamp(String name,
Date value)
throws TableException
name - The column name.value - The initial value at the first row.
TableException - If an error occured.boolean isEmpty()
int getRowCount()
throws OperationNotSupportedException
OperationNotSupportedException - In case the operation is not supported.
Row addRow()
throws OperationNotSupportedException
OperationNotSupportedException - In case the operation is not supported.
Row addRow(Row srcRow)
throws OperationNotSupportedException
srcRow - The row to copy.
OperationNotSupportedException - In case the operation is not supported.
Row getRow(int rowIdx)
throws RowNotDefinedException,
OperationNotSupportedException
rowIdx - The index of the desired row.
RowNotDefinedException - In case the requested row does not exist.
OperationNotSupportedException - In case the operation is not supported.
void removeRow(int rowIdx)
throws RowNotDefinedException,
OperationNotSupportedException
rowIdx - The index of the row to remove.
RowNotDefinedException - In case the requested row does not exist.
OperationNotSupportedException - In case the operation is not supported.
String getString(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the String conversion failed.
String getString(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the String conversion failed.
void setString(int rowIdx,
int columnIdx,
String value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the String conversion failed.
void setString(int rowIdx,
String columnName,
String value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the String conversion failed.
int getInt(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the int conversion failed.
int getInt(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the int conversion failed.
void setInt(int rowIdx,
int columnIdx,
int value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the int conversion failed.
void setInt(int rowIdx,
String columnName,
int value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the int conversion failed.
long getLong(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the long conversion failed.
long getLong(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the long conversion failed.
void setLong(int rowIdx,
int columnIdx,
long value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the long conversion failed.
void setLong(int rowIdx,
String columnName,
long value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the long conversion failed.
float getFloat(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the float conversion failed.
float getFloat(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the float conversion failed.
void setFloat(int rowIdx,
int columnIdx,
float value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the float conversion failed.
void setFloat(int rowIdx,
String columnName,
float value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the float conversion failed.
double getDouble(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the double conversion failed.
double getDouble(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the double conversion failed.
void setDouble(int rowIdx,
int columnIdx,
double value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the double conversion failed.
void setDouble(int rowIdx,
String columnName,
double value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the double conversion failed.
boolean getBoolean(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the boolean conversion failed.
boolean getBoolean(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the boolean conversion failed.
void setBoolean(int rowIdx,
int columnIdx,
boolean value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the boolean conversion failed.
void setBoolean(int rowIdx,
String columnName,
boolean value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the boolean conversion failed.
Date getDate(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the date conversion failed.
Date getDate(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the date conversion failed.
void setDate(int rowIdx,
int columnIdx,
Date value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the date conversion failed.
void setDate(int rowIdx,
String columnName,
Date value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the date conversion failed.
Date getTime(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the date conversion failed.
Date getTime(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the time conversion failed.
void setTime(int rowIdx,
int columnIdx,
Date value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the time conversion failed.
void setTime(int rowIdx,
String columnName,
Date value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the time conversion failed.
Date getTimestamp(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the timestamp conversion failed.
Date getTimestamp(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the timestamp conversion failed.
void setTimestamp(int rowIdx,
int columnIdx,
Date value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the timestamp conversion failed.
void setTimestamp(int rowIdx,
String columnName,
Date value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the timestamp conversion failed.
Object getObject(int rowIdx,
int columnIdx)
throws RowNotDefinedException,
ColumnNotDefinedException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
Object getObject(int rowIdx,
String columnName)
throws RowNotDefinedException,
ColumnNotDefinedException
rowIdx - The index of the desired row.columnName - The index of the desired column.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
void setObject(int rowIdx,
int columnIdx,
Object value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnIdx - The index of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the object conversion failed.
void setObject(int rowIdx,
String columnName,
Object value)
throws RowNotDefinedException,
ColumnNotDefinedException,
TypeMismatchException
rowIdx - The index of the desired row.columnName - The name of the desired column.value - The new value.
RowNotDefinedException - In case the requested row does not exist.
ColumnNotDefinedException - In case the requested column does not exist.
TypeMismatchException - In case the object conversion failed.
void sort(CompareItem[] compareColumns)
throws OperationNotSupportedException
compareColumns - The column definition for the sort process.
OperationNotSupportedException - In case the operation is not supported.
void sort(int columnIdx,
int direction)
throws OperationNotSupportedException
columnIdx - The column to sort by.direction - The sort directon.
OperationNotSupportedException - In case the operation is not supported.
void setColumnType(int columnIdx,
int typeId)
throws ColumnNotDefinedException,
TypeConverterException
columnIdx - The index of the column which has been changed.typeId - The new column type ID.
ColumnNotDefinedException - In case the desired column does not exist.
TypeConverterException - In case the object conversion failed.
void setColumnType(String columnName,
int typeId)
throws ColumnNotDefinedException,
TypeConverterException
columnName - The name of the column which has been changed.typeId - The new column type ID.
ColumnNotDefinedException - In case the desired column does not exist.
TypeConverterException - In case the object conversion failed.
Table copyTable()
throws TableException
TableException - In case an unexpected failure occurred.
Set getDistinctValues(int columnIdx)
throws TableException
columnIdx - The index of the desired column.
TableException - In case an unexpected failure occurred.
Set getDistinctValues(String columnName)
throws TableException
columnName - The name of the desired column.
TableException - In case an unexpected failure occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||