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
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.
public String description
public String note
public Date due
public boolean complete
public int priority
public Record()
Create a todo-Record, filled with default-values.
See Also:
fill
public Record(byte[] contents,
RecordID id,
int index,
int attr,
int cat)
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
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
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
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