开发者

How to show namespace in UML?

开发者 https://www.devze.com 2023-01-24 00:16 出处:网络
How to show that certain types are in a specific namespace? Accordi开发者_运维百科ngly to UML 2.You can create the package and include those items in the package. Note that UML2 has the notion of pack

How to show that certain types are in a specific namespace? Accordi开发者_运维百科ngly to UML 2.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消