|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--PIMEntity
|
+--PIMTodo
| Constructor Summary | |
PIMTodo()
default constructor. |
|
PIMTodo(java.lang.String todo,
java.util.Date thedate)
constructor that allows the description and date to be specified. |
|
PIMTodo(java.lang.String todo,
java.util.Date thedate,
java.lang.String prio)
constructor that allows the description, date and priority to be specified. |
|
| Method Summary | |
void |
fromString(java.lang.String s)
sets the priority, date and description from a string. |
java.util.Date |
getDate()
get the date associated with the PIM object. |
void |
setDate(java.util.Date d)
set the date to be associated with the PIM object. |
void |
setDate(java.lang.String s)
set the date from a String in the format "mm/dd/yy" |
java.lang.String |
toString()
generates a string representation of the Todo item, including the priority, date and description of what needs to be done. |
| Methods inherited from class PIMEntity |
getPriority, setPriority |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PIMTodo()
public PIMTodo(java.lang.String todo,
java.util.Date thedate)
todo - the text description of what to do.thedate - the date to be assigned to this todo item.
public PIMTodo(java.lang.String todo,
java.util.Date thedate,
java.lang.String prio)
todo - the text description of what to do.thedate - the date to be assigned to this todo item.prio - the priority label (string).| Method Detail |
public void fromString(java.lang.String s)
fromString in class PIMEntitys - printable representation of the todo item, in the
format produced by the toString method.public java.lang.String toString()
toString in class PIMEntitypublic java.util.Date getDate()
PIMDateable
getDate in interface PIMDateablepublic void setDate(java.lang.String s)
PIMDateable
setDate in interface PIMDateables - the string holding a representation of the date to be assigned.public void setDate(java.util.Date d)
PIMDateable
setDate in interface PIMDateabled - the a Date object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||