Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Mastering UML with Rational Rose 2002.pdf
Скачиваний:
137
Добавлен:
02.05.2014
Размер:
9.68 Mб
Скачать

Chapter 8: Relationships

Select the desired relationship.

2.

Select Edit → Change Into → Association.

Deleting Associations

There are two ways to delete an association. The first is to delete it from a single diagram. In this case, Rose still knows the association exists, and keeps track of it behind the scenes. Although the association may be deleted from one diagram, it may still exist on other Class diagrams.

The second way to delete an association is to remove it from the entire Rose model. In this case, the relationship is removed from all Class diagrams, and Rose no longer keeps track of it.

To delete an association from the diagram only:

1.

Select the desired association.

2.

Press the Delete key.

OR

1.

Select the desired association.

2.

Select Edit → Delete.

Note Deleting an association from the diagram does not delete it from the model. To delete an association from the model:

1.

Select the desired association.

2.

Press Ctrl+D.

OR

1.

Select the desired association.

2.

Select Edit → Delete from Model.

OR

1.

Open the specification window for either class participating in the relationship.

2.

310