All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

public class  Record
     extends com.syncbuilder.storage.Record
{
          // Fields 5
     public boolean complete;
     public String description;
     public Date due;
     public String note;
     public int priority;

          // Constructors 2
     public Record();
     public Record(byte[], RecordID, int, int, int);

          // Methods 4
     public String describe();
     public void fill();
     public byte[] pack();
     public void unpack(byte[]) throws IllegalArgumentException;
}

A representation of a todo database record.




  Fields

· description

Summary  |  Top

   public String description


· note

Summary  |  Top
   public String note


· due

Summary  |  Top
   public Date due


· complete

Summary  |  Top
   public boolean complete


· priority

Summary  |  Top
   public int priority


  Constructors

· Record

Summary  |  Top

   public Record() 

Create a todo-Record, filled with default-values.

See Also: fill



· Record

Summary  |  Top
   public Record(byte[] contents, 
                 RecordID id, 
                 int index, 
                 int attr, 
                 int cat) 


  Methods

· unpack

Summary  |  Top
   public void unpack(byte[] data)  throws IllegalArgumentException

Turn the native format of a to-do-record into proper settings for this object's attributes.

Parameter Description
data the array of bytes in native format

Overrides:
unpack in class Block


· pack

Summary  |  Top
   public byte[] pack() 

Turn the settings of the Record's attributes into the native format of the PalmPilot's To-Do-application.

Overrides:
pack in class Block


· fill

Summary  |  Top
   public void fill() 

Fill the Record with default-values.
Empty description, priority 1, no due-date, not completed, no note

Overrides:
fill in class Record


· describe

Summary  |  Top
   public String describe() 
Overrides:
describe in class Record


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7