|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.borg.model.entity.LabelEntity
public class LabelEntity
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 | |
---|---|
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. |
void |
setColor(String color)
Sets the color. |
void |
setDate(Date date)
Sets the date. |
void |
setText(String text)
Sets the text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelEntity()
Method Detail |
---|
public String getColor()
CalendarEntity
getColor
in interface CalendarEntity
public void setColor(String color)
color
- the new colorpublic Date getDate()
CalendarEntity
getDate
in interface CalendarEntity
public void setDate(Date date)
date
- the new datepublic String getText()
CalendarEntity
getText
in interface CalendarEntity
public void setText(String text)
text
- the new textpublic Integer getDuration()
CalendarEntity
getDuration
in interface CalendarEntity
public Date getNextTodo()
CalendarEntity
getNextTodo
in interface CalendarEntity
public boolean getTodo()
CalendarEntity
getTodo
in interface CalendarEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |