net.sf.nachocalendar.tasks
Class DefaultTask
java.lang.Object
net.sf.nachocalendar.tasks.DefaultTask
- Serializable, Task
public class DefaultTask
extends java.lang.Object
implements Task, Serializable
Default implementation of the Task interface.
Date | getDate() - Returns the Date of this task.
|
String | getName() - Returns the name of this task.
|
void | setDate(Date date) - Sets the date of this task.
|
void | setName(String name) - Sets the name of this task.
|
String | toString() - Returns a String representing this object.
|
DefaultTask
public DefaultTask()
Creates a new instance of DefaultTask.
getDate
public Date getDate()
Returns the Date of this task.
getName
public String getName()
Returns the name of this task.
setDate
public void setDate(Date date)
Sets the date of this task.
setName
public void setName(String name)
Sets the name of this task.
toString
public String toString()
Returns a String representing this object.
- String representing this object.