5.6. More on Class Diagrams in ArgoUML (To be written)

5.6.1. Classes (To be written)

More on identifying classes from existing materials and use of stereotypes. To be written...

5.6.2. Class Attributes and Operations (To be written)

To be written...

5.6.2.1. Class Attributes (To be written)

To be written...

5.6.2.2. Class Operations (To be written)

To be written...

5.6.3. Advanced Class Features

5.6.3.1. Operations on Interfaces

5.6.3.1.1. Interfaces that extend interfaces

Add a unnamed interface to the current classdiagram by single-clicking on the interface icon in the tool bar and then clicking at the diagram pane (see Figure 5.1, “Selecting the Interface tool”).

Figure 5.1. Selecting the Interface tool

Selecting the Interface tool

Then double click on the interfaces name field to change it's name as shown in Figure 5.2, “Interface artifact on the Class Diagram”.

Figure 5.2. Interface artifact on the Class Diagram

Interface artifact on the Class Diagram

and type a name for it (like TestInterface in this case). Press “Enter” when the name is complete. (You could also enter the name by going to the Properties Tab in the Details Pane after adding the interface.)

Add another interface with a different by repeating the last 2 steps. Then single-click on the Generalization icon in the tool bar as shown in Figure 5.3, “Generalization on the Class Diagram tool bar”.

Figure 5.3. Generalization on the Class Diagram tool bar

Generalization on the Class Diagram tool bar

move the mouse pointer to the subinterface, press the left mouse button and drag the generalization to the superinterface, where you release the mouse button. Figure Figure 5.4, “Generalization between two Interfaces.” shows how your diagram should look now.

Figure 5.4. Generalization between two Interfaces.

Generalization between two Interfaces.

By clicking on the subinterface and the source tab properties pane, and then selecting Java Notation for the source tab, you can see that the interface actually extends it's superinterface.

5.6.3.2. Stereotypes (To be written)

To be written...