ValueEnumBase
Base implementation of the ENUM data type. Currently, this class is used primarily for client-server communication.
Methods
static ValueEnumBase
get
(String label, int ordinal)
Get or create an enum value with the given label and ordinal.
static ValueEnumBase
get
(String label, int ordinal)
Get or create an enum value with the given label and ordinal.
Parameters:
label - the label
ordinal - the ordinal
Returns:
the value
Value
add
(Value v)
Value
add
(Value v)
int
compareSecure
(Value v, CompareMode mode)
int
compareSecure
(Value v, CompareMode mode)
Value
divide
(Value v)
Value
divide
(Value v)
boolean
equals
(Object other)
boolean
equals
(Object other)
int
getDisplaySize
()
int
getDisplaySize
()
int
getInt
()
int
getInt
()
long
getLong
()
long
getLong
()
Object
getObject
()
Object
getObject
()
long
getPrecision
()
long
getPrecision
()
String
getSQL
()
String
getSQL
()
int
getSignum
()
int
getSignum
()
String
getString
()
String
getString
()
int
getType
()
int
getType
()
int
hashCode
()
int
hashCode
()
Value
modulus
(Value v)
Value
modulus
(Value v)
Value
multiply
(Value v)
Value
multiply
(Value v)
void
set
(PreparedStatement prep, int parameterIndex)
void
set
(PreparedStatement prep, int parameterIndex) throws SQLException
Value
subtract
(Value v)
Value
subtract
(Value v)