com.syncbuilder.storage.generic
Class Record

java.lang.Object
  |
  +--com.syncbuilder.storage.Block
        |
        +--com.syncbuilder.storage.Record
              |
              +--com.syncbuilder.storage.generic.Record

public class Record
extends Record

The generic representation of a database-record. This class contains no functionality to help you treat the record in an application specific way. You can only manipulate the attributes and the raw content.

See Also:
Serialized Form

Fields inherited from class com.syncbuilder.storage.Record
archived, ARCHIVED, busy, BUSY, category, CATEGORY_MASK, deleted, DELETED, id, index, modified, MODIFIED, secret, SECRET
 
Fields inherited from class com.syncbuilder.storage.Block
raw
 
Constructor Summary
Record()
          Construct a record with no content and all flags set to false.
Record(byte[] contents, RecordID id, int index, int attr, int category)
          Construct a record with the specified properties.
 
Methods inherited from class com.syncbuilder.storage.Record
describe, describe, equals, fill, getCategory, getFlags, getID, getIndex, hasID, isArchived, isBusy, isDeleted, isModified, isSecret, setArchived, setBusy, setCategory, setDeleted, setFlags, setID, setIndex, setModified, setSecret
 
Methods inherited from class com.syncbuilder.storage.Block
pack, toString, unpack
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Record

public Record()
Construct a record with no content and all flags set to false.

Record

public Record(byte[] contents,
              RecordID id,
              int index,
              int attr,
              int category)
Construct a record with the specified properties.


This material is Copyrighted (C) 1999 by Tilo Christ. All Rights Reserved.