public function setEstablecimiento(Establecimiento $v = null) { if ($v === null) { $this->setFkEstablecimientoId(NULL); } else { $this->setFkEstablecimientoId($v->getId()); } $this->aEstablecimiento = $v; if ($v !== null) { $v->addCiclolectivo($this); } return $this; }