|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jSyncManager.API.Protocol.Util.DLPRecord | +--org.jSyncManager.API.Protocol.Util.StdApps.ToDoListRecord
This class represents a ToDoList record.
Field Summary | |
---|---|
protected static java.util.ResourceBundle |
rb
|
Fields inherited from class org.jSyncManager.API.Protocol.Util.DLPRecord |
---|
ARCHIVED, attributes, BUSY, category, data, DATA_INCLUDED, DELETE_ALL_IN_CATEGORY, DELETE_ALL_RECORDS, DELETED, DIRTY, index, inputData, recordID, recordSize, SECRET, SORT_DATABASE |
Constructor Summary | |
---|---|
ToDoListRecord()
ToDoListRecord default constructor. |
|
ToDoListRecord(DLPRecord record)
Construct a new ToDoList record using the specified DLPRecord object. |
Method Summary | |
---|---|
protected void |
generateData()
Generate the raw data block from the existing fields. |
java.lang.String |
getDescription()
Get the description of this ToDoListRecord. |
java.util.Calendar |
getDueDate()
Get the Calendar value of the DueDate field. |
java.lang.String |
getNote()
Get the associated note field of this record. |
byte |
getPriority()
Get the Priority byte value for this record. |
boolean |
hasDueDate()
Get a boolean value denoting whether this record has a due date. |
boolean |
isCompleted()
Get a boolean value denoting whether this ToDoList record item is completed. |
void |
noDueDate()
Set the duedate flag to show no due date for this record. |
protected void |
parseFields()
Parse the data fields. |
void |
setCompletionState(boolean flag)
Set the boolean flag to denote this records completion state. |
void |
setDescription(java.lang.String s)
Set the description field for this record. |
void |
setDueDate(java.util.Calendar calendar)
Set the due date value from a Calendar object, |
void |
setNote(java.lang.String s)
Set the associated note for this record. |
void |
setPriority(char c)
Set the priority field of this record. |
java.lang.String |
toString()
Return a human-readable String representation of this record. |
Methods inherited from class org.jSyncManager.API.Protocol.Util.DLPRecord |
---|
checkAttribute, getAttributes, getCategory, getData, getIndex, getRecordID, getRecordSize, setAttributes, setCategory, setData, setIndex, setRecordID, setRecordSize |
Methods inherited from class java.lang.Object |
---|
|
Field Detail |
protected static java.util.ResourceBundle rb
Constructor Detail |
public ToDoListRecord()
public ToDoListRecord(DLPRecord record)
record
- a DLPRecord object containing a record read from the ToDo handheld database.Method Detail |
protected void generateData()
generateData
in class DLPRecord
public java.lang.String getDescription()
public java.util.Calendar getDueDate()
public java.lang.String getNote()
public byte getPriority()
public boolean hasDueDate()
public boolean isCompleted()
public void noDueDate()
protected void parseFields()
parseFields
in class DLPRecord
public void setCompletionState(boolean flag)
flag
- true if this record should be flagged as complete, false otherwise.public void setDescription(java.lang.String s)
s
- the description field for this record.public void setDueDate(java.util.Calendar calendar)
calendar
- the due date value as a Calendar object,public void setNote(java.lang.String s)
s
- the associated note for this record.public void setPriority(char c)
c
- the priority field of this record.public java.lang.String toString()
toString
in class DLPRecord
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |