From b28ee5a1b0059c8f5a7439e417366811f0c4f460 Mon Sep 17 00:00:00 2001 From: whelan-low Date: Wed, 20 Mar 2024 21:06:11 +0800 Subject: [PATCH] Update Model package UML diagram --- docs/diagrams/ModelClassDiagram.puml | 42 ++++++++++++++++++---------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/docs/diagrams/ModelClassDiagram.puml b/docs/diagrams/ModelClassDiagram.puml index 0de5673070d..c3fd832fdef 100644 --- a/docs/diagrams/ModelClassDiagram.puml +++ b/docs/diagrams/ModelClassDiagram.puml @@ -12,14 +12,21 @@ Class AddressBook Class ModelManager Class UserPrefs +Class ModuleCode +Class ModuleContainsKeywordPredicate +Class ModuleTutorialPair +Class TutorialClass +Class TutorialContainsKeywordPredicate +Class Tag + Class UniquePersonList Class Person -Class Address -Class Email Class Name -Class Phone -Class Tag - +Class Email +Class StudentId +Class NameContainsKeywordPredicate +Class EmailContainsKeywordPredicate +Class StudentIdContainsKeywordPredicate Class I #FFFFFF } @@ -35,20 +42,27 @@ ModelManager -left-> "1" AddressBook ModelManager -right-> "1" UserPrefs UserPrefs .up.|> ReadOnlyUserPrefs +ModelManager *-left> "~* filtered" ModuleCode +AddressBook -left> "~* all" ModuleCode +ModuleCode -up> TutorialClass +ModuleTutorialPair -> ModuleCode +ModuleTutorialPair -down> TutorialClass +ModuleContainsKeywordPredicate -..down> ModuleCode +TutorialContainsKeywordPredicate -..up> TutorialClass +TutorialClass -> Person + AddressBook *--> "1" UniquePersonList UniquePersonList --> "~* all" Person -Person *--> Name -Person *--> Phone -Person *--> Email -Person *--> Address -Person *--> "*" Tag - +Person *--> "1" Name +Person *--> "1" Email +Person *--> "1" StudentId +Person *--> Tag Person -[hidden]up--> I UniquePersonList -[hidden]right-> I -Name -[hidden]right-> Phone -Phone -[hidden]right-> Address -Address -[hidden]right-> Email +NameContainsKeywordPredicate -..> Name +StudentIdContainsKeywordPredicate -left..> StudentId +EmailContainsKeywordPredicate -right..> Email ModelManager --> "~* filtered" Person @enduml