开发者

How to show @annotions and Dependency Injection in UML Diagram

开发者 https://www.devze.com 2023-02-09 03:02 出处:网络
Folks, How you show DI and @annotations on UML Diagram? 开发者_JAVA百科 ThanksThe best choice imho for this purposes would be stereotypes with tagged values. UML can be extended with new elements - st

Folks, How you show DI and @annotations on UML Diagram?

开发者_JAVA百科

Thanks


The best choice imho for this purposes would be stereotypes with tagged values. UML can be extended with new elements - stereotypes, which might have key-value pairs (tagged values). This suffices to describe everything annotations can. In the other answer you can see a concrete example of stereotypes. Even simpler approach would be to use notes to add more details.

0

精彩评论

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