net.sf.borg.model.entity
Class Project

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

public class Project
extends KeyedEntity<Project>
implements CalendarEntity

Project Entity - a project contains tasks and can have child projects

See Also:
Serialized Form

Constructor Summary
Project()
           
 
Method Summary
 boolean canEqual(Object other)
           
protected  Project clone()
           
 boolean equals(Object o)
           
 String getCategory()
           
 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 getParent()
           
 Integer getPriority()
          Gets the priority
 Date getStartDate()
           
 String getStatus()
           
 String getText()
          Gets the text.
 int hashCode()
           
 boolean isTodo()
          Gets the todo flag.
 void setCategory(String Category)
           
 void setDescription(String Description)
           
 void setDueDate(Date DueDate)
           
 void setParent(Integer Parent)
           
 void setStartDate(Date StartDate)
           
 void setStatus(String Status)
           
 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

Project

public Project()
Method Detail

clone

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

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

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()

getDueDate

public Date getDueDate()

getDescription

public String getDescription()

getCategory

public String getCategory()

getStatus

public String getStatus()

getParent

public Integer getParent()

setStartDate

public void setStartDate(Date StartDate)

setDueDate

public void setDueDate(Date DueDate)

setDescription

public void setDescription(String Description)

setCategory

public void setCategory(String Category)

setStatus

public void setStatus(String Status)

setParent

public void setParent(Integer Parent)

toString

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

equals

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

canEqual

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

hashCode

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


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