[kplato] Summary of Data Discussion

Thomas Zander kplato@kde.org
Tue, 19 Jun 2001 20:46:53 +0200


> 
> 4.1.1. Project
> 
> Project::=
>   Project Definition ::= TBD +
>   {Task}
> 
> 4.1.2. Task
> 
> Task ::=
>   Task ID +
>   Task Name +
>   Duration +
>   Status +
>   {Task} +
>   {Relationship} +
>   {Resource}

I think you forgot Task Type in your task here..


> Constraint: Duration my only be entered if {Task} is empty
> 
> 4.1.3. Task Type
> 
> Task Type ::=
>   ConstraintType ::= [Start On Date | Finish By Date |  Work Between Dates | 
> Milestone | Percent of Project] +
>   Constraint ::= [Entered Date | Calculate]
> 
> (Jim: this was what I got out of your email.  Were all 5 items supposed to be 
> a task type?  I'm not sure how the last two fit in)

Well, it seems logical to have them here.
But from a data-modeling POV those are not tasks, those are points in time (where
a task would always be a length of time). So they can not take resources, they
have no relationships or subtasks.
Therefor, again from a data-modeling POV, the "Milestone" and "Percent of Project"
types should be something like 'CheckMarks'.


> 4.1.4. Duration
> 
> Duration ::=
>   Optmistic Hours +
>   Pessimistic Hours +
>   Expected Hours +
>   Risk ::= [Low | High | None]
> 
> (Does risk really belong here? Its actually a function of the task, right? At 
> the same time it would be nice to be able to encapsulate this and provide a 
> function to get calculated duration. (There I am going to implementation 
> details now))

But there is only one duration per task, then it would only be misplaced if 
the naming does not fit.
I don't know exactly what it does, but it does not seem out of place..

<snip>

> 4.1.6. Relationship
> 
> Relationship ::=
>   Preceding Node +
>   Type ::= [ Finish-Start | Finish-Finish | Start-Start ] +
>   Lag

Lag is an implied value, ask the relation (the preceding node)
for its lag, it should now this.
It does not belong in the data-model (ehh, format ;).

Excelent work ;)


-- 
Thomas Zander                                            zander@earthling.net
The only thing worse than failure is the fear of trying something new