|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.strangelight.servlets.TaskMaster.Task
Task encapsulates a single "task", which can contain
multiple subtasks.
| Constructor Summary | |
protected |
Task(org.w3c.dom.Node node,
TaskTree tree)
Creates a Task, including any contained sub-Tasks, from an XML Node. |
|
Task(TaskTree tree)
Creates a new, empty Task object. |
| Method Summary | |
protected void |
finalize()
|
java.lang.String |
get_details()
Gets a detailed description of this Task. |
java.lang.String |
get_id()
Gets the unique key associated with this Task. |
java.util.List |
get_subTasks()
Gets this Task's subtasks as a List of
Tasks. |
Task |
get_superTask()
Gets this Task's super-Task. |
java.util.List |
get_superTasks()
Gets this Task's direct supertasks as a List of
Tasks. |
java.lang.String |
get_title()
Gets the title (short textual description) of this Task. |
TaskTree |
getTree()
Get the TaskTree to which this Task belongs. |
void |
remove()
Removes this Task from the Task tree. |
void |
set_details(java.lang.String details)
Sets the detailed description of this Task. |
Task |
set_superTask(Task new_superTask)
Makes this Task a sub-Task of another. |
void |
set_title(java.lang.String new_title)
Sets the title (short textual description) of this Task. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Task(org.w3c.dom.Node node,
TaskTree tree)
public Task(TaskTree tree)
set_superTask(Task) ).
| Method Detail |
public TaskTree getTree()
protected void finalize()
finalize in class java.lang.Objectpublic java.lang.String get_id()
get_id() might return "bc07fe50".public java.lang.String get_title()
public void set_title(java.lang.String new_title)
public Task set_superTask(Task new_superTask)
new_superTask - this Task's new super-Task, or null to make
this Task a "root" task.
null if it
didn't have one).public Task get_superTask()
null if it
doesn't have one).public void remove()
Note that attempting to remove the root Task will generate a RuntimeException.
public java.util.List get_subTasks()
List of
Tasks.
public java.util.List get_superTasks()
List of
Tasks.
public java.lang.String get_details()
Task.
public void set_details(java.lang.String details)
Task.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||