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 #5

Previous step  |  Back to ArgoUML Tours  |  Next step

Building a Class Diagram

Step #5: Creating Attributes

Now you should have the situation as shown in the figure below.
To add an attribute to the Course class, click on the "New Attribute" icon . To rename the attribute, you can double-click on the middle section of Course class to edit the attribute in the diagram, or you can edit the name field in the properties tab in the Details pane (bottom-right). Name the first attribute "courseID".
Repeat the process to add the "name" attribute. To be able to add an attribute, you have to select the class first.
Change the type of the second attribute into "String" by double-clicking on the attribute, so that it becomes visible in the properties tab. Then select the "Type" combobox and choose "String".

Previous step  |  Next step


Back to ArgoUML Tours
Back to ArgoUML Home