/** * Declares an association between this object and a CcWebstream object. * * @param CcWebstream $v * @return CcSchedule The current object (for fluent API support) * @throws PropelException */ public function setCcWebstream(CcWebstream $v = null) { if ($v === null) { $this->setDbStreamId(NULL); } else { $this->setDbStreamId($v->getDbId()); } $this->aCcWebstream = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the CcWebstream object, it will not be re-added. if ($v !== null) { $v->addCcSchedule($this); } return $this; }