类图反馈
Just wondering if anyone can give me feedback on my class diagram. I want to make sure it's correct and also any changes that are needed to it.
Thanks
Image link: https://i.sstatic.net/k4RA2.jpg
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在不了解具体规则和规则的情况下,很难提供明确的答案。您的域的要求。然而:假设没有什么异常情况,一些观察结果是:
更一般地说,我建议命名关联结尾 - 最好使用动词短语,而不是角色名称。它确实可以帮助读者理解这些关系,并帮助您(建模者)确保您理解该领域。
嗯。
Difficult to provide a definitive answer without knowing the specific rules & requirements of your domain. However: assuming there's nothing unusual, some observations:
More generally I'd recommend naming the association ends - preferably with verb phrases, not role names. It really helps readers understand the relationships - as well as helping you (the modeller) ensure you understand the domain.
hth.