开发者

Bi-directional association between Footballer Mapper and Bowler Mapper

开发者 https://www.devze.com 2022-12-17 16:56 出处:网络
This question is about a specific UML diagram in the book called Patterns Of Enterprise Application Architecture, by Martin Fowler.

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

Wh开发者_如何学编程y is there a 'bi-directional association' between Footballer Mapper and Bowler Mapper in the 'Inheritance Mapper' Class Diagram on page 302?


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.

0

精彩评论

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