org.gnu.pilotlink
Class DatebookRecord

java.lang.Object
  extended by org.gnu.pilotlink.Record
      extended by org.gnu.pilotlink.DatebookRecord

public class DatebookRecord
extends Record


Field Summary
static int ALARM_DAYS
           
static int ALARM_HOURS
           
static int ALARM_MINUTES
           
static int ALARM_NONE
           
static int NO_REP
           
static int REP_DAYLY
           
static int REP_MONTHLY_BY_DATE
           
static int REP_MONTHLY_BY_DAY
           
static int REP_NONE
           
static int REP_WEEKLY
           
static int REP_YEARLY
           
 
Fields inherited from class org.gnu.pilotlink.Record
ARCHIVED, attribs, BUSY, category, DELETED, DIRTY, id, size, SECRET
 
Constructor Summary
DatebookRecord(java.util.Date sd, java.util.Date ed, java.lang.String descr, java.lang.String n)
           
DatebookRecord(Record raw)
           
DatebookRecord()
           
 
Method Summary
 int getAlarmAdvance()
           
 int getAlarmUnits()
           
 byte[] getBuffer()
          Gets the buffer attribute of the Record object
 java.lang.String getDescription()
           
 java.util.Date getEndDate()
           
 java.lang.String getNote()
           
 int getRepAdvance()
           
 boolean[] getRepDays()
           
 int getRepDay()
           
 java.util.Date getRepeatEnd()
           
 java.util.Date[] getRepExceptions()
           
 int getRepType()
           
 int getRepWeekstart()
           
 java.util.Date getStartDate()
           
 boolean hasAlarm()
           
 boolean hasDescription()
           
 boolean hasExceptions()
           
 boolean hasNote()
           
 boolean hasTime()
           
 boolean isRepeated()
           
 boolean repeatForever()
           
 java.util.Date repeatUntil()
           
 void setAlarmAdvance(int alarmAdvance)
           
 void setAlarmUnits(int alarmUnits)
           
 void setAlarm(boolean a)
           
 void setBuffer(byte[] arr)
          Sets the buffer attribute of the Record object
 void setDescription(java.lang.String description)
           
 void setEndDate(java.util.Date endDate)
           
 void setNote(java.lang.String note)
           
 void setRepAdvance(int repAdvance)
           
 void setRepDays(boolean[] repDays)
           
 void setRepDay(int repDay)
           
 void setRepeated(boolean r)
           
 void setRepeatEnd(java.util.Date repeatEnd)
           
 void setRepeatForever(boolean r)
           
 void setRepExceptions(java.util.Date[] repExceptions)
           
 void setRepType(int repType)
           
 void setRepWeekstart(int repWeekstart)
           
 void setStartDate(java.util.Date startDate)
           
 
Methods inherited from class org.gnu.pilotlink.Record
getAttribs, getCategory, getDateAt, getDateAt, getDateTimeAt, getDateTimeAt, getDoubleAt, getDoubleLongAt, getId, getIntAt, getIntAt, getLongAt, getSize, getStringAt, getStringAt, isArchived, isBusy, isDeleted, isDirty, isSecret, setArchived, setAttribs, setCategory, setDateAt, setDateTimeAt, setDirty, setDoubleAt, setDoubleLongAt, setId, setIntAt, setLongAt, setSecret, setSize, setStringAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

REP_WEEKLY

public static final int REP_WEEKLY
See Also:
Constant Field Values

REP_DAYLY

public static final int REP_DAYLY
See Also:
Constant Field Values

REP_MONTHLY_BY_DAY

public static final int REP_MONTHLY_BY_DAY
See Also:
Constant Field Values

REP_MONTHLY_BY_DATE

public static final int REP_MONTHLY_BY_DATE
See Also:
Constant Field Values

REP_YEARLY

public static final int REP_YEARLY
See Also:
Constant Field Values

REP_NONE

public static final int REP_NONE
See Also:
Constant Field Values

NO_REP

public static final int NO_REP
See Also:
Constant Field Values

ALARM_MINUTES

public static final int ALARM_MINUTES
See Also:
Constant Field Values

ALARM_HOURS

public static final int ALARM_HOURS
See Also:
Constant Field Values

ALARM_DAYS

public static final int ALARM_DAYS
See Also:
Constant Field Values

ALARM_NONE

public static final int ALARM_NONE
See Also:
Constant Field Values
Constructor Detail

DatebookRecord

public DatebookRecord(java.util.Date sd,
                      java.util.Date ed,
                      java.lang.String descr,
                      java.lang.String n)

DatebookRecord

public DatebookRecord(Record raw)

DatebookRecord

public DatebookRecord()
Method Detail

hasNote

public boolean hasNote()

hasTime

public boolean hasTime()

hasAlarm

public boolean hasAlarm()

isRepeated

public boolean isRepeated()

hasDescription

public boolean hasDescription()

hasExceptions

public boolean hasExceptions()

repeatForever

public boolean repeatForever()

setBuffer

public void setBuffer(byte[] arr)
Description copied from class: Record
Sets the buffer attribute of the Record object

Specified by:
setBuffer in class Record
Parameters:
arr - The new buffer value

getBuffer

public byte[] getBuffer()
Description copied from class: Record
Gets the buffer attribute of the Record object

Specified by:
getBuffer in class Record
Returns:
The buffer value

getStartDate

public java.util.Date getStartDate()

getEndDate

public java.util.Date getEndDate()

repeatUntil

public java.util.Date repeatUntil()

getDescription

public java.lang.String getDescription()

getNote

public java.lang.String getNote()

getRepeatEnd

public java.util.Date getRepeatEnd()

getRepExceptions

public java.util.Date[] getRepExceptions()

getRepWeekstart

public int getRepWeekstart()

getRepDay

public int getRepDay()

getRepType

public int getRepType()

getRepAdvance

public int getRepAdvance()

getAlarmAdvance

public int getAlarmAdvance()

getAlarmUnits

public int getAlarmUnits()

getRepDays

public boolean[] getRepDays()

setStartDate

public void setStartDate(java.util.Date startDate)

setEndDate

public void setEndDate(java.util.Date endDate)

setRepeated

public void setRepeated(boolean r)

setRepeatForever

public void setRepeatForever(boolean r)

setRepeatEnd

public void setRepeatEnd(java.util.Date repeatEnd)

setDescription

public void setDescription(java.lang.String description)

setNote

public void setNote(java.lang.String note)

setAlarm

public void setAlarm(boolean a)

setAlarmAdvance

public void setAlarmAdvance(int alarmAdvance)

setAlarmUnits

public void setAlarmUnits(int alarmUnits)

setRepAdvance

public void setRepAdvance(int repAdvance)

setRepType

public void setRepType(int repType)

setRepDay

public void setRepDay(int repDay)

setRepWeekstart

public void setRepWeekstart(int repWeekstart)

setRepExceptions

public void setRepExceptions(java.util.Date[] repExceptions)

setRepDays

public void setRepDays(boolean[] repDays)