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
 boolean canEqual(Object other)
           
protected  Subtask clone()
           
 boolean equals(Object o)
           
 Date getCloseDate()
           
 String getColor()
          Gets the color.
 Date getDate()
          Gets the date.
 String getDescription()
           
 Date getDueDate()
           
 Integer getDuration()
          Gets the duration.
 Date getNextTodo()
          Gets the next todo date.
 Integer getPriority()
          Gets the priority
 Date getStartDate()
           
 Integer getTask()
           
 String getText()
          Gets the text.
 int hashCode()
           
 boolean isTodo()
          Gets the todo flag.
 void setCloseDate(Date CloseDate)
           
 void setDescription(String Description)
           
 void setDueDate(Date DueDate)
           
 void setStartDate(Date StartDate)
           
 void setTask(Integer Task)
           
 String toString()
           
 
Methods inherited from class net.sf.borg.model.entity.KeyedEntity
copy, getKey, setKey
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subtask

public Subtask()
Method Detail

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

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

getStartDate

public Date getStartDate()

getCloseDate

public Date getCloseDate()

getDueDate

public Date getDueDate()

getDescription

public String getDescription()

getTask

public Integer getTask()

setStartDate

public void setStartDate(Date StartDate)

setCloseDate

public void setCloseDate(Date CloseDate)

setDueDate

public void setDueDate(Date DueDate)

setDescription

public void setDescription(String Description)

setTask

public void setTask(Integer Task)

toString

public String toString()
Overrides:
toString in class KeyedEntity<Subtask>

equals

public boolean equals(Object o)
Overrides:
equals in class KeyedEntity<Subtask>

canEqual

public boolean canEqual(Object other)
Overrides:
canEqual in class KeyedEntity<Subtask>

hashCode

public int hashCode()
Overrides:
hashCode in class KeyedEntity<Subtask>


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