Home CPSC 240

Lab 8: UML Associations

 

Objective

To get experience with UML associations.


 

Task

For this lab, you will modify the UML class diagram I provided you with for assignment 1. The diagram is here:

If you are using Dia, you can download Item.dia to modify.

I gave you diagrams for the individual classes, but did not provide any associations between the classes.

For this lab, you should add associations to the diagram.


 

Details

In particular, you should note the following associations:

So you should have 5 association lines in the diagram. Double-check that you have the arrows pointing the right way.

Adding this information to the diagram makes it more useful, as we can see how the various classes relate to one another.


 

Submitting

When you are done, please email your UML diagram to ifinlay@umw.edu.

If you are using Dia, you can email me either a .dia file, or a .png image. If you are using something else, please send me a .png

Copyright © 2019 Ian Finlayson | Licensed under a Creative Commons Attribution 4.0 International License.