定义操作字段与中间对象之间的映射。
Define the mapping between action fields and intermediate objects.
中间对象是业务对象的概念表示形式。
An intermediate object is a conceptual representation of a business object.
滚动日志,查看中间对象的实例化情况。
Scroll through the log to see how intermediate objects are instantiated.
步骤7:定义从中间对象到操作的映射。
Step 7: Define mapping from intermediate objects to actions.
定义中间对象字段与事件字段之间的映射。
Define the mapping between intermediate object fields and event fields.
下一步是定义中间对象。
步骤5:定义中间对象。
进出运行时系统的所有数据都通过中间对象。
All data going into and out of the run-time system goes through intermediate objects.
考虑需要在历史记录中记录哪些中间对象文件。
Consider which intermediate object files you need to record in history.
定义一个中间对象。
该示例应用程序使用单个中间对象。
The sample application uses a single intermediate object. To define the intermediate object, do the following
它们通常用于计算事件中不存在的中间对象字段。
They are typically used to compute fields of the intermediate object that are not present in the event.
事件对象数据字段将成为中间对象的字段构造器。
The event object data field will be the field constructor of the intermediate object.
这将指定在事件字段的基础上构建中间对象的字段。
This specifies the fields of the intermediate object that are built from the event fields.
尤其是,要检查应该填充的中间对象字段是否存在。
In particular, look to see whether intermediate object fields that should be populated are there or not.
您将描述事件和所产生的操作,以及定义中间对象。
You'll describe the events and the resulting actions, as well as define the intermediate objects.
中间对象:将业务对象与来自多个源的数据组合起来。
Intermediate objects: Composite business objects with that data can come from multiple sources.
可以将中间对象的一个或多个字段映射到某个表中的列。
One or more fields of the intermediate object can be mapped to columns in a table.
这将指定在事件字段的基础上构造中间对象的所有字段。
This specifies all the fields of the intermediate object that are constructed from event fields.
中间对象将成为操作对象的字段构造器,如图19所示。
The intermediate object will be the field constructor of the action object, as shown in Figure 19.
要定义“Customer”中间对象,请执行以下操作
图18显示了用于定义中间对象的customer表。
Figure 18 shows the Customer table that will be used to define an intermediate object.
在样例应用程序中,所有中间对象都使用来自传入事件的数据填充。
In the sample application, all the intermediate objects are populated with data from incoming events.
下一步,您需要指定如何将每个事件对象字段映射到中间对象字段。
Next you need to specify how each of the event object fields is mapped to the intermediate object fields.
要使用映射键从数据源检索数据以构造中间对象,请执行以下操作。
To retrieve data from a data source using mapped keys for constructing an intermediate object.
注意:该工具在方括号中显示了为每个事件创建的中间对象,如图5所示。
Note: the tool shows you in square brackets the intermediate objects that are created for each event, as shown in Figure 5.
该中间对象的任务就是定位恰当的实现,以使代码不必自己进行发现操作。
The job of that intermediary object is to locate an appropriate implementation so that our code does not have to perform the discovery operation itself.
对于这其中每个字段,添加前缀为TradeObject的关联中间对象字段。
For each of these add the associated intermediate object field prefixed with TradeObject.
在定义中间对象时,您可以选择将哪些字段记录到历史记录中,如图27 所示。
When defining an intermediate object, you can select which fields will be recorded in history, as shown in Figure 27.
创建业务对象层,即所谓的中间对象,它们将用作事件评估中使用的数据的占位符。
Create a business object layer, called intermediate objects, which serves as a placeholder for data used in event evaluation.
应用推荐