|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.TaskHeap.structs.PlanComponentStruct
A PlanComponent represents part of a Plan. It holds the base fields common to both Tasks and Plans. PlanComponents may be queried, but are not be modified directly.
| Field Summary | |
protected java.lang.String |
description
The description of this plan component. |
protected java.util.Date |
dueDate
The date when this plan component must be completed. |
protected java.lang.String |
name
Each plan component requires a name so that humans can refer to it by something other than its unique identifier. |
protected NoteStruct[] |
notes
Attached comments. |
protected long |
parent
If a a PlanComponent is part of a Plan, then this is a reference to the plan that contains it. |
protected long |
resourceID
A component may be owned by a resource. |
protected long |
timeEstimate
An estimate of the number of hours necessary to complete this plan component. |
| Constructor Summary | |
PlanComponentStruct()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
Originally the name was declared to be unique, to avoid creating heaps with multiple tasks or plans with generic names like "test" or "requirements". Generic naming is strongly discouraged because duplicate names
However, there are times when having two tasks with the same name may be reasonable, and having the application disallow this generally can get in the way. So the unique constraint was removed, even though experience has shown that unique naming greatly increases manageability, especially over time. Good names are strongly recommended. The few additional seconds spent coming up with a good name will easily save minutes when working through the heap as a whole.
protected java.lang.String description
To provide maximum display flexibility, the description field is plain text (no HTML or word processor formatting). Only line breaks are preserved. However the display will convert recognized email addresses and URLs to display links, to allow for including references to supporting documentation or contact info.
protected long parent
protected long resourceID
protected long timeEstimate
For a Task, the time estimate is simply the value entered. For a Plan, this is the value calculated from the tasks it contains. For an ExternalPlan, this is the value retrieved from the Plan being referenced. All automatic processing is done on behalf of the current user by the system, so any cascading changes are recorded based on the user that triggered them.
protected java.util.Date dueDate
protected NoteStruct[] notes
| Constructor Detail |
public PlanComponentStruct()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||