Method Summary |
|
public int | compareTo(BindVariable o) Compares this parameter data to another for ordering by the index of the parameter.
Parameters: o - other bookmark parameter data to be comparaed against. |
public String | getFormatOptions() Returns the formatting options to be applied to the user data. |
public int | getIndex() Gets the index of this parameter as part of the prepared statement.
This value will be a number of 1..n where n is total number of parameters for a bookmark. |
public int | getType() Get the SQL type that represents the intended data type for this parameter.
This should always be a value that is defined within the java.sql.Types interface. |
public String | getUserData() Gets the user data that represents the actual data to be bound to the prepared statement.
If there are formatting options those commands will be applied to this content to transform it to the target
data-type.
This value can be null if not specified. |
public void | setFormatOptions(String formatOptions) Sets the formatting options and commands for the user data. |
public void | setIndex(int index) Sets the parameter index for determining order for a prepared statement.
Parameters: index - order of the parameter binding. |
public void | setType(int type) Sets the SQL data-type for the parameter. |
public void | setUserData(String userData) Sets the user data to be bound to a prepared statement. |