UML Designer User's Guide
Three objects are involved in the "Adding a book" scenario:
- A Library object, representing the system context; this
object creates the new catalog entry and initiates the cataloguing
operation.
- A Catalog object, which reads the necessary information from
the catalog entry and assigns it an accession number.
- A CatalogEntry object, which is created and cataloged.
To add these objects to the sequence diagram, follow these steps:
- Select
Object from the tool bar.
- Use mouse button 1 to place the new figure near the left edge of the
drawing surface (adjacent to the system activation).
An object figure appears by default as an icon at the top of the drawing
surface with a dashed lifeline extending downward. The
vertical placement of the mouse pointer does not matter when you add a new
object to a sequence diagram; only its horizontal position is
important.
- Select Attach from the pop-up menu of the new object
figure.
- When prompted, select Library as the class design to link
to. UML Designer automatically creates a new instance element for the
class design you select.
- Select OK. The object figure is now labeled
Library.
- Repeat the same procedure for the other two object figures, attaching them
to Catalog and CatalogEntry respectively.

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