知识卡片
承运段与操作事件记录运输过程
原书货运示例把 Carrier Movement 定义为某承运工具从一个地点到另一个地点的一次具体运输;货物可在一个或多个承运段中搭载。Handling Event 则记录对货物发生的离散操作,如装船或清关。二者分开,才能既表达运输路径,也表达沿途发生的处理事件;图7.1将操作事件关联到货物,并可关联相应承运段。它们是模型概念,非实际承运记录。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第07章|Introducing the Cargo Shipping System · 查看原书依据
Carrier Movement represents one particular trip by a particular Carrier (such as a truck or a ship) from one Location to another.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第49章《原书第07章|Introducing the Cargo Shipping System》(源文件:_epub-src/0321125215_ch07lev1sec1.html;图7.1)
- 结论依据:原文分别定义承运段与货物处理事件,说明货物可搭乘多个承运段;图7.1展示 Cargo、Handling Event、Carrier Movement 的关系。
- 原始内容:A Handling Event is a discrete action taken with the Cargo , such as loading it onto a ship or clearing it through customs. ... Carrier Movement represents one particular trip by a particular Carrier (such as a truck or a ship) from one Location to another.