public function setRol(Rol $v = null) { if ($v === null) { $this->setFkRolId(NULL); } else { $this->setFkRolId($v->getId()); } $this->aRol = $v; if ($v !== null) { $v->addUsuarioRol($this); } return $this; }