You can model a lightweight team task planner in MDriven Designer with projects, tasks, members, progress tracking, and automated business logic.
What you will build
The planner includes projects, tasks, and members. It supports creating projects, managing team members, adding tasks, tracking tasks, calculating project progress automatically, and enforcing validation rules.
Step 1: Create the domain model
Create the core classes needed for the planner.
Add associations so that:
- A
Projecthas manyTaskobjects.
Step 2: Add attributes
Add the following attributes.
| Class | Attribute | Type |
|---|---|---|
| Project | Name
|
String |
| Project | Deadline
|
Date |
| Member | Name
|
String |
| Member | Email
|
String |
Step 3: Add derived task counts with OCL
Add derived attributes to Project to calculate task counts.
Total tasks
Create a derived attribute named TotalTasks:
self.tasks->sizeThe source then introduces calculating overall project progress, but the supplied text does not include the expression or remaining steps.
