Open lokidoki102 opened 2 months ago
We are not showing the difference between AddCommand and EditCommand, but rather we are just showing the sequence diagram for edit and add individually and separately
And the two lines you included: model.setPerson(personToEdit, editedPerson); model.updateFilteredPersonList(PREDICATE_SHOW_ALL_PERSONS);
are not meant to be in the sequence diagram.
Team chose [response.NotInScope
]
Reason for disagreement: [replace this with your explanation]
Both Add command sequence diagram and Edit command sequence diagram are very identical to each other, with only the difference of the command input.
Edit:
Add:
However, there are some difference in the implementation of add command and edit command in the codes.
For example, edit command would call
in the EditCommand.java.
I think this is what sets a part edit command from add command and should be reflected in the sequence diagram.