From 8f875db252cfead19b029ff443f81d087c3cf097 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sun, 22 Mar 2026 15:33:43 +0530 Subject: Added 10-task-tracker --- oop/10-task-tracker/docs/01-requirements.txt | 6 +++++ oop/10-task-tracker/docs/02-domain-model.uxf | 13 +++++++++ oop/10-task-tracker/docs/03-design.uxf | 40 ++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 oop/10-task-tracker/docs/01-requirements.txt create mode 100644 oop/10-task-tracker/docs/02-domain-model.uxf create mode 100644 oop/10-task-tracker/docs/03-design.uxf (limited to 'oop/10-task-tracker/docs') diff --git a/oop/10-task-tracker/docs/01-requirements.txt b/oop/10-task-tracker/docs/01-requirements.txt new file mode 100644 index 0000000..932d793 --- /dev/null +++ b/oop/10-task-tracker/docs/01-requirements.txt @@ -0,0 +1,6 @@ +A task tracking system is to be developed. A user should be able to enter +new tasks into the system either assigning it to a user or unassigned. A +task should have a title and a description. It should be possible to update +the estimated time of a task. Once a task is completed, the user should be +able to set the actual time spent on the task. The software should allow +viewing the tasks assigned to a user. diff --git a/oop/10-task-tracker/docs/02-domain-model.uxf b/oop/10-task-tracker/docs/02-domain-model.uxf new file mode 100644 index 0000000..89ed41a --- /dev/null +++ b/oop/10-task-tracker/docs/02-domain-model.uxf @@ -0,0 +1,13 @@ +10UMLClass6010010060User +-- +id +usernameUMLClass360100100120Task +-- +id +title +description +estimatedTime +actualTime +completedRelation15010023040lt=<- +< createdBy10;20;210;20Relation15013023040lt=<- +< assignedTo10;20;210;20 \ No newline at end of file diff --git a/oop/10-task-tracker/docs/03-design.uxf b/oop/10-task-tracker/docs/03-design.uxf new file mode 100644 index 0000000..04a2deb --- /dev/null +++ b/oop/10-task-tracker/docs/03-design.uxf @@ -0,0 +1,40 @@ +10UMLClass2042012060User +-- +id: int +username: StringUMLClass290420150120Task +-- +id: int +title: String +description: String +estimatedTime: Duration +actualTime: Duration +completed: booleanRelation13042018040lt=<- +< createdBy10;20;160;20Relation13045018040lt=<- +< assignedTo10;20;160;20UMLClass30011090TextUI +-- +-- +createNewTask() +updateTask() +createNewUser() +start()UMLClass230032090<<interface>> +TaskManager +-- +-- +createNewTask(title: String, description: String): Task +findById(id: int): Task +updateTask(task: Task) +UMLClass017021070<<interface>> +UserManager +-- +-- +createNewUser(username: String)Relation1301012030lt=<-100;10;10;10Relation808030110lt=<-10;90;10;10UMLClass23019031090InMemoryTaskManager +-- +-- +createNewTask(title: String, description: String): Task +findById(id: int): Task +updateTask(task: Task) +Relation3508030130lt=<<.10;10;10;110Relation36027040170lt=<<<<- +m2=*10;10;10;150UMLClass032021050DBUserManager +-- +-- +createNewUser(username: String)Relation7023030110lt=<<.10;10;10;90 \ No newline at end of file -- cgit v1.2.3