All Packages This Package Class Hierarchy Class Search Index
Class com.syncbuilder.storage.appointment.Record
java.lang.Object
|
+----com.syncbuilder.storage.Block
|
+----com.syncbuilder.storage.Record
|
+----com.syncbuilder.storage.appointment.Record
public class Record
extends com.syncbuilder.storage.Record
{
// Fields 14
public int advance;
public time advanceUnits;
public boolean alarm;
public Date begin;
public String description;
public Date end;
public Date[] exceptions;
public String note;
public int repeatDay;
public Date repeatEnd;
public int repeatFrequency;
public repeat repeatType;
public int repeatWeekStart;
public boolean[] repeatWeekdays;
// Constructors 2
public Record();
public Record(byte[], RecordID, int, int, int);
// Methods 5
public String describe();
public boolean equals(Object);
public void fill();
public byte[] pack();
public void unpack(byte[]);
}
A representation of a datebook database record.
public String description
The description of the appointment. Is never null
public String note
An extra note for this appointment. Is null if there is no note
public Date begin
public Date end
public boolean alarm
public int advance
public time advanceUnits
public repeat repeatType
public Date repeatEnd
public int repeatFrequency
public boolean[] repeatWeekdays
public int repeatDay
public int repeatWeekStart
public Date[] exceptions
public Record()
Create an appointment 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)
Turn the native format of a datebook-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 Datebook-application.
- Overrides:
- pack in class Block
public void fill()
Fill in the Record for a single appointment at the current date and time, with no description.
- Overrides:
- fill in class Record
public String describe()
- Overrides:
- describe in class Record
public boolean equals(Object obj)
Check two Records for equality. This is mostly for testing purposes.
- Overrides:
- equals 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