Name the class Location.

Repeat these steps to create IO_entity classes WeatherData and HazardousWeatherAlert.

In the Project Explorer, expand the 00 Enterprise Level folder.

Select all three IO_entity classes.

Drag and drop the three classes into the Logical Elements package to relocate them.

Figure 6-41shows the context diagram.

Figure 6-41 Context diagram with I/O entities

￿Create associations for the I/O entity classes:

In the context diagram select the Association element from the Palette.

Drag the mouse from the Alert System actor to the HazardousWeatherAlert I/O_entity.

In the Properties view for the new association select the Stereotypes tab.

Click Apply Stereotypes.

Select <<receive>> in the Apply Stereotypes dialog.

Click OK (Figure 6-42).

Chapter 6. Tool support for MDSD 127

Page 143
Image 143
IBM SG24-7368-00 manual 41shows the context diagram