net.sf.borg.model.entity
Class Subtask

java.lang.Object
  extended by net.sf.borg.model.entity.KeyedEntity<Subtask>
      extended by net.sf.borg.model.entity.Subtask
All Implemented Interfaces:
Serializable, CalendarEntity

public class Subtask
extends KeyedEntity<Subtask>
implements CalendarEntity

Subtask entity

See Also:
Serialized Form

Constructor Summary
Subtask()
           
 
Method Summary
protected  Subtask clone()
           
 Date getCloseDate()
          Gets the close date.
 String getColor()
          Gets the color.
 Date getDate()
          Gets the date.
 String getDescription()
          Gets the description.
 Date getDueDate()
          Gets the due date.
 Integer getDuration()
          Gets the duration.
 Date getNextTodo()
          Gets the next todo date.
 Date getStartDate()
          Gets the start date.
 Integer getTask()
          Gets the parent task.
 String getText()
          Gets the text.
 boolean getTodo()
          Gets the todo flag.
 void setCloseDate(Date xx)
          Sets the close date.
 void setDescription(String xx)
          Sets the description.
 void setDueDate(Date xx)
          Sets the due date.
 void setStartDate(Date xx)
          Sets the start date.
 void setTask(Integer xx)
          Sets the parent task.
 
Methods inherited from class net.sf.borg.model.entity.KeyedEntity
copy, getKey, setKey
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subtask

public Subtask()
Method Detail

getStartDate

public Date getStartDate()
Gets the start date.

Returns:
the start date

setStartDate

public void setStartDate(Date xx)
Sets the start date.

Parameters:
xx - the new start date

getCloseDate

public Date getCloseDate()
Gets the close date.

Returns:
the close date

setCloseDate

public void setCloseDate(Date xx)
Sets the close date.

Parameters:
xx - the new close date

getDueDate

public Date getDueDate()
Gets the due date.

Returns:
the due date

setDueDate

public void setDueDate(Date xx)
Sets the due date.

Parameters:
xx - the new due date

getDescription

public String getDescription()
Gets the description.

Returns:
the description

setDescription

public void setDescription(String xx)
Sets the description.

Parameters:
xx - the new description

getTask

public Integer getTask()
Gets the parent task.

Returns:
the parent task id

setTask

public void setTask(Integer xx)
Sets the parent task.

Parameters:
xx - the parent task id

clone

protected Subtask clone()
Overrides:
clone in class KeyedEntity<Subtask>

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

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

getText

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

Specified by:
getText in interface CalendarEntity
Returns:
the text

getTodo

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

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


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