uCosminexus Service Platform, Basic Development Guide
When you use the loop node function to map a transformation-source node to a transformation-destination node, that loop node function is automatically mapped as a looping target of a descendant node's mapping source. Also, deleting the loop node function and mapping lines cancel the looping of a node. In such a case, the loop node function set up in the ancestor node of the node, for which looping is cancelled, will be automatically mapped as a looping target of the mapping source in the descendant node. This is called a looping dependent target.
A looping dependent target is set up in the following cases:
The timing at which a looping dependent target is mapped in each case is explained below.
This subsection explains the timing at which the looping dependent target is mapped when a loop is specified for a node and its descendant node is mapped later.
Figure 6-26 Mapping when the loop node function is used
First, the loop node function is used to map a transformation-source node A to a transformation-destination node B.
Next, node C, which is a descendant node of transformation-source node A, is mapped to node D, which is a descendant node of transformation-source node B. The following figure shows the timing at which the looping dependent target is mapped when no function is used for the descendant node.
Figure 6-27 Timing at which the looping dependent target is mapped (When no function is used for the descendant node)
When node D is connected, a looping dependent target is automatically set up for the descendant node. In Figure 6-27, loop1 is set up for the looping dependent target of descendant node D's mapping source.
If multiple functions are used for mapping a descendant transformation-source node to the transformation-destination node, a looping dependent target is automatically set up when the transformation-destination node is connected. The following figure shows the timing at which the looping dependent target is mapped when multiple functions are used for the descendant node.
Figure 6-28 Timing at which the looping dependent target is mapped (When multiple functions are used for the descendant node)
This subsection explains the timing at which the looping dependent target is mapped when a node is mapped, and a loop is then specified for its ancestor node.
Figure 6-29 Mapping when the loop node function is not used
First, a transformation-source node A is mapped to a transformation-destination node B.
Next, node C, which is a descendant node of transformation-source node A, is mapped to node D, which is a descendant node of transformation-source node B. The following figure shows the timing at which the looping dependent target is mapped when the ancestor node is mapped later.
Figure 6-30 Timing at which the looping dependent target is mapped (When the ancestor node is mapped later)
When node C is mapped to node D, the looping dependent target is automatically set up for the descendant node. In Figure 6-29, the looping dependent target loop1 is set up for the descendant node B.
The timing at which the looping dependent target is mapped when the looping of a node for which looping is set up in the ancestor node is cancelled is as follows:
Figure 6-31 Mapping when the loop node function is used and when the loop node function is not used
First, a transformation-source node A is mapped to a transformation-destination node B.
Next, the loop node function is used, and node C, which is a descendant node of transformation-source node A, is mapped to node D, which is a descendant node of transformation-source node B
After this, the loop node function is used, and the transformation-source node E that is the ancestor node of the transformation-source node A and transformation-source node C is mapped to the transformation-destination node F that is the ancestor node of the transformation-destination node B and transformation-destination node D.
Figure 6-32 Timing at which the looping dependent is mapped (When mapping is cancelled)
When the mapping of node C to node D is cancelled, the looping dependent target is set up automatically for the descendant node of the node in which the mapping is cancelled. In Figure 6-31, the looping dependent target loop1 is set up for the descendant node B.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.