Syntax
<mapping> := insertable = class_name
Parameters
insertable
An attribute referenced by the insertable class.
class_name
The fully qualified name, as referenced by the current class, to apply to the attribute.
Description
The mapping command clause can be specified with the Insert logic command to map an attribute referenced by the specified insertable class to the attribute as referenced by the current class.
This mapping is necessary as the attributes referenced in the logic of an insertable class do not have to be fully qualified. Consequently, when inserted into the logic of the current class, these attribute references might exist in more than one context.
Example
This example inserts the MyInsertable insertable class into the logic of the current class. The Main method of MyInsertable contains the following logic sequence:
Move aValue MyX Add MyX MyZ
The following Insert logic statements in the logic of the current class have the different results:
Insert MyInsertable(MyX = MyOwner & MyZ = MyZ) : Results in: : Move aValue MyOwner : Add MyOwner MyZ
Note: The mappings are redundant in this case and do not need to be supplied. They are used here for illustrative purposes only.
Insert MyInsertable(MyX = MyOwner.MyX & MyZ = MyZ) : Results in: : Move aValue MyOwner.MyX : Add MyOwner.MyX MyZ Insert MyInsertable(MyX = X[Inx1, Inx2] & MyZ = MyGroup.MySubGroup.MyZ) : Results in: : Move aValue X[Inx1, Inx2] : Add X[Inx1, Inx2] MyGroup.MySubGroup.MyZ