Value Class

Used to represent a value for a given field in the database. The value can be converted into a number of Java primatives (strings, integers, doubles, booleans, etc).

Constructors

public Value( Object value )

Methods

toArray( ) returns Object
If the value is a java.sql.Array, returns the output from the java.sql.Array.getArray() method. Returns a null if there was a problem converting the value to a java.sql.Array or if the value is null.
toString( ) returns String
Returns the value as a String. Returns a null if there was a problem converting the value to a String or if the value is null.
toTimeStamp( ) returns java.sql.Timestamp
Returns the value as a java.sql.Timestamp. Returns a null if there was a problem converting the value to a Timestamp or if the value is null.