net.sourceforge.jpalm.palmdb
Interface Record

All Known Implementing Classes:
AbstractRecord, DataRecord, FieldDefinitionsRecord, FieldDisplaySizesRecord, FieldLabelsRecord, FilteredDataRecord, PreferencesRecord, RecordImpl

public interface Record

A record in a Palm database.


Method Summary
 void deserialize(byte[] data)
          Populates this record's properties from a byte array.
 RecordHeader getHeader()
          Gets the header for this record.
 byte[] serialize()
          Creates a byte array representation of this record.
 void setHeader(RecordHeader header)
          Sets the header for this record.
 

Method Detail

getHeader

RecordHeader getHeader()
Gets the header for this record.

Returns:
the header
See Also:
RecordHeader

setHeader

void setHeader(RecordHeader header)
Sets the header for this record.

Parameters:
header - the header
See Also:
RecordHeader

deserialize

void deserialize(byte[] data)
Populates this record's properties from a byte array. This should not contain the record header.


serialize

byte[] serialize()
Creates a byte array representation of this record. This should not contain the record header.

Returns:
the byte array