|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.common.Property
com.funambol.common.pim.model.common.PropertyWithTimeZone
com.funambol.common.pim.model.calendar.Reminder
public class Reminder
This class represents the reminder of an event or task.
Field Summary |
---|
Fields inherited from class com.funambol.common.pim.model.common.PropertyWithTimeZone |
---|
timeZone |
Fields inherited from class com.funambol.common.pim.model.common.Property |
---|
altrep, chrset, cn, cutype, delegatedFrom, delegatedTo, dir, encoding, group, language, member, partstat, propertyValue, related, sentby, tag, type, value, xParams |
Constructor Summary | |
---|---|
Reminder()
Creates a new empty and inactive instance of Reminder |
Method Summary | |
---|---|
int |
getInterval()
Returns the interval between snoozes, in minutes. |
int |
getMinutes()
Returns how many minutes before the start of the event or task the reminder should activate. |
int |
getOptions()
Returns the extra options. |
int |
getRepeatCount()
Returns the number of times that the reminder has still to be repeated. |
java.lang.String |
getSoundFile()
Returns the path of the sound file played as a reminder. |
java.lang.String |
getTime()
Returns the date and time when the reminder is going to be activated. |
boolean |
isActive()
Returns whether the reminder is active or switched off. |
void |
setActive(boolean active)
Setter for property active. |
void |
setInterval(int interval)
Setter for property interval. |
void |
setMinutes(int minutes)
Setter for property minutes. |
void |
setOptions(int options)
Setter for property options. |
void |
setRepeatCount(int repeatCount)
Setter for property repeatCount. |
void |
setSoundFile(java.lang.String soundFile)
Setter for property soundFile. |
void |
setTime(java.lang.String time)
Setter for property time. |
java.lang.String |
toString()
|
Methods inherited from class com.funambol.common.pim.model.common.PropertyWithTimeZone |
---|
getTimeZone, setTimeZone |
Methods inherited from class com.funambol.common.pim.model.common.Property |
---|
compare, equals, getAltrep, getCharset, getCn, getCutype, getDelegatedFrom, getDelegatedTo, getDir, getEncoding, getGroup, getLanguage, getMember, getPartstat, getPropertyValue, getPropertyValueAsString, getRelated, getSentby, getTag, getType, getValue, getXParams, hashCode, isEmptyProperty, setAltrep, setCharset, setCn, setCutype, setDelegatedFrom, setDelegatedTo, setDir, setEncoding, setGroup, setLanguage, setMember, setPartstat, setPropertyValue, setRelated, setSentby, setTag, setType, setValue, setXParams, stringFrom, stringFrom |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Reminder()
Method Detail |
---|
public int getMinutes()
public void setMinutes(int minutes)
minutes
- new value of property minutespublic java.lang.String getTime()
public void setTime(java.lang.String time)
time
- new value of property time as a string in ISO-8601
"yyyyMMdd'T'HHmmss'Z'" or "yyyyMMdd'T'HHmmss" formatpublic java.lang.String getSoundFile()
public void setSoundFile(java.lang.String soundFile)
soundFile
- new value of property soundFilepublic int getOptions()
public void setOptions(int options)
options
- new value of property optionspublic boolean isActive()
public void setActive(boolean active)
active
- new value of property activepublic int getInterval()
public void setInterval(int interval)
interval
- new value of property intervalpublic int getRepeatCount()
public void setRepeatCount(int repeatCount)
repeatCount
- new value of property repeatCountpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |