Skip to content

Commit

Permalink
Merge branch 'master' into updateDG-useCases
Browse files Browse the repository at this point in the history
  • Loading branch information
CJerrong committed Apr 15, 2024
2 parents a156403 + c036569 commit a70e795
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli
1. User requests to list all contacts
2. Elder Scrolls shows a list of all contacts
3. User requests to delete a specific contact.
4. Elder Scrolls deletes the specific contact.
4. Elder Scrolls deletes the specified contact.

Use case ends.

Expand All @@ -678,9 +678,9 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli

* 4a. The contact requested to be deleted is still paired.

* 4a1. Elder Scrolls shows an error message.

Use case resumes at step 2.
* 4a1. Elder Scrolls shows an error message.
Use case resumes at step 2.

**Use case: UC03 - List all contacts and logs**

Expand Down
7 changes: 6 additions & 1 deletion docs/diagrams/BetterModelClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,21 @@ UniqueTagList -[hidden]down- UniquePersonList
UniqueTagList -right-> "*" Tag
UniquePersonList -right-> Person

Person *-up-> personId
Person -up-> "*" Tag
personId -[hidden]left--> Tag

Volunteer .left.|> Person
Befriendee .left.|> Person


Person *--> Name
Person *--> Phone
Person *--> Email
Person *--> Address
Person *--> "0..1" pairedWith
Person *--> "0..1" pairedWithId
Person --> "0..1" pairedWithName
Person *--> "0..1" latestLogId
Person *--> Role
Person *--> timeServed
@enduml
9 changes: 5 additions & 4 deletions docs/diagrams/DatastoreClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,13 @@ Person *--> Name
Person *--> Phone
Person *--> Email
Person *--> Address
Person --> pairedWithName
Person *--> pairedWithId
Person *--> latestLogId
Person -up-> "*" Tag
Person *--> Role
Person -left-> timeServed
Person *-left-> timeServed
Person *-left-> personId

Volunteer .up.|> Person
Befriendee .up.|> Person
Expand All @@ -61,9 +65,6 @@ Person -[hidden]right--> Befriendee
ReadOnlyPersonStore -[hidden]right--> Datastore
ReadOnlyLogStore -[hidden]right--> ReadOnlyPersonStore

Person -[hidden]up--> I
UniquePersonList -[hidden]right-> I

Name -[hidden]right-> Phone
Phone -[hidden]right-> Address
Address -[hidden]right-> Email
Expand Down
Binary file modified docs/images/BetterModelClassDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/DatastoreClassDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a70e795

Please sign in to comment.