com.davisor.data
Interface Data

All Known Subinterfaces:
DataBuffer, DataSource, DataStream, DataValue, NumberValue, PaintValue, SerializableData, XMLDataStream
All Known Implementing Classes:
AnnotatedPaintValue, BooleanData, CalendarFieldData, CollectionDataSource, ColorData, EnumeratorDataStream, FontData, IndirectDataBuffer, IteratorDataStream, JoinedDataBuffer, JoinedDataStream, ListDataBuffer, PaintData, ProxyDataBuffer.ProxyDataStream, ResultSetDataStream, SimpleDataBuffer, SimpleNumberValue, StreamDataSource, TimestampData, TupleDataStream, VoidData, VoidValue

public interface Data

Data provides a base interface for parametrized data. A Data object represents data of some Type. All further data aspects and features, if any, are defined by Data sub-classes.

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

Method Summary
 Type getType()
          Gets the type of this data object.
 

Method Detail

getType

public Type getType()
             throws InvalidDataException
Gets the type of this data object.

Returns:
the type associated with this data object
Throws:
InvalidDataException - if type retrieval fails


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