net.sf.borg.model.entity
Class Task

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

public class Task
extends KeyedEntity<Task>
implements CalendarEntity

The Task Entity

See Also:
Serialized Form

Constructor Summary
Task()
           
 
Method Summary
 boolean canEqual(Object other)
           
protected  Task clone()
           
 boolean equals(Object o)
           
 String getCategory()
           
 String getColor()
          Gets the color.
 Date getCompletionDate()
           
 Date getDate()
          Gets the date.
 String getDescription()
           
 Date getDueDate()
           
 Integer getDuration()
          Gets the duration.
 Date getNextTodo()
          Gets the next todo date.
 String getPersonAssigned()
           
 Integer getPriority()
          Gets the priority
 Integer getProject()
           
 String getResolution()
           
 Date getStartDate()
           
 String getState()
           
 String getText()
          Gets the text.
 String getType()
           
 int hashCode()
           
 boolean isTodo()
          Gets the todo flag.
 void setCategory(String Category)
           
 void setCompletionDate(Date CompletionDate)
           
 void setDescription(String Description)
           
 void setDueDate(Date DueDate)
           
 void setPersonAssigned(String PersonAssigned)
           
 void setPriority(Integer Priority)
           
 void setProject(Integer Project)
           
 void setResolution(String Resolution)
           
 void setStartDate(Date StartDate)
           
 void setState(String State)
           
 void setType(String Type)
           
 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

Task

public Task()
Method Detail

getColor

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

Specified by:
getColor in interface CalendarEntity
Returns:
the color

getDuration

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

Specified by:
getDuration in interface CalendarEntity
Returns:
the duration

getDate

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

Specified by:
getDate in interface CalendarEntity
Returns:
the date

isTodo

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

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

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

clone

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

getStartDate

public Date getStartDate()

getCompletionDate

public Date getCompletionDate()

getDueDate

public Date getDueDate()

getPersonAssigned

public String getPersonAssigned()

getPriority

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

Specified by:
getPriority in interface CalendarEntity
Returns:
the priority

getState

public String getState()

getType

public String getType()

getDescription

public String getDescription()

getResolution

public String getResolution()

getCategory

public String getCategory()

getProject

public Integer getProject()

setStartDate

public void setStartDate(Date StartDate)

setCompletionDate

public void setCompletionDate(Date CompletionDate)

setDueDate

public void setDueDate(Date DueDate)

setPersonAssigned

public void setPersonAssigned(String PersonAssigned)

setPriority

public void setPriority(Integer Priority)

setState

public void setState(String State)

setType

public void setType(String Type)

setDescription

public void setDescription(String Description)

setResolution

public void setResolution(String Resolution)

setCategory

public void setCategory(String Category)

setProject

public void setProject(Integer Project)

toString

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

equals

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

canEqual

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

hashCode

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


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