argouml-tigris-org.github.io

Web pages for the ArgoUML project.

This used to be located at http://argouml.tigris.org.
ArgoUML Tours - Building a Class Diagram - Step #10

Previous step  |  Back to ArgoUML Tours  |  Next step

Building a Class Diagram

Step #10: Creating an Interface, setting Navigability

Now, if you want the Course class to use an interface, use the Interface icon in the toolbar, and then click anywhere in the Editor pane (top-right).
Name the interface "Teacher", and create the operation "giveTest" on this interface. Set the result and parameter of this operation as indicated in the figure below.

Then add an association between the Course class and the new interface by using the tool on the toolbar. Name it "taught_by".
Note that the association is made unidirectional by ArgoUML, according the UML principles.
Now, you should have the situation as shown in the figure below.

Previous step  |  Next step


Back to ArgoUML Tours
Back to ArgoUML Home