开发者

How to show @annotions and Dependency Injection in UML Diagram

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜