org.axiondb.types
public class UnsignedByteType extends BaseNumberDataType
Version: $Revision: 1.10 $ $Date: 2005/05/10 00:15:20 $
| Constructor Summary | |
|---|---|
| UnsignedByteType() | |
| Method Summary | |
|---|---|
| boolean | accepts(Object value)
Returns true iff value is null,
a Number, within the unsigned byte range (0 to 255). |
| Object | convert(Object value)
Returns an Short 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.
|
true iff value is null,
a Number, within the unsigned byte range (0 to 255).acceptable.See Also: UnsignedByteType
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