com.davisor.data
Interface SerializableData

All Superinterfaces:
Data, com.davisor.core.Dupable, java.io.Serializable
All Known Subinterfaces:
DataValue, NumberValue, PaintValue
All Known Implementing Classes:
AnnotatedPaintValue, BooleanData, CalendarFieldData, ColorData, FontData, PaintData, SimpleNumberValue, TimestampData, VoidValue

public interface SerializableData
extends Data, com.davisor.core.Dupable, java.io.Serializable

SerializableData represents a data instance that has some serializable, dupable byte stream representation.

Please see DataValue that defines a more elaborate interface for manipulating data values.

Since:
JDK1.1
See Also:
Data.getType(), isNull(), DataValue, Type

Method Summary
 boolean isNull()
          Tests if this data object value is undetermined.
 
Methods inherited from interface com.davisor.data.Data
getType
 
Methods inherited from interface com.davisor.core.Dupable
dup
 

Method Detail

isNull

public boolean isNull()
Tests if this data object value is undetermined. If so, this data object has no value at the moment, but if it had, it would be of the type returned by Data.getType().

A data object with an undetermined value resembles standard Double.NaN and Float.NaN values, that tell the value has a wellknown type, but unknown value.

The precense of data objects that are not themselves null but that may have null values have far reaching effects in many operations. In particular, comparing such objects against each other becomes more challenging. However, null objects of spesific type are also usefull in many places, so the tradeoff is still worth doing.

See Also:
Type.isNull(com.davisor.data.SerializableData)


Copyright © 2001-2004 Davisor Oy. All Rights Reserved.