net.sf.nachocalendar.tasks
Interface Task

All Known Implementing Classes:
DefaultTask

public interface Task

Interface that must be implemented to show a Task using the TaskDataModel.

Author:
Ignacio Merani

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.
 

Method Detail

getDate

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

Returns:
Returns the date.

setDate

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

Parameters:
date - The date to set.

getName

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

Returns:
Returns the name.

setName

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

Parameters:
name - The name to set.