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.
 Integer getPriority()
          Gets the priority
 String getText()
          Gets the text.
 boolean isTodo()
          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

isTodo

boolean isTodo()
Gets the todo flag.

Returns:
the todo flag

getNextTodo

Date getNextTodo()
Gets the next todo date.

Returns:
the next todo date

getPriority

Integer getPriority()
Gets the priority

Returns:
the priority


Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae