UML Designer User's Guide


Adding method calls to the diagram

To show the sequence of events involved in adding a book to the catalog, you must now add figures representing the method calls between the objects in the diagram. Each figure shows a single method call between a sender and a receiver, as well as the return after the method has completed. In addition, the sequence diagram also shows activation on each object's lifeline, so you can see which objects are active (that is, which objects are currently executing in response to method calls) at any given time.

In general terms, the sequence of events involved in adding a book to the catalog goes something like this:

  1. A librarian (an actor outside the system) uses the library system interface to create a new catalog entry. The new catalog entry records the information describing the new book.
  2. The librarian uses the library system interface to add the new catalog entry to the catalog.
  3. The catalog queries the catalog entry for its descriptive information for indexing purposes.
  4. The catalog allocates an accession number and assigns it to the new entry.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]