原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
35 原书第05章|Associations
tment, reducing its multiplicity. This says there can be only one investment per stock. Figure 5.4.
This wouldn't be true of all business situations (for example, if the lots need to be tracked), but whatever the particular rules, as constraints on associations are discovered they should be included in the model and implementation.
They make the model more precise and the implementation easier to maintain. The Java implementation
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch05lev1sec1.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce