psdi.app.recontask.engine

Class ReconLinkExpression



  • public class ReconLinkExpression
    extends ReconExpression
    This class represents a reconciliation link expression and contains methods for evaluating it.
    • Constructor Detail

      • ReconLinkExpression

        public ReconLinkExpression(ReconInfo reconInfo)
        Constructor sets the ReconInfo class into this class.
    • Method Detail

      • readClause

        protected void readClause(MboRemote clause)
                           throws MXException,
                                  java.rmi.RemoteException
        This method reads a clause of a link rule. A link task may have many link rules, each of which must have one or more link clauses. The link clause is basically part of the link rule's overall evaluation expression.
        Specified by:
        readClause in class ReconExpression
        Throws:
        MXException
        java.rmi.RemoteException
      • evaluateLinkExpressionTree

        protected java.util.List evaluateLinkExpressionTree(BinaryTreeNode root,
                                                            ReconValue leadingObject,
                                                            SubordinateSetAttribute[] subordinateSetAttributes)
                                                     throws MXApplicationException
        Traverse the binary tree using a recursive algorithm

        The pseudocode is

        if (root != null)

        if ( [current node contains an operator] )

        x = evaluateTree(root.left_child);

        y = evaluateTree(root.right_child);

        [Perform operation on x and y, specified by the operator and store result in z]

        return z;

        else

        return root->data;

        Throws:
        MXApplicationException