Consider the process of searching for a book, to draw a sequence diagram based on the following interactions:
Consider the process of searching for a book, to draw a sequence diagram based on the
following interactions:
• The process started when a student object (this will be an actor) select search for a
book operation with author id as parameter from the search page object.
• The search page object validates the search criteria with itself.
o If the author specified:
• Search page object will run search by author operation on the catalog object.
• The catalog object creates a search result object to form the result of the search.
• The search result object creates and runs display the result operation on the
search result page object.
• The search result object replays a message “done” to the search object which
sends a reply message to the student object.
• The student object views the results and closes the search result page object.
• The search result page object closes the search result object.
o If the author not specified, the search page object will repay the student object with
an error message.
• At the end of the searching process, the student optionally closes the search page object.
Step by step
Solved in 2 steps with 1 images