|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.model.entity.KeyedEntity<T>
net.sf.borg.model.entity.EncryptableEntity<Appointment>
net.sf.borg.model.entity.Appointment
public class Appointment
The Appointment Entity
| Constructor Summary | |
|---|---|
Appointment()
|
|
| Method Summary | |
|---|---|
protected Appointment |
clone()
|
void |
decrypt(String password)
decrypt the entity. |
void |
encrypt(String password)
encrypt the entity. |
String |
getCategory()
Gets the category. |
String |
getColor()
Gets the color. |
Date |
getDate()
Gets the date. |
Integer |
getDuration()
Gets the duration. |
String |
getFrequency()
Gets the repeat frequency. |
Integer |
getHoliday()
Gets the holiday flag (1 = holiday). |
Date |
getNextTodo()
Gets the next todo date. |
boolean |
getPrivate()
Gets the private flag (1 = private). |
String |
getReminderTimes()
Gets the reminder times. |
boolean |
getRepeatFlag()
Gets the repeat flag. |
Vector<String> |
getSkipList()
Gets the skip list - a list of repeat occurrences that are marked as skipped. |
String |
getText()
Gets the text. |
Integer |
getTimes()
Gets the number of repeat times. |
boolean |
getTodo()
Gets the todo flag. |
String |
getUntimed()
Gets the untimed flag. |
Integer |
getVacation()
Gets the vacation - 0 = not vacation 1 = vacation day, 2 = half day |
void |
setCategory(String xx)
Sets the category. |
void |
setColor(String xx)
Sets the color. |
void |
setDate(Date xx)
Sets the date. |
void |
setDuration(Integer xx)
Sets the appointment duration in minutes. |
void |
setFrequency(String xx)
Sets the repeat frequency. |
void |
setHoliday(Integer xx)
Sets the holiday flag (1 = holiday). |
void |
setNextTodo(Date xx)
Sets the next todo - the date of the next todo for repeating todos |
void |
setPrivate(boolean xx)
Sets the private flag (1 = private). |
void |
setReminderTimes(String xx)
Sets the reminder times. |
void |
setRepeatFlag(boolean xx)
Sets the repeat flag. |
void |
setSkipList(Vector<String> xx)
Sets the skip list - a list of repeat occurrences that are marked as skipped.. |
void |
setText(String xx)
Sets the text. |
void |
setTimes(Integer xx)
Sets the number of repeat times. |
void |
setTodo(boolean xx)
Sets the todo flag |
void |
setUntimed(String xx)
Sets the untimed flag. |
void |
setVacation(Integer xx)
Sets the vacation - 0 = not vacation 1 = vacation day, 2 = half day |
| Methods inherited from class net.sf.borg.model.entity.EncryptableEntity |
|---|
isEncrypted, setEncrypted |
| Methods inherited from class net.sf.borg.model.entity.KeyedEntity |
|---|
copy, getKey, setKey |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Appointment()
| Method Detail |
|---|
public Date getDate()
CalendarEntity
getDate in interface CalendarEntitypublic void setDate(Date xx)
xx - the new datepublic Integer getDuration()
CalendarEntity
getDuration in interface CalendarEntitypublic void setDuration(Integer xx)
xx - the new durationpublic String getText()
CalendarEntity
getText in interface CalendarEntitypublic void setText(String xx)
xx - the new textpublic Vector<String> getSkipList()
public void setSkipList(Vector<String> xx)
xx - the new skip listpublic Date getNextTodo()
CalendarEntity
getNextTodo in interface CalendarEntitypublic void setNextTodo(Date xx)
xx - the new next todopublic Integer getVacation()
public void setVacation(Integer xx)
xx - the new vacation flagpublic Integer getHoliday()
public void setHoliday(Integer xx)
xx - the new holiday flagpublic boolean getPrivate()
public void setPrivate(boolean xx)
xx - the new private flagpublic Integer getTimes()
public void setTimes(Integer xx)
xx - the new timespublic String getFrequency()
public void setFrequency(String xx)
xx - the new repeat frequencypublic boolean getTodo()
CalendarEntity
getTodo in interface CalendarEntitypublic void setTodo(boolean xx)
xx - the new todopublic String getColor()
CalendarEntity
getColor in interface CalendarEntitypublic void setColor(String xx)
xx - the new colorpublic boolean getRepeatFlag()
public void setRepeatFlag(boolean xx)
xx - the new repeat flagpublic String getCategory()
public void setCategory(String xx)
xx - the new categorypublic String getReminderTimes()
public void setReminderTimes(String xx)
xx - the new reminder timespublic String getUntimed()
public void setUntimed(String xx)
xx - the new untimedprotected Appointment clone()
clone in class KeyedEntity<Appointment>
public void decrypt(String password)
throws Exception
EncryptableEntity
decrypt in class EncryptableEntity<Appointment>password - the keystore password
Exception
public void encrypt(String password)
throws Exception
EncryptableEntity
encrypt in class EncryptableEntity<Appointment>password - the keystore password
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||