How to show namespace in UML?

旧城冷巷雨未停 提交于 2019-12-04 02:24:50

You can create the package and include those items in the package. Note that UML2 has the notion of package, that is also a namespace (and gets translated as such into programming languages).

I'd say that the package construct is close enough to the idea of namespace. Use that.

As far as I know, there is no specific "namespace" notation in UML.

Just use a package around any components that belong in a specific namespace (and use the namespace as the package name).

In UML we use package with <> stereotype for modeling namespace. See UML v.2.5. 7.4 Namespaces for details.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!