Binding Associations

This option allows you perform attribute binding. Choose New. The framework adds the source and target node details. In the Source Attribute column, choose browse to list source attributes. Choose a source attribute. In the Target Attribute column, choose browse to list target Attributes. Choose a target attribute to map to the source attribute.

Context

Binding is required to map the source and target node instances of respective business objects involved in an association. The binding types are:

  • Attribute Binding: Use this binding to map attributes of the source node and the target node instances.
  • Constant Binding: Use this binding to map attributes of the source node or target node with a constant defined in a constants interface or class.
  • Filter Binding: Use this binding to map attributes of the source node or target node with a filter attribute defined within a filter structure.

Note

To bind a filter attribute, you have to choose an existing filter structure or create a new filter structure while adding an association.

The operators used for binding and their respective expansions are as below:

  • EQ = Equal to
  • GE = Greater than or equal to
  • LE = Less than or equal to
  • GT = Greater than
  • LT = Less than
  • NE = Not equal to
Prerequisite
  • You have already added an association.

Procedure

  1. Select an association.
  2. Press Ctrl + click to open the association Overview page.
  3. Choose the required binding option:

    For attribute binding:

    • Choose New.

      The source and the target nodes are added.

    • In the Source Attribute column, choose (Browse).
    • In the Operator column, choose an operator.
    • In the Target Attribute column, choose (Browse).
    For Constant Binding:
    • Choose New.
    • In the Node column, choose a node from the list.
    • In the Attribute column, choose (Browse).
    • In the Operator column, choose an operator.
    • In the Constants Interface column, choose (Browse).
    • In the Constant column, choose (Browse).
    For Filter Binding:
    • Choose New.
    • In the Node column, choose a node from the list.
    • In the Attribute column, choose (Browse).
    • In the Operator column, choose an operator.
    • In the Filter Attribute column, choose (Browse).
  4. Save the binding.