public function setTipoRegistro($TipoRegistro) { $this->TipoRegistro = $TipoRegistro; return $this; }