ValueBoolean
Implementation of the BOOLEAN data type.
Methods
static ValueBoolean
get
(boolean b)
Get the boolean value for the given boolean.
static ValueBoolean
get
(boolean b)
Get the boolean value for the given boolean.
Parameters:
b - the boolean
Returns:
the value
int
compareSecure
(Value o, CompareMode mode)
int
compareSecure
(Value o, CompareMode mode)
boolean
equals
(Object other)
boolean
equals
(Object other)
boolean
getBoolean
()
boolean
getBoolean
()
int
getDisplaySize
()
int
getDisplaySize
()
Object
getObject
()
Object
getObject
()
long
getPrecision
()
long
getPrecision
()
String
getSQL
()
String
getSQL
()
String
getString
()
String
getString
()
int
getType
()
int
getType
()
int
hashCode
()
int
hashCode
()
Value
negate
()
Value
negate
()
void
set
(PreparedStatement prep, int parameterIndex)
void
set
(PreparedStatement prep, int parameterIndex) throws SQLException
Fields
static int
DISPLAY_SIZE
= 5
static ValueBoolean
FALSE
static int
PRECISION
= 1
static ValueBoolean
TRUE
PRECISION = 1
The precision in digits.
DISPLAY_SIZE = 5
The maximum display size of a boolean. Example: FALSE
FALSE
FALSE value.
TRUE
TRUE value.