A UML sequence diagram represents runtime interactions among objects in time order. Time proceeds from top to bottom, while lifelines show participants and horizontal arrows show calls to member functions. section 4.6
Use it to check whether member functions and class relationships support a use case. The diagram can document a design at either a high or low level of detail. section 4.6 section 4.8
Book catalogue search
A customer fills target attributes in a Form and presses Submit. The Form notifies the Catalogue, which searches Book objects; Books match Attributes objects, and the Catalogue displays the matching books. section 4.6
Figure 4.16 A UML sequence diagram for a customer searching for books that match target book attributes. At a high level, it shows the runtime interactions among objects involved in this use case as time goes from top to bottom. Such a diagram helps to ensure that we designed the class relationships correctly.
Trace a complete search use case from the customer through Form, Catalogue, Book, and Attributes objects. section 4.6
