org.axiondb.types
public class UnsignedShortType extends BaseNumberDataType
Version: $Revision: 1.11 $ $Date: 2005/05/02 22:29:40 $
Constructor Summary | |
---|---|
UnsignedShortType() |
Method Summary | |
---|---|
boolean | accepts(Object value) |
Object | convert(Object value)
Returns an Integer converted from the given value , or throws
IllegalArgumentExceptionif the given value isn't
acceptable . |
int | getColumnDisplaySize() |
int | getJdbcType() |
int | getPrecision() |
String | getPreferredValueClassName() |
boolean | isUnsigned() |
DataType | makeNewInstance() |
Object | read(DataInput in) |
Object | successor(Object value) |
String | toString() |
void | write(Object value, DataOutput out)
Writes the given value to the given DataOutput .
|
acceptable
.See Also: UnsignedShortType
DataOutput
.
Null
values are written as MIN_VALUE
,
false
.MIN_VALUE
values are written as
MIN_VALUE
,true
. All other values are written
directly.
Parameters: value the value to write, which must be acceptable