net.sf.nachocalendar.tasks
Class DefaultTask

java.lang.Object
  extended bynet.sf.nachocalendar.tasks.DefaultTask
All Implemented Interfaces:
java.io.Serializable, Task

public class DefaultTask
extends java.lang.Object
implements Task, java.io.Serializable

Default implementation of the Task interface.

Author:
Ignacio Merani
See Also:
Serialized Form

Constructor Summary
DefaultTask()
          Creates a new instance of DefaultTask.
 
Method Summary
 java.util.Date getDate()
          Returns the Date of this task.
 java.lang.String getName()
          Returns the name of this task.
 void setDate(java.util.Date date)
          Sets the date of this task.
 void setName(java.lang.String name)
          Sets the name of this task.
 java.lang.String toString()
          Returns a String representing this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTask

public DefaultTask()
Creates a new instance of DefaultTask.

Method Detail

getDate

public java.util.Date getDate()
Returns the Date of this task.

Specified by:
getDate in interface Task
Returns:
Returns the date.

setDate

public void setDate(java.util.Date date)
Sets the date of this task.

Specified by:
setDate in interface Task
Parameters:
date - The date to set.

getName

public java.lang.String getName()
Returns the name of this task.

Specified by:
getName in interface Task
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Sets the name of this task.

Specified by:
setName in interface Task
Parameters:
name - The name to set.

toString

public java.lang.String toString()
Returns a String representing this object.

Returns:
String representing this object.