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