org.axiondb.types
public class ObjectType extends BaseDataType
Version: $Revision: 1.2 $ $Date: 2002/07/02 21:04:57 $
Constructor Summary | |
---|---|
ObjectType() |
Method Summary | |
---|---|
boolean | accepts(Object value)
Returns true iff value is null or a
Serializable.object |
Object | convert(Object value)
Returns a Stringconverted from the given value , or throws
IllegalArgumentExceptionif the given value isn't
acceptable . |
int | getColumnDisplaySize() |
int | getJdbcType() |
String | getPreferredValueClassName() |
DataType | makeNewInstance() |
Object | read(DataInput in) |
Object | successor(Object value) |
boolean | supportsSuccessor() |
String | toString()
Returns "string"
|
void | write(Object value, DataOutput out)
Writes the given value to the given DataOutput .
|
true
iff value is null
or a
Serializable.objectacceptable
.See Also: ObjectType
"string"
Returns: "string"
DataOutput
.
Null
values are written as "null", false
, the
non-null String "null"
is written as "null", true
,
all other values are written directly.
Parameters: value the value to write, which must be acceptable