Skip to content

Commit

Permalink
Merge pull request #226 from xianlinc/bug-fixing-phase
Browse files Browse the repository at this point in the history
Fix DG and class diagrams
  • Loading branch information
rldefa authored Nov 8, 2021
2 parents 1c453ee + 38fef8b commit 05a253e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ The `Model` component,

**API** : [`Storage.java`](https://github.com/AY2122S1-CS2103T-T17-4/tp/tree/master/src/main/java/seedu/insurancepal/storage/Storage.java)

<img src="images/StorageClassDiagram.png" width="550" />
<img src="images/StorageClassDiagram.png" width="600" />

The `Storage` component,
* can save both clients' data and user preference data in json format, and read them back into corresponding objects.
Expand Down Expand Up @@ -320,7 +320,8 @@ The processing of a note command from the user can be split into 2 general steps

1. Parsing the user input into a `NoteCommand`
2. Executing the `NoteCommand`
Each step will be described in the sections below.

Each step will be described in the sections below.

**Step 1:** Parsing of user input

Expand Down Expand Up @@ -368,6 +369,7 @@ There are 2 possible outcomes from the execution of a `NoteCommand`.
The processing of a claim command from the user can be split into 2 general steps:
1. Parsing the user input into a `ClaimCommand`
2. Executing the `ClaimCommand`

Each step will be described in the sections below.

**Step 1:** Parsing of user input
Expand Down Expand Up @@ -651,6 +653,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli
* 3c1. InsurancePal shows an error message

Use case resumes at step 2.

**Use case: Finding a client**

**MSS**
Expand Down
2 changes: 0 additions & 2 deletions docs/diagrams/NoteClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ class NoteCommand
package Model {
class Note
class Index
class String
}

NoteCommand --> "1" Index
NoteCommand --> "1" Note
Note --> "0..1" String

@enduml
4 changes: 4 additions & 0 deletions docs/diagrams/StorageClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Class JsonInsurancePalStorage
Class JsonSerializableInsurancePal
Class JsonAdaptedPerson
Class JsonAdaptedTag
Class JsonAdaptedClaim
Class JsonAdaptedInsurance
}

}
Expand All @@ -39,5 +41,7 @@ JsonInsurancePalStorage .up.|> InsurancePalStorage
JsonInsurancePalStorage ..> JsonSerializableInsurancePal
JsonSerializableInsurancePal --> "*" JsonAdaptedPerson
JsonAdaptedPerson --> "*" JsonAdaptedTag
JsonAdaptedPerson --> "*" JsonAdaptedClaim
JsonAdaptedPerson --> "*" JsonAdaptedInsurance

@enduml
Binary file modified docs/images/ClaimEditClaimDescriptorClassDiagram.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/NoteClassDiagram.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/StorageClassDiagram.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 05a253e

Please sign in to comment.