id = $id; return $this; } /** * Get the value of id. * * @return integer */ public function getId() { return $this->id; } /** * Set the value of objetivo_numero. * * @param integer $objetivo_numero * @return \UBV\SurUbvBundle\Entity\ObjetivoEspecifico */ public function setObjetivoNumero($objetivo_numero) { $this->objetivo_numero = $objetivo_numero; return $this; } /** * Get the value of objetivo_numero. * * @return integer */ public function getObjetivoNumero() { return $this->objetivo_numero; } /** * Set the value of descripcion. * * @param string $descripcion * @return \UBV\SurUbvBundle\Entity\ObjetivoEspecifico */ public function setDescripcion($descripcion) { $this->descripcion = $descripcion; return $this; } /** * Get the value of descripcion. * * @return string */ public function getDescripcion() { return $this->descripcion; } /** * Set Proyecto entity (many to one). * * @param \UBV\SurUbvBundle\Entity\Proyecto $proyecto * @return \UBV\SurUbvBundle\Entity\ObjetivoEspecifico */ public function setProyecto(Proyecto $proyecto = null) { $this->proyecto = $proyecto; return $this; } /** * Get Proyecto entity (many to one). * * @return \UBV\SurUbvBundle\Entity\Proyecto */ public function getProyecto() { return $this->proyecto; } public function __sleep() { return array('id', 'objetivo_numero', 'descripcion', 'proyecto_id'); } public function __toString() { return $this->descripcion; } }