Examining the sequence diagram you produced in Exercise 5-3, identify the associations between these objects.
Exercise 5-3:
Arrange the objects listed in Exercises 5-1 and 5-2 horizontally on a sequence diagram, the boundary objects to the left, then the control object you identified, and finally, the entity objects. Draw the sequence of interactions resulting from dropping the file into a folder. For now, ignore the exceptional cases.
Exercise 5-1:
Consider a file system with a graphical user interface, such as Macintosh's Finder, Microsoft's Windows Explorer, or Linux's KDE. The following objects were identified from a use case describing how to copy a file from a floppy disk to a hard disk: File, Icon, TrashCan, Folder, Disk, Pointer. Specify which are entity objects, which are boundary objects, and which are control objects.
Exercise 5-2:
Assuming the same file system as before, consider a scenario consisting of selecting a File on a floppy, dragging it to Folder and releasing the mouse. Identify and define at least one control object associated with this scenario.