Adeptia Connect offers you two kind of interfaces (textual and graphical) to create and use mapping rules while mapping the source and destination elements. The interfaces are known as "Textual Rule" and "Graphical Rule". The graphical interface makes it easy for you to see the graphical representation of elements and allows you to perform mapping by connecting source element to any target element or to any mapping functions. Applying mapping rule is also very convenient as you can see the functions graphically and use the context menu options to connect to both source and target elements.
This section guides you on how to use the Graphical rule option while mapping and also introduces the different components of this option.
Elements of Graphical Rule
The Mapping Expression area has a floating menu that contains two options for you to switch between the Graphical and Textual rule. You can drag this floating menu anywhere in the Mapping Expression area.
Graphical elements are components which are used to represent any source, destination, mapping function, or parameter elements visually in Mapping Expression area. The following types of annotations described type, behavior, and functioning of the graphical interface and their elements.
This component itself composed of various parts which are described below:
Inputs
Label
Context Menus
Inputs: This shows the number of inputs a mapping function or a target element can have. Also, you can drag a line from input element to this section to use that as input in this mapping function/target element.
Label & Graphical Element Type: Label displays the name and Graphical Element Type displays the type of element which is used in mapping rule. Type is displayed at the right top corner of the mapping element while name is displayed below it. See the above screenshot. Possible types are as below
f(x) : For mapping function, variables, custom methods, key function, context variable, connection variable etc.
S : For source element.
D : For destination element.
T : For XSL Template.
VM : For Value Map
C : For Constant Value
Context Menus: Context menus are used to perform below actions:
Start connecting lines to map an element to another element(s).
Remove an element/box from the graphical mapping workspace.
More Menu will have below options
Information about mapping element
Remove incoming mappings from the elements
Add selected graphical mapping element's syntax/expression as a local variable.