org.jSyncManager.API.Protocol.Util.StdApps
Class DateBookRecord
- Enumeration, Serializable
public class DateBookRecord
implements Enumeration
Datebook database record abstraction/parser class.
This class represents a Palm Datebook database record.
ARCHIVED, BUSY, DATA_INCLUDED, DELETED, DELETE_ALL_IN_CATEGORY, DELETE_ALL_RECORDS, DIRTY, SECRET, SORT_DATABASE, attributes, category, data, index, inputData, recordID, recordSize |
protected void | generateData()- Generate data block from existing fields.
|
String | getDescription()- Return the description of this record.
|
DateBookRecordEntry | getFirstEntry()- Return the first entry in the DateBookRecord.
|
String | getNote()- Return the associated note for this record.
|
boolean | hasMoreElements()- Boolean value denoting whether this record has more elements (DateBookRecordEntry records).
|
Object | nextElement()- Return the next DateBookRecordEntry element in this enumeration.
|
protected void | parseFields()- Parses the data byte array into Datebook Record fields.
|
void | resetEnumeration()- Reset the enumeration for the DateBookRecordEntry list.
|
void | setDescription(String newValue)- Set the description of this record.
|
void | setFirstEntry(DateBookRecordEntry newValue)- Set the first DateBookRecordEntry for this record.
|
void | setNote(String newValue)- Set the associated note for this record.
|
String | toString()- Output a represenation of the record as a String value.
|
addAttribute, checkAttribute, clearAttribute, generateData, getAttributes, getCategory, getData, getIndex, getRecordID, getRecordSize, parseFields, setAttributes, setCategory, setData, setIndex, setRecordID, setRecordSize, toString |
DateBookRecord
public DateBookRecord()
DateBookRecord default constructor.
DateBookRecord
public DateBookRecord(DLPRecord record)
throws ParseExceptionDateBookRecord constructor from DLPRecord.
record - org.jSyncManager.API.Protocol.Util.DLPRecord
generateData
protected void generateData()
Generate data block from existing fields.
- generateData in interface DLPRecord
getDescription
public String getDescription()
Return the description of this record.
- the description of this record.
getFirstEntry
public DateBookRecordEntry getFirstEntry()
Return the first entry in the DateBookRecord.
A DateBookRecord may have multiple entries per record.
- the first entry in the DateBookRecord.
getNote
public String getNote()
Return the associated note for this record.
- the associated note for this record.
hasMoreElements
public boolean hasMoreElements()
Boolean value denoting whether this record has more elements (DateBookRecordEntry records).
- true if this record has more entries, false otherwise.
nextElement
public Object nextElement()
Return the next DateBookRecordEntry element in this enumeration.
- the next DateBookRecordEntry element.
resetEnumeration
public void resetEnumeration()
Reset the enumeration for the DateBookRecordEntry list.
setDescription
public void setDescription(String newValue)
Set the description of this record.
newValue - this records description.
setFirstEntry
public void setFirstEntry(DateBookRecordEntry newValue)
Set the first DateBookRecordEntry for this record.
newValue - the new first entry for this Datebook record.
setNote
public void setNote(String newValue)
Set the associated note for this record.
newValue - the associated note for this record.
toString
public String toString()
Output a represenation of the record as a String value.
- toString in interface DLPRecord
- A String representation of this record.