UML Designer User's Guide
To show the associations between the elements in the library catalog
system, follow these steps:
- Use
Conformance to connect the CatalogEntry class figure to
the <CatalogEntry> protocol figure. This indicates that
the CatalogEntry class conforms to the <CatalogEntry>
protocol.
- Use
Association to connect the Catalog class figure (the
source) to the CatalogEntry class figure (the destination).
This indicates that an association exists between the two elements (a
Catalog must keep track of CatalogEntry objects).
When first created, an association is labeled with the default generated
name, which is based on the name of the destination element. We will
change this label later to more correctly describe the association.
- Use
Association to connect the Library class figure (the
source) to the Catalog class figure (the destination).
Again, this indicates that an association exists (in this case, a
Library uses one or more Catalog objects to keep track
of its books).
- Finally, use
Dependency to connect the Catalog class figure (the
source) to the <CatalogEntry> protocol figure (the
destination). This indicates that the Catalog class figure
depends upon the interface specified by the <CatalogEntry>
protocol. This is because some of the methods of Catalog
require parameters of type <CatalogEntry>.
With all of the relationships added, the relationships in the diagram
should look something like this (you may have arranged the figures
differently):

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