/** * Declares an association between this object and a ChildFittingRuleRow object. * * @param ChildFittingRuleRow $v * @return $this|\ECP\ItemFilterRule The current object (for fluent API support) * @throws PropelException */ public function setFittingRuleRow(ChildFittingRuleRow $v = null) { if ($v === null) { $this->setFittingrulerowid(NULL); } else { $this->setFittingrulerowid($v->getId()); } $this->aFittingRuleRow = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildFittingRuleRow object, it will not be re-added. if ($v !== null) { $v->addItemFilterRule($this); } return $this; }