Inherits com.dbSpaces.jdb.Base.
Public Member Functions | |
int | getOrdinalPosition () |
Date | getDate () throws DatabaseException |
Date | getDate (int index) throws DatabaseException |
int | getDefinitionNumber () |
String | getDescription () |
double | getDouble () throws DatabaseException |
double | getDouble (int index) throws DatabaseException |
float | getFloat () throws DatabaseException |
float | getFloat (int index) throws DatabaseException |
String | getFormat () |
int | getInt () throws DatabaseException |
int | getInt (int index) throws DatabaseException |
String | getName () |
int | getNativeStorageClass () |
int | getNativeStorageSize () |
String | getNativeTypeName () |
int | getNumberMultiValues () |
int | getPrecision () |
int | getScale () |
byte | getStorageClass () |
int | getStorageSize () |
Time | getTime () throws DatabaseException |
Time | getTime (int index) throws DatabaseException |
Timestamp | getTimestamp () throws DatabaseException |
Timestamp | getTimestamp (int index) throws DatabaseException |
byte | getTiny () throws DatabaseException |
byte | getTiny (int index) throws DatabaseException |
short | getShort () throws DatabaseException |
short | getShort (int index) throws DatabaseException |
String | getString () throws DatabaseException |
String | getString (int index) throws DatabaseException |
boolean | isDecimalImplied () |
boolean | isNullable () |
boolean | isRedefine () |
boolean | isSigned () |
void | setDate (Date value) throws DatabaseException |
void | setDate (int index, Date value) throws DatabaseException |
void | setDouble (double value) throws DatabaseException |
void | setDouble (int index, double value) throws DatabaseException |
void | setFloat (float value) throws DatabaseException |
void | setFloat (int index, float value) throws DatabaseException |
void | setInt (int value) throws DatabaseException |
void | setInt (int index, int value) throws DatabaseException |
void | setShort (short value) throws DatabaseException |
void | setShort (int index, short value) throws DatabaseException |
void | setString (String value) throws DatabaseException |
void | setString (int index, String value) throws DatabaseException |
void | setTime (Time value) throws DatabaseException |
void | setTime (int index, Time value) throws DatabaseException |
void | setTimestamp (Timestamp value) throws DatabaseException |
void | setTimestamp (int index, Timestamp value) throws DatabaseException |
void | setTiny (byte value) throws DatabaseException |
void | setTiny (int index, byte value) throws DatabaseException |
Protected Member Functions | |
int | getOffset () |
The NavigationColumn class contains information about a table's column. It also provides get and set methods for accessing the column's data.
A DatabaseException will be thrown if a database error occurs and exceptions are enabled. If exceptions are not enabled the following error methods can be used to get information about the error;
Date com.dbSpaces.jdb.NavigationColumn.getDate | ( | ) | throws DatabaseException |
Get the Date value for a column that is defined as a Date data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
Date com.dbSpaces.jdb.NavigationColumn.getDate | ( | int | index | ) | throws DatabaseException |
Get the Date value for a column that is defined as an array of Date's.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.NavigationColumn.getDefinitionNumber | ( | ) |
Get the definition number the column belongs too. A table can have multiple column definitions which represent multiple record (or row) layouts. COBOL is an example of a data source that have multiple record layouts (definitions).
String com.dbSpaces.jdb.NavigationColumn.getDescription | ( | ) |
Get the column description.
double com.dbSpaces.jdb.NavigationColumn.getDouble | ( | ) | throws DatabaseException |
Get the double value for a column that is defined as a double data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
double com.dbSpaces.jdb.NavigationColumn.getDouble | ( | int | index | ) | throws DatabaseException |
Get the double value for a column that is defined as an array of double's.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
float com.dbSpaces.jdb.NavigationColumn.getFloat | ( | ) | throws DatabaseException |
Get the float value for a column that is defined as a float data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
float com.dbSpaces.jdb.NavigationColumn.getFloat | ( | int | index | ) | throws DatabaseException |
Get the float value for a column that is defined as an array of float's.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.NavigationColumn.getFormat | ( | ) |
Get the data type display format for the column.
int com.dbSpaces.jdb.NavigationColumn.getInt | ( | ) | throws DatabaseException |
Get the int value for a column that is defined as an int data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.NavigationColumn.getInt | ( | int | index | ) | throws DatabaseException |
Get the int value for a column that is defined as an array of int's.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.NavigationColumn.getName | ( | ) |
Get the column name.
int com.dbSpaces.jdb.NavigationColumn.getNativeStorageClass | ( | ) |
Get the data source native storage class for the column data type.
int com.dbSpaces.jdb.NavigationColumn.getNativeStorageSize | ( | ) |
Get the data source native storage size for the column data type.
String com.dbSpaces.jdb.NavigationColumn.getNativeTypeName | ( | ) |
Get the native data source type name for the column data type.
int com.dbSpaces.jdb.NavigationColumn.getNumberMultiValues | ( | ) |
Get the number of multi-values for the column data type. Arrays are treated as a column of multi-values.
|
protected |
Get the column offset in the table row buffer.
int com.dbSpaces.jdb.NavigationColumn.getOrdinalPosition | ( | ) |
Get the column position in the table.
int com.dbSpaces.jdb.NavigationColumn.getPrecision | ( | ) |
Get the column precision. Precision is the number of digits in a number.
int com.dbSpaces.jdb.NavigationColumn.getScale | ( | ) |
Get the column scale. Scale is the number of digits to the right of the decimal point in a number.
short com.dbSpaces.jdb.NavigationColumn.getShort | ( | ) | throws DatabaseException |
Get the short value for a column that is defined as a short data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
short com.dbSpaces.jdb.NavigationColumn.getShort | ( | int | index | ) | throws DatabaseException |
Get the short value for a column that is defined as an array of short's.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
byte com.dbSpaces.jdb.NavigationColumn.getStorageClass | ( | ) |
Get the storage class ID for the column.
int com.dbSpaces.jdb.NavigationColumn.getStorageSize | ( | ) |
Get the storage size (in bytes) for the column.
String com.dbSpaces.jdb.NavigationColumn.getString | ( | ) | throws DatabaseException |
Get the String value for a column that is defined as a String data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.NavigationColumn.getString | ( | int | index | ) | throws DatabaseException |
Get the String value for a column that is defined as an array of string's.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
Time com.dbSpaces.jdb.NavigationColumn.getTime | ( | ) | throws DatabaseException |
Get the Time value for a column that is defined as a Time data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
Time com.dbSpaces.jdb.NavigationColumn.getTime | ( | int | index | ) | throws DatabaseException |
Get the Time value for a column that is defined as an array of Time's.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
Timestamp com.dbSpaces.jdb.NavigationColumn.getTimestamp | ( | ) | throws DatabaseException |
Get the Timestamp value for a column that is defined as a Timestamp data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
Timestamp com.dbSpaces.jdb.NavigationColumn.getTimestamp | ( | int | index | ) | throws DatabaseException |
Get the Timestamp value for a column that is defined as an array of Timestamp's.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
byte com.dbSpaces.jdb.NavigationColumn.getTiny | ( | ) | throws DatabaseException |
Get the tiny value for a column that is defined as an tiny data type.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
byte com.dbSpaces.jdb.NavigationColumn.getTiny | ( | int | index | ) | throws DatabaseException |
Get the tiny value for a column that is defined as an array of tinys.
index | The multi-value index starting from 1. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
boolean com.dbSpaces.jdb.NavigationColumn.isDecimalImplied | ( | ) |
Check if the column decimal point is implied. If the decimal point is implied use Scale to determine the decimal point position. true
the decimal point implied; false
if otherwise.
boolean com.dbSpaces.jdb.NavigationColumn.isNullable | ( | ) |
Is the column is nullable? true
the column is nullable; false
if otherwise.
boolean com.dbSpaces.jdb.NavigationColumn.isRedefine | ( | ) |
Does this column redefine another column? true
the column redefines another column; false
if otherwise.
boolean com.dbSpaces.jdb.NavigationColumn.isSigned | ( | ) |
Is the column data type signed? true
the storage class for the column is signed; false
if otherwise.
void com.dbSpaces.jdb.NavigationColumn.setDate | ( | Date | value | ) | throws DatabaseException |
Set the Date value for a column that is defined as a Date data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setDate | ( | int | index, |
Date | value | ||
) | throws DatabaseException |
Set the Date value for a column that is defined as an array of Date's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setDouble | ( | double | value | ) | throws DatabaseException |
Set the double value for a column that is defined as a double data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setDouble | ( | int | index, |
double | value | ||
) | throws DatabaseException |
Set the double value for a column that is defined as an array of double's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setFloat | ( | float | value | ) | throws DatabaseException |
Set the float value for a column that is defined as a float data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setFloat | ( | int | index, |
float | value | ||
) | throws DatabaseException |
Set the float value for a column that is defined as an array of float's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setInt | ( | int | index, |
int | value | ||
) | throws DatabaseException |
Set the int value for a column that is defined as an array of int's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setInt | ( | int | value | ) | throws DatabaseException |
Set the int value for a column that is defined as a int data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setShort | ( | int | index, |
short | value | ||
) | throws DatabaseException |
Set the short value for a column that is defined as an array of short's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setShort | ( | short | value | ) | throws DatabaseException |
Set the short value for a column that is defined as a short data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setString | ( | int | index, |
String | value | ||
) | throws DatabaseException |
Set the string value for a column that is defined as an array of string's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setString | ( | String | value | ) | throws DatabaseException |
Set the string value for a column that is defined as a string data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setTime | ( | int | index, |
Time | value | ||
) | throws DatabaseException |
Set the Time value for a column that is defined as an array of Time's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setTime | ( | Time | value | ) | throws DatabaseException |
Set the Time value for a column that is defined as a Time data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setTimestamp | ( | int | index, |
Timestamp | value | ||
) | throws DatabaseException |
Set the Timestamp value for a column that is defined as an array of Timestamp's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setTimestamp | ( | Timestamp | value | ) | throws DatabaseException |
Set the Timestamp value for a column that is defined as a Timestamp data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setTiny | ( | byte | value | ) | throws DatabaseException |
Set the tiny value for a column that is defined as a tiny data type.
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
void com.dbSpaces.jdb.NavigationColumn.setTiny | ( | int | index, |
byte | value | ||
) | throws DatabaseException |
Set the tiny value for a column that is defined as an array of tiny's.
index | The multi-value index starting from 1. |
value | The value to set the column to. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |