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

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

Returns:
Returns the date.

setDate

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

Parameters:
date - The date to set.

getName

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

Returns:
Returns the name.

setName

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

Parameters:
name - The name to set.