Home CPSC 330

UML Exercise 2


To become familiar with creating UML sequence diagrams in Dia.


For this lab, you will create a UML sequence diagram for an email program.

You should create a sequence diagram for sending an email. This will consist of the following sequence of method calls:

  1. Call a create method of a Message class.
  2. This method will call a getText method of an Editor class which will return a String.
  3. The create method returns the Message.
  4. Call the send method of the Message class.
  5. The send function returns a Confirmation object.
  6. Call the display method on the Confirmation object.

The object on the far left can be called "Main".



When you are finished, email the diagram (.dia file) to ifinlay@umw.edu.

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