net.sf.borg.model.entity
Class LabelEntity

java.lang.Object
  extended by net.sf.borg.model.entity.LabelEntity
All Implemented Interfaces:
CalendarEntity

public class LabelEntity
extends Object
implements CalendarEntity

This class is a non-persisted entity that is used when the model needs to package a transient, calculated entity for the UI, such as a calculated holiday or birthday based on the address book.


Constructor Summary
LabelEntity()
           
 
Method Summary
 boolean canEqual(Object other)
           
 boolean equals(Object o)
           
 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.
 int hashCode()
           
 boolean isTodo()
          Gets the todo flag.
 void setColor(String color)
           
 void setDate(Date date)
           
 void setText(String Text)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelEntity

public LabelEntity()
Method Detail

getDuration

public Integer getDuration()
Description copied from interface: CalendarEntity
Gets the duration.

Specified by:
getDuration in interface CalendarEntity
Returns:
the duration

getNextTodo

public Date getNextTodo()
Description copied from interface: CalendarEntity
Gets the next todo date.

Specified by:
getNextTodo in interface CalendarEntity
Returns:
the next todo date

isTodo

public boolean isTodo()
Description copied from interface: CalendarEntity
Gets the todo flag.

Specified by:
isTodo in interface CalendarEntity
Returns:
the todo flag

getPriority

public Integer getPriority()
Description copied from interface: CalendarEntity
Gets the priority

Specified by:
getPriority in interface CalendarEntity
Returns:
the priority

getColor

public String getColor()
Description copied from interface: CalendarEntity
Gets the color.

Specified by:
getColor in interface CalendarEntity
Returns:
the color

getDate

public Date getDate()
Description copied from interface: CalendarEntity
Gets the date.

Specified by:
getDate in interface CalendarEntity
Returns:
the date

getText

public String getText()
Description copied from interface: CalendarEntity
Gets the text.

Specified by:
getText in interface CalendarEntity
Returns:
the text

setColor

public void setColor(String color)

setDate

public void setDate(Date date)

setText

public void setText(String Text)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

canEqual

public boolean canEqual(Object other)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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