|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lcanals.tc.model.file.PlanBean
Set of tasks.
Constructor Summary | |
PlanBean()
Builds a new empty plan bean For conformance with Java Beans specifications |
|
PlanBean(int id,
java.lang.String description)
Builds a new empty plan bean with the given id |
Method Summary | |
java.lang.String |
getDescription()
Returns the description of the plan |
PlanTask |
getTaskWithId(int id)
Return the PlanTaskBean with the given id, or null if not present |
void |
recalculateTasks(Estimator estimator)
Recalculates currently not finished tasks |
void |
removeTask(PlanTask task)
Removes a task |
void |
setTask(PlanTask task)
Adds new task to the plan or substitutes a task |
java.util.Iterator |
tasksIterator()
Returns an iterator over the tasks of this plan |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlanBean()
public PlanBean(int id, java.lang.String description)
Method Detail |
public java.lang.String getDescription()
getDescription
in interface Plan
public java.util.Iterator tasksIterator()
tasksIterator
in interface Plan
public void setTask(PlanTask task)
setTask
in interface Plan
public void removeTask(PlanTask task)
removeTask
in interface Plan
public PlanTask getTaskWithId(int id)
getTaskWithId
in interface Plan
public void recalculateTasks(Estimator estimator)
recalculateTasks
in interface Plan
lcanals.tc.core.Plan
estimator
- Estimator will be used to calculate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |