足球运动员映射器和投球手映射器之间的双向关联

发布于 2024-08-19 06:09:56 字数 156 浏览 4 评论 0原文

这个问题是关于 Martin Fowler 所著的《企业应用程序架构模式》一书中的一个特定的 UML 图。

为什么 Footballer MapperBowler Mapper 之间存在“双向关联” 在第 302 页的“继承映射器”类图中?

This question is about a specific UML diagram in the book called Patterns Of Enterprise Application Architecture, by Martin Fowler.

Why is there a 'bi-directional association' between Footballer Mapper and Bowler Mapper
in the 'Inheritance Mapper' Class Diagram on page 302?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光无声 2024-08-26 06:09:56

没有。

您正在查看从球员映射器到具体映射器之一的聚合:足球运动员映射器、投球手映射器和板球运动员映射器。

如果您阅读第 304 页的第二段,他会解释这种设计选择。

There isn't.

You're looking at an aggregation from the Player Mapper to one of the concrete mappers: Footballer Mapper, Bowler Mapper and Cricketer Mapper.

If you read the 2nd paragraph on page 304, he explains this design choice.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文