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