I'm creating a uml class diagram and I would like to know if anyone can assist me with this. I would like to know how to represent a dictionary type using UML notation.
for example how can I represent the following dictionary(Dictionary<FileType,StorageType>
)type in UML.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
It depends on what information you are trying to convey in your diagram. However you could:
- Attach a stereotype to your relationship
- Use an association class
- Use a Ternary association
- Decide the collection type is an implementation detail and not show it
- Discover some additional behaviours about the association and promote
回答2:
I used to represent it with a qualified association