|
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.DateBookRecord
Datebook database record abstraction/parser class. This class represents a Palm Datebook database record.
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 | |
---|---|
DateBookRecord()
DateBookRecord default constructor. |
|
DateBookRecord(DLPRecord record)
DateBookRecord constructor from DLPRecord. |
Method Summary | |
---|---|
protected void |
generateData()
Generate data block from existing fields. |
java.lang.String |
getDescription()
Return the description of this record. |
DateBookRecordEntry |
getFirstEntry()
Return the first entry in the DateBookRecord. |
java.lang.String |
getNote()
Return the associated note for this record. |
boolean |
hasMoreElements()
Boolean value denoting whether this record has more elements (DateBookRecordEntry records). |
java.lang.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(java.lang.String newValue)
Set the description of this record. |
void |
setFirstEntry(DateBookRecordEntry newValue)
Set the first DateBookRecordEntry for this record. |
void |
setNote(java.lang.String newValue)
Set the associated note for this record. |
java.lang.String |
toString()
Output a represenation of the record as a String value. |
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 |
---|
|
Constructor Detail |
public DateBookRecord()
public DateBookRecord(DLPRecord record)
record
- org.jSyncManager.API.Protocol.Util.DLPRecordMethod Detail |
protected void generateData()
generateData
in class DLPRecord
public java.lang.String getDescription()
public DateBookRecordEntry getFirstEntry()
public java.lang.String getNote()
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
protected void parseFields()
parseFields
in class DLPRecord
public void resetEnumeration()
public void setDescription(java.lang.String newValue)
newValue
- this records description.public void setFirstEntry(DateBookRecordEntry newValue)
newValue
- the new first entry for this Datebook record.public void setNote(java.lang.String newValue)
newValue
- the associated note for 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 |