protected function setAssociation($objRef, $asscObj)
    {
        $this->association["AsscObjName"] = $asscObj->objectName;
        $this->association["Relationship"] = $objRef->relationship;
        $this->association["Table"] = $objRef->table;
        $this->association["Column"] = $objRef->column;
        $this->association["FieldRef"] = $objRef->fieldRef;
        $this->association["FieldRefVal"] = $asscObj->getFieldValue($objRef->fieldRef);
        $this->association["CondColumn"] = $objRef->condColumn;
        $this->association["CondValue"] = $objRef->condValue;
        $this->association["Condition"] = $objRef->condition;
        if ($objRef->relationship == "M-M" || $objRef->relationship == "Self-Self") {
            $this->association["XTable"] = $objRef->xTable;
            $this->association["XColumn1"] = $objRef->xColumn1;
            $this->association["XColumn2"] = $objRef->xColumn2;
            $this->association["XKeyColumn"] = $objRef->xKeyColumn;
            $this->association["XDataObj"] = $objRef->xDataObj;
        }
    }
protected function setAssociation($objRef, $asscObj)
    {
        $this->association["AsscObjName"] = $asscObj->objectName;
        $this->association["Relationship"] = $objRef->relationship;
        $this->association["Table"] = $objRef->table;
        $this->association["Column"] = $objRef->column;
        $this->association["FieldRef"] = $objRef->fieldRef;
        $this->association["FieldRefVal"] = $asscObj->getFieldValue($objRef->fieldRef);
        $this->association["CondColumn"] = $objRef->condColumn;
        $this->association["CondValue"] = $objRef->condValue;
        $this->association["Condition"] = $objRef->condition;
        if ($objRef->relationship == "M-M" || $objRef->relationship == "Self-Self") {
            $this->association["XTable"] = $objRef->xTable;
            $this->association["XColumn1"] = $objRef->xColumn1;
            $this->association["XColumn2"] = $objRef->xColumn2;
            $this->association["XKeyColumn"] = $objRef->xKeyColumn;
            $this->association["XDataObj"] = $objRef->xDataObj;
        }
    }
protected function setAssociation ( $ objRef , $ asscObj ) { $ this -> association [ "AsscObjName" ] = $ asscObj -> objectName ; $ this -> association [ "Relationship" ] = $ objRef -> relationship ; $ this -> association [ "Table" ] = $ objRef -> table ; $ this -> association [ "Column" ] = $ objRef -> column ; $ this -> association [ "FieldRef" ] = $ objRef -> fieldRef ; $ this -> association [ "FieldRefVal" ] = $ asscObj -> getFieldValue ( $ objRef -> fieldRef ) ; $ this -> association [ "CondColumn" ] = $ objRef -> condColumn ; $ this -> association [ "CondValue" ] = $ objRef -> condValue ; $ this -> association [ "Condition" ] = $ objRef -> condition ; if ( $ objRef -> relationship == "M-M" || $ objRef -> relationship == "Self-Self" ) { $ this -> association [ "XTable" ] = $ objRef -> xTable ; $ this -> association [ "XColumn1" ] = $ objRef -> xColumn1 ; $ this -> association [ "XColumn2" ] = $ objRef -> xColumn2 ; $ this -> association [ "XKeyColumn" ] = $ objRef -> xKeyColumn ; $ this -> association [ "XDataObj" ] = $ objRef -> xDataObj ; } }
Set the association of the object

@param ObjReference $objRef
@param BizDataObj $asscObj
@return void
Set the association of the object