net.sf.borg.model.entity
Interface CalendarEntity

All Known Implementing Classes:
Appointment, LabelEntity, Project, Subtask, Task

public interface CalendarEntity

Interface that needs to be implemented by any entity that can appear on the Calendar. This interface would more properly belong in the UI package - but it would take some extra wrapper classes that would be a waste.


Method Summary
 String getColor()
          Gets the color.
 Date getDate()
          Gets the date.
 Integer getDuration()
          Gets the duration.
 Date getNextTodo()
          Gets the next todo date.
 String getText()
          Gets the text.
 boolean getTodo()
          Gets the todo flag.
 

Method Detail

getText

String getText()
Gets the text.

Returns:
the text

getColor

String getColor()
Gets the color.

Returns:
the color

getDate

Date getDate()
Gets the date.

Returns:
the date

getDuration

Integer getDuration()
Gets the duration.

Returns:
the duration

getTodo

boolean getTodo()
Gets the todo flag.

Returns:
the todo flag

getNextTodo

Date getNextTodo()
Gets the next todo date.

Returns:
the next todo date


Generated September 24 2010 by mbb using Apache Ant version 1.7.1 compiled on June 27 2008 and Java version 1.6.0_20 from Sun Microsystems Inc. on Linux i386 2.6.24-28-generic