net.sf.nachocalendar.tasks

Interface Task

public interface Task

Interface that must be implemented to show a Task using the TaskDataModel.
Author:
Ignacio Merani

Method Summary

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.

Method Details

getDate

public Date getDate()
Returns the Date of this task.
Returns:
Returns the date.

getName

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

setDate

public void setDate(Date date)
Sets the date of this task.
Parameters:
date - The date to set.

setName

public void setName(String name)
Sets the name of this task.
Parameters:
name - The name to set.