事务模式
顾名思义,事务模式强调以“事务(Transaction) ”为中心,串起跟事务相关的事务明细(TransactionLineItem) 、涉众(Participant) 、地点(Place) 、物品(Item) ,如图1-6 所示。选择模式在EA当中的使用模式EA设置对齐不过,此处对“事务”的定义比较广义,并不局限于一般的商业交易,系统中所有“必须记录的事件”都是我们的候选事务。因此,事务可能是一个短暂的时间片刻,也可能是一小段时间。所以,应用图 1-6 的事务模式,分析师大概可以很快得出如图 1-7 所示的类图雏型。