Чем отличается Navigable Composition и NonNavigable Composition(Прочитано 8471 раз)
Не могу понять чем отличается Navigable Composition и NonNavigable Composition

Пример из спецификации: Figure 7.8 - Instances diagram of the Kernel package



Навигация показывает область видимости. Т.е. InstanceSpecification может иметь доступ к Slot и Slot может иметь доступ к InstanceSpecification, а вот ValueSpecification не может иметь доступ к Slot.
Не важно какой ты сейчас - большой или маленький, важно - как ты растешь.
Б.А.С.



Спасибо за ответ.

Подтверждаю и расширяю ответ цитатой из спецификации:

-> UML Superstructure Specification v2.1.2, стр.41:
"Navigability means instances participating in links at runtime (instances of an association) can be accessed efficiently from instances participating in links at the other ends of the association. The precise mechanism by which such access is achieved is implementation specific. If an end is not navigable, access from the other ends may or may not be possible, and if it is, it might not be efficient. Note that tools operating on UML models are not prevented from navigating associations from non-navigable ends. ".




 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19