/**
* This class represents Todo items in the PIM system. Each Todo
* contains a priority label, some actual text (a description of what
* needs to be done) and a date.
*
* @author Dave Hollinger
* @version 1.0
*/
import java.util.*;
public class PIMTodo extends PIMEntity implements PIMDateable {
String theTodo;
Date theDate;
/**
* default constructor.
*
*/
public PIMTodo() {
}
/**
* constructor that allows the description and date to be specified.
*
* @param todo the text description of what to do.
* @param thedate the date to be assigned to this todo item.
*/
public PIMTodo(String todo, Date thedate) {
}
/**
* constructor that allows the description, date and priority to be
* specified.
*
* @param todo the text description of what to do.
* @param thedate the date to be assigned to this todo item.
* @param prio the priority label (string).
*/
public PIMTodo(String todo, Date thedate, String prio) {
}
/**
* sets the priority, date and description from a string.
*
* @param s printable representation of the todo item, in the
* format produced by the <code>toString</code> method.
*/
public void fromString(String s) {
}
/**
* generates a string representation of the Todo item, including the
* priority, date and description of what needs to be done.
*
* @return the string representation of this todo item.
*/
public String toString() {
}
public Date getDate() {
}
public void setDate(String s) {
}
public void setDate(Date d) {
}
}