9 const unbounded =
'unbounded';
30 if (is_numeric(key($array)))
32 foreach ($array as $key => $value)
34 $array[$key] = $this->array_to_objecttree($value);
38 $Object = new \stdClass;
39 foreach ($array as $key => $value)
43 $Object->$key = $this->array_to_objecttree($value);
47 $Object->$key = $value;
62 if (is_array($obj) || is_object($obj))
65 foreach ($obj as $key => $value)
75 private function __anyType_SoapVar($childData, $fieldName, $namespace) {
77 if (is_a($childData,
'DateTime')) {
80 return new \SoapVar($childData->format(\DateTime::ATOM), XSD_DATETIME,
'dateTime',
'http://www.w3.org/2001/XMLSchema', $fieldName, $namespace);
81 } elseif (is_int($childData)) {
83 return new \SoapVar($childData, XSD_INTEGER, null, null, $fieldName, $namespace);
87 return new \SoapVar($childData, XSD_STRING,
'string',
'http://www.w3.org/2001/XMLSchema', $fieldName, $namespace);
90 private function __basic_SoapVar($childData, $basicType, $fieldName, $namespace) {
93 return new \SoapVar($childData->format(\DateTime::ATOM), $basicType, null, null, $fieldName, $namespace);
96 return new \SoapVar($childData, $basicType, null, null, $fieldName, $namespace);
100 public function __doChild($parentTag, $value, $fieldName, $type, $namespace, $minOccurs, $maxOccurs)
103 $fieldSet = isset($value);
105 if ($minOccurs > 0) {
106 throw new \Exception(
"No se ha encontrado el subcampo obligatorio '" . $fieldName .
'"');
112 $vChildData = $value;
113 if ($maxOccurs == 1) {
114 $vChildData = array( $value );
116 if ($maxOccurs !=
'unbounded') {
117 if ($maxOccurs >
sizeof($vChildData)) {
118 throw new \Exception(
"El campo '" . $fieldName .
'" no tiene tantas ocurrencias como se esperaban');
126 for ($iIter=0; $iIter <
sizeof($vChildData); $iIter++) {
127 $childData = $vChildData[$iIter];
129 if ((($minOccurs > 0) && $fieldSet) || $fieldSet) {
130 if (is_int($type) && $type != SOAP_ENC_OBJECT) {
134 if ($basicType !== XSD_ANYTYPE) {
135 $childSOAP = $this->__basic_SoapVar($childData, $basicType, $fieldName, $namespace);
137 $childSOAP = $this->__anyType_SoapVar($childData, $fieldName, $namespace);
139 $parentTag->append( $childSOAP );
143 $childSOAP = $childData->toSoap($fieldName, $namespace);
144 $parentTag->append( $childSOAP );
171 static public function is_assoc($array) {
172 foreach(array_keys($array) as $key) {
173 if (!is_int($key))
return true;
178 static public function endsWith($haystack, $needle) {
180 return $needle ===
"" || (($temp = strlen($haystack) - strlen($needle)) >= 0 && strpos($haystack, $needle, $temp) !==
false);
197 private $_codigoError = null;
198 private $_hasCodigoError =
false;
199 public function setCodigoError($value) {
200 $this->_codigoError = $value;
201 $this->_hasCodigoError = ($value !== null);
203 public function hasCodigoError() {
204 return $this->_hasCodigoError;
206 public function getCodigoError() {
207 return $this->_codigoError;
211 private $_descripcionError = null;
212 private $_hasDescripcionError =
false;
213 public function setDescripcionError($value) {
214 $this->_descripcionError = $value;
215 $this->_hasDescripcionError = ($value !== null);
217 public function hasDescripcionError() {
218 return $this->_hasDescripcionError;
220 public function getDescripcionError() {
221 return $this->_descripcionError;
225 static public function fromSoap($vData) {
227 if (!isset($vData[
'codigoError'])) {
228 throw new Exception(
'El parametro codigoError es obligatorio');
230 if (isset($vData[
'codigoError'])) {
231 $newItem->setCodigoError($vData[
'codigoError']);
233 if (!isset($vData[
'descripcionError'])) {
234 throw new Exception(
'El parametro descripcionError es obligatorio');
236 if (isset($vData[
'descripcionError'])) {
237 $newItem->setDescripcionError($vData[
'descripcionError']);
242 public function toSoap($fieldName, $namespace) {
245 $this->__doChild($myLevel, $this->_codigoError,
'codigoError', 101, $namespace, 1, 1);
246 $this->__doChild($myLevel, $this->_descripcionError,
'descripcionError', 101, $namespace, 1, 1);
249 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
255 private $_tipoDocumentoIdentificativo = null;
256 private $_hasTipoDocumentoIdentificativo =
false;
257 public function setTipoDocumentoIdentificativo($value) {
258 $this->_tipoDocumentoIdentificativo = $value;
259 $this->_hasTipoDocumentoIdentificativo = ($value !== null);
261 public function hasTipoDocumentoIdentificativo() {
262 return $this->_hasTipoDocumentoIdentificativo;
264 public function getTipoDocumentoIdentificativo() {
265 return $this->_tipoDocumentoIdentificativo;
269 private $_numeroDocumentoIdentificativo = null;
270 private $_hasNumeroDocumentoIdentificativo =
false;
271 public function setNumeroDocumentoIdentificativo($value) {
272 $this->_numeroDocumentoIdentificativo = $value;
273 $this->_hasNumeroDocumentoIdentificativo = ($value !== null);
275 public function hasNumeroDocumentoIdentificativo() {
276 return $this->_hasNumeroDocumentoIdentificativo;
278 public function getNumeroDocumentoIdentificativo() {
279 return $this->_numeroDocumentoIdentificativo;
283 static public function fromSoap($vData) {
285 if (!isset($vData[
'tipoDocumentoIdentificativo'])) {
286 throw new Exception(
'El parametro tipoDocumentoIdentificativo es obligatorio');
288 if (isset($vData[
'tipoDocumentoIdentificativo'])) {
289 $newItem->setTipoDocumentoIdentificativo($vData[
'tipoDocumentoIdentificativo']);
291 if (!isset($vData[
'numeroDocumentoIdentificativo'])) {
292 throw new Exception(
'El parametro numeroDocumentoIdentificativo es obligatorio');
294 if (isset($vData[
'numeroDocumentoIdentificativo'])) {
295 $newItem->setNumeroDocumentoIdentificativo($vData[
'numeroDocumentoIdentificativo']);
300 public function toSoap($fieldName, $namespace) {
303 $this->__doChild($myLevel, $this->_tipoDocumentoIdentificativo,
'tipoDocumentoIdentificativo', 101, $namespace, 1, 1);
304 $this->__doChild($myLevel, $this->_numeroDocumentoIdentificativo,
'numeroDocumentoIdentificativo', 101, $namespace, 1, 1);
307 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
313 private $_registroCreado = array();
314 private $_hasRegistroCreado =
false;
315 public function replaceArrayRegistroCreado($value) {
316 $this->_registroCreado = $value;
317 $this->_hasRegistroCreado = (isset($this->_registroCreado) && !empty($this->_registroCreado));
319 public function retrieveArrayRegistroCreado() {
320 return $this->_registroCreado;
322 public function addRegistroCreado($value) {
323 array_push($this->_registroCreado, $value);
324 $this->_hasRegistroCreado = (isset($this->_registroCreado) && !empty($this->_registroCreado));
326 public function hasRegistroCreado() {
327 return $this->_hasRegistroCreado;
329 public function getRegistroCreado($index) {
330 return $this->_registroCreado[$index];
332 public function countRegistroCreado() {
333 return count($this->_registroCreado);
337 static public function fromSoap($vData) {
339 if (!isset($vData[
'registroCreado'])) {
340 throw new Exception(
'El parametro registroCreado es obligatorio');
342 if (isset($vData[
'registroCreado']) && !empty($vData[
'registroCreado'])) {
343 if (SoapObject::is_assoc($vData[
'registroCreado'])) {
345 $newClass = RegistroCreadoType::fromSoap($vData[
'registroCreado']);
346 $newItem->addRegistroCreado($newClass);
348 foreach ($vData[
'registroCreado'] as $oVar) {
349 $newClass = RegistroCreadoType::fromSoap($oVar);
350 $newItem->addRegistroCreado($newClass);
357 public function toSoap($fieldName, $namespace) {
360 $this->__doChild($myLevel, $this->_registroCreado,
'registroCreado', SOAP_ENC_OBJECT, $namespace, 1, unbounded);
363 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
369 private $_resultado = null;
370 private $_hasResultado =
false;
371 public function setResultado($value) {
372 $this->_resultado = $value;
373 $this->_hasResultado = ($value !== null);
375 public function hasResultado() {
376 return $this->_hasResultado;
378 public function getResultado() {
379 return $this->_resultado;
383 private $_destino = null;
384 private $_hasDestino =
false;
385 public function setDestino($value) {
386 $this->_destino = $value;
387 $this->_hasDestino = ($value !== null);
389 public function hasDestino() {
390 return $this->_hasDestino;
392 public function getDestino() {
393 return $this->_destino;
397 private $_codigoRegistro = null;
398 private $_hasCodigoRegistro =
false;
399 public function setCodigoRegistro($value) {
400 $this->_codigoRegistro = $value;
401 $this->_hasCodigoRegistro = ($value !== null);
403 public function hasCodigoRegistro() {
404 return $this->_hasCodigoRegistro;
406 public function getCodigoRegistro() {
407 return $this->_codigoRegistro;
411 private $_fechaRegistro = null;
412 private $_hasFechaRegistro =
false;
413 public function setFechaRegistro($value) {
414 $this->_fechaRegistro = $value;
415 $this->_hasFechaRegistro = ($value !== null);
417 public function hasFechaRegistro() {
418 return $this->_hasFechaRegistro;
420 public function getFechaRegistro() {
421 return $this->_fechaRegistro;
425 private $_error = null;
426 private $_hasError =
false;
427 public function setError($value) {
428 $this->_error = $value;
429 $this->_hasError = ($value !== null);
431 public function hasError() {
432 return $this->_hasError;
434 public function getError() {
435 return $this->_error;
439 static public function fromSoap($vData) {
441 if (!isset($vData[
'resultado'])) {
442 throw new Exception(
'El parametro resultado es obligatorio');
444 if (isset($vData[
'resultado'])) {
445 $newItem->setResultado($vData[
'resultado']);
447 if (isset($vData[
'destino'])) {
448 $newItem->setDestino($vData[
'destino']);
450 if (isset($vData[
'codigoRegistro'])) {
451 $newItem->setCodigoRegistro($vData[
'codigoRegistro']);
453 if (isset($vData[
'fechaRegistro'])) {
454 $newItem->setFechaRegistro($vData[
'fechaRegistro']);
456 if (isset($vData[
'error'])) {
457 $newClass = ErrorInfoType::fromSoap($vData[
'error']);
458 $newItem->setError($newClass);
463 public function toSoap($fieldName, $namespace) {
466 $this->__doChild($myLevel, $this->_resultado,
'resultado', 102, $namespace, 1, 1);
467 $this->__doChild($myLevel, $this->_destino,
'destino', 101, $namespace, 0, 1);
468 $this->__doChild($myLevel, $this->_codigoRegistro,
'codigoRegistro', 101, $namespace, 0, 1);
469 $this->__doChild($myLevel, $this->_fechaRegistro,
'fechaRegistro', 101, $namespace, 0, 1);
470 $this->__doChild($myLevel, $this->_error,
'error', SOAP_ENC_OBJECT, $namespace, 0, 1);
473 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
479 private $_codigoRegistro = null;
480 private $_hasCodigoRegistro =
false;
481 public function setCodigoRegistro($value) {
482 $this->_codigoRegistro = $value;
483 $this->_hasCodigoRegistro = ($value !== null);
485 public function hasCodigoRegistro() {
486 return $this->_hasCodigoRegistro;
488 public function getCodigoRegistro() {
489 return $this->_codigoRegistro;
493 private $_fechaRegistro = null;
494 private $_hasFechaRegistro =
false;
495 public function setFechaRegistro($value) {
496 $this->_fechaRegistro = $value;
497 $this->_hasFechaRegistro = ($value !== null);
499 public function hasFechaRegistro() {
500 return $this->_hasFechaRegistro;
502 public function getFechaRegistro() {
503 return $this->_fechaRegistro;
507 static public function fromSoap($vData) {
509 if (!isset($vData[
'codigoRegistro'])) {
510 throw new Exception(
'El parametro codigoRegistro es obligatorio');
512 if (isset($vData[
'codigoRegistro'])) {
513 $newItem->setCodigoRegistro($vData[
'codigoRegistro']);
515 if (!isset($vData[
'fechaRegistro'])) {
516 throw new Exception(
'El parametro fechaRegistro es obligatorio');
518 if (isset($vData[
'fechaRegistro'])) {
519 $newItem->setFechaRegistro($vData[
'fechaRegistro']);
524 public function toSoap($fieldName, $namespace) {
527 $this->__doChild($myLevel, $this->_codigoRegistro,
'codigoRegistro', 101, $namespace, 1, 1);
528 $this->__doChild($myLevel, $this->_fechaRegistro,
'fechaRegistro', 101, $namespace, 1, 1);
531 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
537 private $_registros = null;
538 private $_hasRegistros =
false;
539 public function setRegistros($value) {
540 $this->_registros = $value;
541 $this->_hasRegistros = ($value !== null);
543 public function hasRegistros() {
544 return $this->_hasRegistros;
546 public function getRegistros() {
547 return $this->_registros;
551 static public function fromSoap($vData) {
553 if (!isset($vData[
'registros'])) {
554 throw new Exception(
'El parametro registros es obligatorio');
556 if (isset($vData[
'registros'])) {
557 $newClass = RegistroDescendenteType::fromSoap($vData[
'registros']);
558 $newItem->setRegistros($newClass);
563 public function toSoap($fieldName, $namespace) {
566 $this->__doChild($myLevel, $this->_registros,
'registros', SOAP_ENC_OBJECT, $namespace, 1, 1);
569 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
575 private $_codigoRegistro = null;
576 private $_hasCodigoRegistro =
false;
577 public function setCodigoRegistro($value) {
578 $this->_codigoRegistro = $value;
579 $this->_hasCodigoRegistro = ($value !== null);
581 public function hasCodigoRegistro() {
582 return $this->_hasCodigoRegistro;
584 public function getCodigoRegistro() {
585 return $this->_codigoRegistro;
589 private $_fechaRegistro = null;
590 private $_hasFechaRegistro =
false;
591 public function setFechaRegistro($value) {
592 $this->_fechaRegistro = $value;
593 $this->_hasFechaRegistro = ($value !== null);
595 public function hasFechaRegistro() {
596 return $this->_hasFechaRegistro;
598 public function getFechaRegistro() {
599 return $this->_fechaRegistro;
603 private $_tipoRegistro = null;
604 private $_hasTipoRegistro =
false;
605 public function setTipoRegistro($value) {
606 $this->_tipoRegistro = $value;
607 $this->_hasTipoRegistro = ($value !== null);
609 public function hasTipoRegistro() {
610 return $this->_hasTipoRegistro;
612 public function getTipoRegistro() {
613 return $this->_tipoRegistro;
617 private $_registroDescendente = array();
618 private $_hasRegistroDescendente =
false;
619 public function replaceArrayRegistroDescendente($value) {
620 $this->_registroDescendente = $value;
621 $this->_hasRegistroDescendente = (isset($this->_registroDescendente) && !empty($this->_registroDescendente));
623 public function retrieveArrayRegistroDescendente() {
624 return $this->_registroDescendente;
626 public function addRegistroDescendente($value) {
627 array_push($this->_registroDescendente, $value);
628 $this->_hasRegistroDescendente = (isset($this->_registroDescendente) && !empty($this->_registroDescendente));
630 public function hasRegistroDescendente() {
631 return $this->_hasRegistroDescendente;
633 public function getRegistroDescendente($index) {
634 return $this->_registroDescendente[$index];
636 public function countRegistroDescendente() {
637 return count($this->_registroDescendente);
641 static public function fromSoap($vData) {
643 if (!isset($vData[
'codigoRegistro'])) {
644 throw new Exception(
'El parametro codigoRegistro es obligatorio');
646 if (isset($vData[
'codigoRegistro'])) {
647 $newItem->setCodigoRegistro($vData[
'codigoRegistro']);
649 if (!isset($vData[
'fechaRegistro'])) {
650 throw new Exception(
'El parametro fechaRegistro es obligatorio');
652 if (isset($vData[
'fechaRegistro'])) {
653 $newItem->setFechaRegistro($vData[
'fechaRegistro']);
655 if (!isset($vData[
'tipoRegistro'])) {
656 throw new Exception(
'El parametro tipoRegistro es obligatorio');
658 if (isset($vData[
'tipoRegistro'])) {
659 $newItem->setTipoRegistro($vData[
'tipoRegistro']);
661 if (isset($vData[
'registroDescendente']) && !empty($vData[
'registroDescendente'])) {
662 if (SoapObject::is_assoc($vData[
'registroDescendente'])) {
664 $newClass = RegistroDescendenteType::fromSoap($vData[
'registroDescendente']);
665 $newItem->addRegistroDescendente($newClass);
667 foreach ($vData[
'registroDescendente'] as $oVar) {
668 $newClass = RegistroDescendenteType::fromSoap($oVar);
669 $newItem->addRegistroDescendente($newClass);
676 public function toSoap($fieldName, $namespace) {
679 $this->__doChild($myLevel, $this->_codigoRegistro,
'codigoRegistro', 101, $namespace, 1, 1);
680 $this->__doChild($myLevel, $this->_fechaRegistro,
'fechaRegistro', 101, $namespace, 1, 1);
681 $this->__doChild($myLevel, $this->_tipoRegistro,
'tipoRegistro', 101, $namespace, 1, 1);
682 $this->__doChild($myLevel, $this->_registroDescendente,
'registroDescendente', SOAP_ENC_OBJECT, $namespace, 0, unbounded);
685 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
691 private $_direccion = null;
692 private $_hasDireccion =
false;
693 public function setDireccion($value) {
694 $this->_direccion = $value;
695 $this->_hasDireccion = ($value !== null);
697 public function hasDireccion() {
698 return $this->_hasDireccion;
700 public function getDireccion() {
701 return $this->_direccion;
705 private $_codigoPostal = null;
706 private $_hasCodigoPostal =
false;
707 public function setCodigoPostal($value) {
708 $this->_codigoPostal = $value;
709 $this->_hasCodigoPostal = ($value !== null);
711 public function hasCodigoPostal() {
712 return $this->_hasCodigoPostal;
714 public function getCodigoPostal() {
715 return $this->_codigoPostal;
719 private $_codigoProvincia = null;
720 private $_hasCodigoProvincia =
false;
721 public function setCodigoProvincia($value) {
722 $this->_codigoProvincia = $value;
723 $this->_hasCodigoProvincia = ($value !== null);
725 public function hasCodigoProvincia() {
726 return $this->_hasCodigoProvincia;
728 public function getCodigoProvincia() {
729 return $this->_codigoProvincia;
733 private $_codigoMunicipio = null;
734 private $_hasCodigoMunicipio =
false;
735 public function setCodigoMunicipio($value) {
736 $this->_codigoMunicipio = $value;
737 $this->_hasCodigoMunicipio = ($value !== null);
739 public function hasCodigoMunicipio() {
740 return $this->_hasCodigoMunicipio;
742 public function getCodigoMunicipio() {
743 return $this->_codigoMunicipio;
747 private $_descripcionMunicipio = null;
748 private $_hasDescripcionMunicipio =
false;
749 public function setDescripcionMunicipio($value) {
750 $this->_descripcionMunicipio = $value;
751 $this->_hasDescripcionMunicipio = ($value !== null);
753 public function hasDescripcionMunicipio() {
754 return $this->_hasDescripcionMunicipio;
756 public function getDescripcionMunicipio() {
757 return $this->_descripcionMunicipio;
761 private $_codigoPoblacion = null;
762 private $_hasCodigoPoblacion =
false;
763 public function setCodigoPoblacion($value) {
764 $this->_codigoPoblacion = $value;
765 $this->_hasCodigoPoblacion = ($value !== null);
767 public function hasCodigoPoblacion() {
768 return $this->_hasCodigoPoblacion;
770 public function getCodigoPoblacion() {
771 return $this->_codigoPoblacion;
775 private $_pais = null;
776 private $_hasPais =
false;
777 public function setPais($value) {
778 $this->_pais = $value;
779 $this->_hasPais = ($value !== null);
781 public function hasPais() {
782 return $this->_hasPais;
784 public function getPais() {
789 private $_telefono = null;
790 private $_hasTelefono =
false;
791 public function setTelefono($value) {
792 $this->_telefono = $value;
793 $this->_hasTelefono = ($value !== null);
795 public function hasTelefono() {
796 return $this->_hasTelefono;
798 public function getTelefono() {
799 return $this->_telefono;
803 private $_fax = null;
804 private $_hasFax =
false;
805 public function setFax($value) {
806 $this->_fax = $value;
807 $this->_hasFax = ($value !== null);
809 public function hasFax() {
810 return $this->_hasFax;
812 public function getFax() {
817 static public function fromSoap($vData) {
819 if (isset($vData[
'direccion'])) {
820 $newItem->setDireccion($vData[
'direccion']);
822 if (isset($vData[
'codigoPostal'])) {
823 $newItem->setCodigoPostal($vData[
'codigoPostal']);
825 if (isset($vData[
'codigoProvincia'])) {
826 $newItem->setCodigoProvincia($vData[
'codigoProvincia']);
828 if (isset($vData[
'codigoMunicipio'])) {
829 $newItem->setCodigoMunicipio($vData[
'codigoMunicipio']);
831 if (isset($vData[
'descripcionMunicipio'])) {
832 $newItem->setDescripcionMunicipio($vData[
'descripcionMunicipio']);
834 if (isset($vData[
'codigoPoblacion'])) {
835 $newItem->setCodigoPoblacion($vData[
'codigoPoblacion']);
837 if (isset($vData[
'pais'])) {
838 $newItem->setPais($vData[
'pais']);
840 if (isset($vData[
'telefono'])) {
841 $newItem->setTelefono($vData[
'telefono']);
843 if (isset($vData[
'fax'])) {
844 $newItem->setFax($vData[
'fax']);
849 public function toSoap($fieldName, $namespace) {
852 $this->__doChild($myLevel, $this->_direccion,
'direccion', 101, $namespace, 0, 1);
853 $this->__doChild($myLevel, $this->_codigoPostal,
'codigoPostal', 101, $namespace, 0, 1);
854 $this->__doChild($myLevel, $this->_codigoProvincia,
'codigoProvincia', 101, $namespace, 0, 1);
855 $this->__doChild($myLevel, $this->_codigoMunicipio,
'codigoMunicipio', 101, $namespace, 0, 1);
856 $this->__doChild($myLevel, $this->_descripcionMunicipio,
'descripcionMunicipio', 101, $namespace, 0, 1);
857 $this->__doChild($myLevel, $this->_codigoPoblacion,
'codigoPoblacion', 101, $namespace, 0, 1);
858 $this->__doChild($myLevel, $this->_pais,
'pais', 101, $namespace, 0, 1);
859 $this->__doChild($myLevel, $this->_telefono,
'telefono', 101, $namespace, 0, 1);
860 $this->__doChild($myLevel, $this->_fax,
'fax', 101, $namespace, 0, 1);
863 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
869 private $_documentoIdentificativo = null;
870 private $_hasDocumentoIdentificativo =
false;
871 public function setDocumentoIdentificativo($value) {
872 $this->_documentoIdentificativo = $value;
873 $this->_hasDocumentoIdentificativo = ($value !== null);
875 public function hasDocumentoIdentificativo() {
876 return $this->_hasDocumentoIdentificativo;
878 public function getDocumentoIdentificativo() {
879 return $this->_documentoIdentificativo;
883 private $_nombreApellidos = null;
884 private $_hasNombreApellidos =
false;
885 public function setNombreApellidos($value) {
886 $this->_nombreApellidos = $value;
887 $this->_hasNombreApellidos = ($value !== null);
889 public function hasNombreApellidos() {
890 return $this->_hasNombreApellidos;
892 public function getNombreApellidos() {
893 return $this->_nombreApellidos;
897 private $_nombre = null;
898 private $_hasNombre =
false;
899 public function setNombre($value) {
900 $this->_nombre = $value;
901 $this->_hasNombre = ($value !== null);
903 public function hasNombre() {
904 return $this->_hasNombre;
906 public function getNombre() {
907 return $this->_nombre;
911 private $_apellido1 = null;
912 private $_hasApellido1 =
false;
913 public function setApellido1($value) {
914 $this->_apellido1 = $value;
915 $this->_hasApellido1 = ($value !== null);
917 public function hasApellido1() {
918 return $this->_hasApellido1;
920 public function getApellido1() {
921 return $this->_apellido1;
925 private $_apellido2 = null;
926 private $_hasApellido2 =
false;
927 public function setApellido2($value) {
928 $this->_apellido2 = $value;
929 $this->_hasApellido2 = ($value !== null);
931 public function hasApellido2() {
932 return $this->_hasApellido2;
934 public function getApellido2() {
935 return $this->_apellido2;
939 private $_domicilio = null;
940 private $_hasDomicilio =
false;
941 public function setDomicilio($value) {
942 $this->_domicilio = $value;
943 $this->_hasDomicilio = ($value !== null);
945 public function hasDomicilio() {
946 return $this->_hasDomicilio;
948 public function getDomicilio() {
949 return $this->_domicilio;
953 static public function fromSoap($vData) {
955 if (!isset($vData[
'documentoIdentificativo'])) {
956 throw new Exception(
'El parametro documentoIdentificativo es obligatorio');
958 if (isset($vData[
'documentoIdentificativo'])) {
959 $newClass = DocumentoIdentificativoType::fromSoap($vData[
'documentoIdentificativo']);
960 $newItem->setDocumentoIdentificativo($newClass);
962 if (isset($vData[
'nombreApellidos'])) {
963 $newItem->setNombreApellidos($vData[
'nombreApellidos']);
965 if (isset($vData[
'nombre'])) {
966 $newItem->setNombre($vData[
'nombre']);
968 if (isset($vData[
'apellido1'])) {
969 $newItem->setApellido1($vData[
'apellido1']);
971 if (isset($vData[
'apellido2'])) {
972 $newItem->setApellido2($vData[
'apellido2']);
974 if (isset($vData[
'domicilio'])) {
975 $newClass = DatosDomicilioType::fromSoap($vData[
'domicilio']);
976 $newItem->setDomicilio($newClass);
981 public function toSoap($fieldName, $namespace) {
984 $this->__doChild($myLevel, $this->_documentoIdentificativo,
'documentoIdentificativo', SOAP_ENC_OBJECT, $namespace, 1, 1);
985 $this->__doChild($myLevel, $this->_nombreApellidos,
'nombreApellidos', 101, $namespace, 0, 1);
986 $this->__doChild($myLevel, $this->_nombre,
'nombre', 101, $namespace, 0, 1);
987 $this->__doChild($myLevel, $this->_apellido1,
'apellido1', 101, $namespace, 0, 1);
988 $this->__doChild($myLevel, $this->_apellido2,
'apellido2', 101, $namespace, 0, 1);
989 $this->__doChild($myLevel, $this->_domicilio,
'domicilio', SOAP_ENC_OBJECT, $namespace, 0, 1);
992 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
998 private $_organismoDestino = null;
999 private $_hasOrganismoDestino =
false;
1000 public function setOrganismoDestino($value) {
1001 $this->_organismoDestino = $value;
1002 $this->_hasOrganismoDestino = ($value !== null);
1004 public function hasOrganismoDestino() {
1005 return $this->_hasOrganismoDestino;
1007 public function getOrganismoDestino() {
1008 return $this->_organismoDestino;
1012 private $_unidadDestino = null;
1013 private $_hasUnidadDestino =
false;
1014 public function setUnidadDestino($value) {
1015 $this->_unidadDestino = $value;
1016 $this->_hasUnidadDestino = ($value !== null);
1018 public function hasUnidadDestino() {
1019 return $this->_hasUnidadDestino;
1021 public function getUnidadDestino() {
1022 return $this->_unidadDestino;
1026 static public function fromSoap($vData) {
1028 if (!isset($vData[
'organismoDestino'])) {
1029 throw new Exception(
'El parametro organismoDestino es obligatorio');
1031 if (isset($vData[
'organismoDestino'])) {
1032 $newItem->setOrganismoDestino($vData[
'organismoDestino']);
1034 if (!isset($vData[
'unidadDestino'])) {
1035 throw new Exception(
'El parametro unidadDestino es obligatorio');
1037 if (isset($vData[
'unidadDestino'])) {
1038 $newItem->setUnidadDestino($vData[
'unidadDestino']);
1043 public function toSoap($fieldName, $namespace) {
1046 $this->__doChild($myLevel, $this->_organismoDestino,
'organismoDestino', 101, $namespace, 1, 1);
1047 $this->__doChild($myLevel, $this->_unidadDestino,
'unidadDestino', 101, $namespace, 1, 1);
1050 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
1056 private $_destino = array();
1057 private $_hasDestino =
false;
1058 public function replaceArrayDestino($value) {
1059 $this->_destino = $value;
1060 $this->_hasDestino = (isset($this->_destino) && !empty($this->_destino));
1062 public function retrieveArrayDestino() {
1063 return $this->_destino;
1065 public function addDestino($value) {
1066 array_push($this->_destino, $value);
1067 $this->_hasDestino = (isset($this->_destino) && !empty($this->_destino));
1069 public function hasDestino() {
1070 return $this->_hasDestino;
1072 public function getDestino($index) {
1073 return $this->_destino[$index];
1075 public function countDestino() {
1076 return count($this->_destino);
1080 static public function fromSoap($vData) {
1082 if (!isset($vData[
'destino'])) {
1083 throw new Exception(
'El parametro destino es obligatorio');
1085 if (is_array($vData[
'destino'])) {
1086 if (isset($vData[
'destino']) && !empty($vData[
'destino'])) {
1087 if (SoapObject::is_assoc($vData[
'destino'])) {
1089 $newItem->addDestino($vData[
'destino']);
1091 $newItem->replaceAllDestino($vData[
'destino']);
1095 $newItem->addDestino($vData[
'destino']);
1100 public function toSoap($fieldName, $namespace) {
1103 $this->__doChild($myLevel, $this->_destino,
'destino', 101, $namespace, 1, unbounded);
1106 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
1112 private $_organismo = null;
1113 private $_hasOrganismo =
false;
1114 public function setOrganismo($value) {
1115 $this->_organismo = $value;
1116 $this->_hasOrganismo = ($value !== null);
1118 public function hasOrganismo() {
1119 return $this->_hasOrganismo;
1121 public function getOrganismo() {
1122 return $this->_organismo;
1126 private $_unidadRegistral = null;
1127 private $_hasUnidadRegistral =
false;
1128 public function setUnidadRegistral($value) {
1129 $this->_unidadRegistral = $value;
1130 $this->_hasUnidadRegistral = ($value !== null);
1132 public function hasUnidadRegistral() {
1133 return $this->_hasUnidadRegistral;
1135 public function getUnidadRegistral() {
1136 return $this->_unidadRegistral;
1140 private $_anyo = null;
1141 private $_hasAnyo =
false;
1142 public function setAnyo($value) {
1143 $this->_anyo = $value;
1144 $this->_hasAnyo = ($value !== null);
1146 public function hasAnyo() {
1147 return $this->_hasAnyo;
1149 public function getAnyo() {
1150 return $this->_anyo;
1154 private $_numeroRegistro = null;
1155 private $_hasNumeroRegistro =
false;
1156 public function setNumeroRegistro($value) {
1157 $this->_numeroRegistro = $value;
1158 $this->_hasNumeroRegistro = ($value !== null);
1160 public function hasNumeroRegistro() {
1161 return $this->_hasNumeroRegistro;
1163 public function getNumeroRegistro() {
1164 return $this->_numeroRegistro;
1168 static public function fromSoap($vData) {
1170 if (!isset($vData[
'organismo'])) {
1171 throw new Exception(
'El parametro organismo es obligatorio');
1173 if (isset($vData[
'organismo'])) {
1174 $newItem->setOrganismo($vData[
'organismo']);
1176 if (!isset($vData[
'unidadRegistral'])) {
1177 throw new Exception(
'El parametro unidadRegistral es obligatorio');
1179 if (isset($vData[
'unidadRegistral'])) {
1180 $newItem->setUnidadRegistral($vData[
'unidadRegistral']);
1182 if (!isset($vData[
'anyo'])) {
1183 throw new Exception(
'El parametro anyo es obligatorio');
1185 if (isset($vData[
'anyo'])) {
1186 $newItem->setAnyo($vData[
'anyo']);
1188 if (!isset($vData[
'numeroRegistro'])) {
1189 throw new Exception(
'El parametro numeroRegistro es obligatorio');
1191 if (isset($vData[
'numeroRegistro'])) {
1192 $newItem->setNumeroRegistro($vData[
'numeroRegistro']);
1197 public function toSoap($fieldName, $namespace) {
1200 $this->__doChild($myLevel, $this->_organismo,
'organismo', 101, $namespace, 1, 1);
1201 $this->__doChild($myLevel, $this->_unidadRegistral,
'unidadRegistral', 101, $namespace, 1, 1);
1202 $this->__doChild($myLevel, $this->_anyo,
'anyo', 101, $namespace, 1, 1);
1203 $this->__doChild($myLevel, $this->_numeroRegistro,
'numeroRegistro', 131, $namespace, 1, 1);
1206 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
1212 private $_organismo = null;
1213 private $_hasOrganismo =
false;
1214 public function setOrganismo($value) {
1215 $this->_organismo = $value;
1216 $this->_hasOrganismo = ($value !== null);
1218 public function hasOrganismo() {
1219 return $this->_hasOrganismo;
1221 public function getOrganismo() {
1222 return $this->_organismo;
1226 private $_codigoUnidadDepartamental = null;
1227 private $_hasCodigoUnidadDepartamental =
false;
1228 public function setCodigoUnidadDepartamental($value) {
1229 $this->_codigoUnidadDepartamental = $value;
1230 $this->_hasCodigoUnidadDepartamental = ($value !== null);
1232 public function hasCodigoUnidadDepartamental() {
1233 return $this->_hasCodigoUnidadDepartamental;
1235 public function getCodigoUnidadDepartamental() {
1236 return $this->_codigoUnidadDepartamental;
1240 private $_anyo = null;
1241 private $_hasAnyo =
false;
1242 public function setAnyo($value) {
1243 $this->_anyo = $value;
1244 $this->_hasAnyo = ($value !== null);
1246 public function hasAnyo() {
1247 return $this->_hasAnyo;
1249 public function getAnyo() {
1250 return $this->_anyo;
1254 private $_numeroRegistro = null;
1255 private $_hasNumeroRegistro =
false;
1256 public function setNumeroRegistro($value) {
1257 $this->_numeroRegistro = $value;
1258 $this->_hasNumeroRegistro = ($value !== null);
1260 public function hasNumeroRegistro() {
1261 return $this->_hasNumeroRegistro;
1263 public function getNumeroRegistro() {
1264 return $this->_numeroRegistro;
1268 private $_tipoRegistroDepartamental = null;
1269 private $_hasTipoRegistroDepartamental =
false;
1270 public function setTipoRegistroDepartamental($value) {
1271 $this->_tipoRegistroDepartamental = $value;
1272 $this->_hasTipoRegistroDepartamental = ($value !== null);
1274 public function hasTipoRegistroDepartamental() {
1275 return $this->_hasTipoRegistroDepartamental;
1277 public function getTipoRegistroDepartamental() {
1278 return $this->_tipoRegistroDepartamental;
1282 static public function fromSoap($vData) {
1284 if (!isset($vData[
'organismo'])) {
1285 throw new Exception(
'El parametro organismo es obligatorio');
1287 if (isset($vData[
'organismo'])) {
1288 $newItem->setOrganismo($vData[
'organismo']);
1290 if (!isset($vData[
'codigoUnidadDepartamental'])) {
1291 throw new Exception(
'El parametro codigoUnidadDepartamental es obligatorio');
1293 if (isset($vData[
'codigoUnidadDepartamental'])) {
1294 $newItem->setCodigoUnidadDepartamental($vData[
'codigoUnidadDepartamental']);
1296 if (!isset($vData[
'anyo'])) {
1297 throw new Exception(
'El parametro anyo es obligatorio');
1299 if (isset($vData[
'anyo'])) {
1300 $newItem->setAnyo($vData[
'anyo']);
1302 if (!isset($vData[
'numeroRegistro'])) {
1303 throw new Exception(
'El parametro numeroRegistro es obligatorio');
1305 if (isset($vData[
'numeroRegistro'])) {
1306 $newItem->setNumeroRegistro($vData[
'numeroRegistro']);
1308 if (!isset($vData[
'tipoRegistroDepartamental'])) {
1309 throw new Exception(
'El parametro tipoRegistroDepartamental es obligatorio');
1311 if (isset($vData[
'tipoRegistroDepartamental'])) {
1312 $newItem->setTipoRegistroDepartamental($vData[
'tipoRegistroDepartamental']);
1317 public function toSoap($fieldName, $namespace) {
1320 $this->__doChild($myLevel, $this->_organismo,
'organismo', 101, $namespace, 1, 1);
1321 $this->__doChild($myLevel, $this->_codigoUnidadDepartamental,
'codigoUnidadDepartamental', 101, $namespace, 1, 1);
1322 $this->__doChild($myLevel, $this->_anyo,
'anyo', 101, $namespace, 1, 1);
1323 $this->__doChild($myLevel, $this->_numeroRegistro,
'numeroRegistro', 131, $namespace, 1, 1);
1324 $this->__doChild($myLevel, $this->_tipoRegistroDepartamental,
'tipoRegistroDepartamental', 101, $namespace, 1, 1);
1327 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
1333 private $_maquina = null;
1334 private $_hasMaquina =
false;
1335 public function setMaquina($value) {
1336 $this->_maquina = $value;
1337 $this->_hasMaquina = ($value !== null);
1339 public function hasMaquina() {
1340 return $this->_hasMaquina;
1342 public function getMaquina() {
1343 return $this->_maquina;
1347 private $_numeroReset = null;
1348 private $_hasNumeroReset =
false;
1349 public function setNumeroReset($value) {
1350 $this->_numeroReset = $value;
1351 $this->_hasNumeroReset = ($value !== null);
1353 public function hasNumeroReset() {
1354 return $this->_hasNumeroReset;
1356 public function getNumeroReset() {
1357 return $this->_numeroReset;
1361 private $_codigoExpediente = null;
1362 private $_hasCodigoExpediente =
false;
1363 public function setCodigoExpediente($value) {
1364 $this->_codigoExpediente = $value;
1365 $this->_hasCodigoExpediente = ($value !== null);
1367 public function hasCodigoExpediente() {
1368 return $this->_hasCodigoExpediente;
1370 public function getCodigoExpediente() {
1371 return $this->_codigoExpediente;
1375 static public function fromSoap($vData) {
1377 if (isset($vData[
'maquina'])) {
1378 $newItem->setMaquina($vData[
'maquina']);
1380 if (isset($vData[
'numeroReset'])) {
1381 $newItem->setNumeroReset($vData[
'numeroReset']);
1383 if (isset($vData[
'codigoExpediente'])) {
1384 $newItem->setCodigoExpediente($vData[
'codigoExpediente']);
1389 public function toSoap($fieldName, $namespace) {
1392 $this->__doChild($myLevel, $this->_maquina,
'maquina', 101, $namespace, 0, 1);
1393 $this->__doChild($myLevel, $this->_numeroReset,
'numeroReset', 101, $namespace, 0, 1);
1394 $this->__doChild($myLevel, $this->_codigoExpediente,
'codigoExpediente', 101, $namespace, 0, 1);
1397 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
1403 private $_codigoNormalizadoDocumento = null;
1404 private $_hasCodigoNormalizadoDocumento =
false;
1405 public function setCodigoNormalizadoDocumento($value) {
1406 $this->_codigoNormalizadoDocumento = $value;
1407 $this->_hasCodigoNormalizadoDocumento = ($value !== null);
1409 public function hasCodigoNormalizadoDocumento() {
1410 return $this->_hasCodigoNormalizadoDocumento;
1412 public function getCodigoNormalizadoDocumento() {
1413 return $this->_codigoNormalizadoDocumento;
1417 private $_descripcionDocumento = null;
1418 private $_hasDescripcionDocumento =
false;
1419 public function setDescripcionDocumento($value) {
1420 $this->_descripcionDocumento = $value;
1421 $this->_hasDescripcionDocumento = ($value !== null);
1423 public function hasDescripcionDocumento() {
1424 return $this->_hasDescripcionDocumento;
1426 public function getDescripcionDocumento() {
1427 return $this->_descripcionDocumento;
1431 private $_nombreDocumento = null;
1432 private $_hasNombreDocumento =
false;
1433 public function setNombreDocumento($value) {
1434 $this->_nombreDocumento = $value;
1435 $this->_hasNombreDocumento = ($value !== null);
1437 public function hasNombreDocumento() {
1438 return $this->_hasNombreDocumento;
1440 public function getNombreDocumento() {
1441 return $this->_nombreDocumento;
1445 private $_fechaDocumento = null;
1446 private $_hasFechaDocumento =
false;
1447 public function setFechaDocumento($value) {
1448 $this->_fechaDocumento = $value;
1449 $this->_hasFechaDocumento = ($value !== null);
1451 public function hasFechaDocumento() {
1452 return $this->_hasFechaDocumento;
1454 public function getFechaDocumento() {
1455 return $this->_fechaDocumento;
1459 private $_contenido = null;
1460 private $_hasContenido =
false;
1461 public function setContenido($value) {
1462 $this->_contenido = $value;
1463 $this->_hasContenido = ($value !== null);
1465 public function hasContenido() {
1466 return $this->_hasContenido;
1468 public function getContenido() {
1469 return $this->_contenido;
1473 private $_hash = null;
1474 private $_hasHash =
false;
1475 public function setHash($value) {
1476 $this->_hash = $value;
1477 $this->_hasHash = ($value !== null);
1479 public function hasHash() {
1480 return $this->_hasHash;
1482 public function getHash() {
1483 return $this->_hash;
1487 static public function fromSoap($vData) {
1489 if (isset($vData[
'codigoNormalizadoDocumento'])) {
1490 $newItem->setCodigoNormalizadoDocumento($vData[
'codigoNormalizadoDocumento']);
1492 if (!isset($vData[
'descripcionDocumento'])) {
1493 throw new Exception(
'El parametro descripcionDocumento es obligatorio');
1495 if (isset($vData[
'descripcionDocumento'])) {
1496 $newItem->setDescripcionDocumento($vData[
'descripcionDocumento']);
1498 if (!isset($vData[
'nombreDocumento'])) {
1499 throw new Exception(
'El parametro nombreDocumento es obligatorio');
1501 if (isset($vData[
'nombreDocumento'])) {
1502 $newItem->setNombreDocumento($vData[
'nombreDocumento']);
1504 if (!isset($vData[
'fechaDocumento'])) {
1505 throw new Exception(
'El parametro fechaDocumento es obligatorio');
1507 if (isset($vData[
'fechaDocumento'])) {
1508 $newItem->setFechaDocumento($vData[
'fechaDocumento']);
1510 if (!isset($vData[
'contenido'])) {
1511 throw new Exception(
'El parametro contenido es obligatorio');
1513 if (isset($vData[
'contenido'])) {
1514 $newItem->setContenido($vData[
'contenido']);
1516 if (!isset($vData[
'hash'])) {
1517 throw new Exception(
'El parametro hash es obligatorio');
1519 if (isset($vData[
'hash'])) {
1520 $newItem->setHash($vData[
'hash']);
1525 public function toSoap($fieldName, $namespace) {
1528 $this->__doChild($myLevel, $this->_codigoNormalizadoDocumento,
'codigoNormalizadoDocumento', 101, $namespace, 0, 1);
1529 $this->__doChild($myLevel, $this->_descripcionDocumento,
'descripcionDocumento', 101, $namespace, 1, 1);
1530 $this->__doChild($myLevel, $this->_nombreDocumento,
'nombreDocumento', 101, $namespace, 1, 1);
1531 $this->__doChild($myLevel, $this->_fechaDocumento,
'fechaDocumento', 101, $namespace, 1, 1);
1532 $this->__doChild($myLevel, $this->_contenido,
'contenido', 116, $namespace, 1, 1);
1533 $this->__doChild($myLevel, $this->_hash,
'hash', 101, $namespace, 1, 1);
1536 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
1542 private $_documento = array();
1543 private $_hasDocumento =
false;
1544 public function replaceArrayDocumento($value) {
1545 $this->_documento = $value;
1546 $this->_hasDocumento = (isset($this->_documento) && !empty($this->_documento));
1548 public function retrieveArrayDocumento() {
1549 return $this->_documento;
1551 public function addDocumento($value) {
1552 array_push($this->_documento, $value);
1553 $this->_hasDocumento = (isset($this->_documento) && !empty($this->_documento));
1555 public function hasDocumento() {
1556 return $this->_hasDocumento;
1558 public function getDocumento($index) {
1559 return $this->_documento[$index];
1561 public function countDocumento() {
1562 return count($this->_documento);
1566 static public function fromSoap($vData) {
1568 if (!isset($vData[
'documento'])) {
1569 throw new Exception(
'El parametro documento es obligatorio');
1571 if (isset($vData[
'documento']) && !empty($vData[
'documento'])) {
1572 if (SoapObject::is_assoc($vData[
'documento'])) {
1574 $newClass = DocumentoType::fromSoap($vData[
'documento']);
1575 $newItem->addDocumento($newClass);
1577 foreach ($vData[
'documento'] as $oVar) {
1578 $newClass = DocumentoType::fromSoap($oVar);
1579 $newItem->addDocumento($newClass);
1586 public function toSoap($fieldName, $namespace) {
1589 $this->__doChild($myLevel, $this->_documento,
'documento', SOAP_ENC_OBJECT, $namespace, 1, unbounded);
1592 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
1598 private $_codigoOrganismoUnidadDepartamental = null;
1599 private $_hasCodigoOrganismoUnidadDepartamental =
false;
1600 public function setCodigoOrganismoUnidadDepartamental($value) {
1601 $this->_codigoOrganismoUnidadDepartamental = $value;
1602 $this->_hasCodigoOrganismoUnidadDepartamental = ($value !== null);
1604 public function hasCodigoOrganismoUnidadDepartamental() {
1605 return $this->_hasCodigoOrganismoUnidadDepartamental;
1607 public function getCodigoOrganismoUnidadDepartamental() {
1608 return $this->_codigoOrganismoUnidadDepartamental;
1612 private $_codigoUnidadDepartamental = null;
1613 private $_hasCodigoUnidadDepartamental =
false;
1614 public function setCodigoUnidadDepartamental($value) {
1615 $this->_codigoUnidadDepartamental = $value;
1616 $this->_hasCodigoUnidadDepartamental = ($value !== null);
1618 public function hasCodigoUnidadDepartamental() {
1619 return $this->_hasCodigoUnidadDepartamental;
1621 public function getCodigoUnidadDepartamental() {
1622 return $this->_codigoUnidadDepartamental;
1626 private $_anyo = null;
1627 private $_hasAnyo =
false;
1628 public function setAnyo($value) {
1629 $this->_anyo = $value;
1630 $this->_hasAnyo = ($value !== null);
1632 public function hasAnyo() {
1633 return $this->_hasAnyo;
1635 public function getAnyo() {
1636 return $this->_anyo;
1640 private $_numeroRegistro = null;
1641 private $_hasNumeroRegistro =
false;
1642 public function setNumeroRegistro($value) {
1643 $this->_numeroRegistro = $value;
1644 $this->_hasNumeroRegistro = ($value !== null);
1646 public function hasNumeroRegistro() {
1647 return $this->_hasNumeroRegistro;
1649 public function getNumeroRegistro() {
1650 return $this->_numeroRegistro;
1654 private $_fechaRegistro = null;
1655 private $_hasFechaRegistro =
false;
1656 public function setFechaRegistro($value) {
1657 $this->_fechaRegistro = $value;
1658 $this->_hasFechaRegistro = ($value !== null);
1660 public function hasFechaRegistro() {
1661 return $this->_hasFechaRegistro;
1663 public function getFechaRegistro() {
1664 return $this->_fechaRegistro;
1668 private $_anulado = null;
1669 private $_hasAnulado =
false;
1670 public function setAnulado($value) {
1671 $this->_anulado = $value;
1672 $this->_hasAnulado = ($value !== null);
1674 public function hasAnulado() {
1675 return $this->_hasAnulado;
1677 public function getAnulado() {
1678 return $this->_anulado;
1682 private $_estado = null;
1683 private $_hasEstado =
false;
1684 public function setEstado($value) {
1685 $this->_estado = $value;
1686 $this->_hasEstado = ($value !== null);
1688 public function hasEstado() {
1689 return $this->_hasEstado;
1691 public function getEstado() {
1692 return $this->_estado;
1696 private $_motivoRechazo = null;
1697 private $_hasMotivoRechazo =
false;
1698 public function setMotivoRechazo($value) {
1699 $this->_motivoRechazo = $value;
1700 $this->_hasMotivoRechazo = ($value !== null);
1702 public function hasMotivoRechazo() {
1703 return $this->_hasMotivoRechazo;
1705 public function getMotivoRechazo() {
1706 return $this->_motivoRechazo;
1710 private $_tipoRegistroDepartamental = null;
1711 private $_hasTipoRegistroDepartamental =
false;
1712 public function setTipoRegistroDepartamental($value) {
1713 $this->_tipoRegistroDepartamental = $value;
1714 $this->_hasTipoRegistroDepartamental = ($value !== null);
1716 public function hasTipoRegistroDepartamental() {
1717 return $this->_hasTipoRegistroDepartamental;
1719 public function getTipoRegistroDepartamental() {
1720 return $this->_tipoRegistroDepartamental;
1724 private $_codigoAsuntoHabitual = null;
1725 private $_hasCodigoAsuntoHabitual =
false;
1726 public function setCodigoAsuntoHabitual($value) {
1727 $this->_codigoAsuntoHabitual = $value;
1728 $this->_hasCodigoAsuntoHabitual = ($value !== null);
1730 public function hasCodigoAsuntoHabitual() {
1731 return $this->_hasCodigoAsuntoHabitual;
1733 public function getCodigoAsuntoHabitual() {
1734 return $this->_codigoAsuntoHabitual;
1738 private $_asunto = null;
1739 private $_hasAsunto =
false;
1740 public function setAsunto($value) {
1741 $this->_asunto = $value;
1742 $this->_hasAsunto = ($value !== null);
1744 public function hasAsunto() {
1745 return $this->_hasAsunto;
1747 public function getAsunto() {
1748 return $this->_asunto;
1752 private $_observacionesDepartamentales = null;
1753 private $_hasObservacionesDepartamentales =
false;
1754 public function setObservacionesDepartamentales($value) {
1755 $this->_observacionesDepartamentales = $value;
1756 $this->_hasObservacionesDepartamentales = ($value !== null);
1758 public function hasObservacionesDepartamentales() {
1759 return $this->_hasObservacionesDepartamentales;
1761 public function getObservacionesDepartamentales() {
1762 return $this->_observacionesDepartamentales;
1766 private $_observacionesGenerales = null;
1767 private $_hasObservacionesGenerales =
false;
1768 public function setObservacionesGenerales($value) {
1769 $this->_observacionesGenerales = $value;
1770 $this->_hasObservacionesGenerales = ($value !== null);
1772 public function hasObservacionesGenerales() {
1773 return $this->_hasObservacionesGenerales;
1775 public function getObservacionesGenerales() {
1776 return $this->_observacionesGenerales;
1780 private $_datosIdentificativos = null;
1781 private $_hasDatosIdentificativos =
false;
1782 public function setDatosIdentificativos($value) {
1783 $this->_datosIdentificativos = $value;
1784 $this->_hasDatosIdentificativos = ($value !== null);
1786 public function hasDatosIdentificativos() {
1787 return $this->_hasDatosIdentificativos;
1789 public function getDatosIdentificativos() {
1790 return $this->_datosIdentificativos;
1794 private $_destinos = null;
1795 private $_hasDestinos =
false;
1796 public function setDestinos($value) {
1797 $this->_destinos = $value;
1798 $this->_hasDestinos = ($value !== null);
1800 public function hasDestinos() {
1801 return $this->_hasDestinos;
1803 public function getDestinos() {
1804 return $this->_destinos;
1808 private $_datosRegistroDepartamentalAsociado = null;
1809 private $_hasDatosRegistroDepartamentalAsociado =
false;
1810 public function setDatosRegistroDepartamentalAsociado($value) {
1811 $this->_datosRegistroDepartamentalAsociado = $value;
1812 $this->_hasDatosRegistroDepartamentalAsociado = ($value !== null);
1814 public function hasDatosRegistroDepartamentalAsociado() {
1815 return $this->_hasDatosRegistroDepartamentalAsociado;
1817 public function getDatosRegistroDepartamentalAsociado() {
1818 return $this->_datosRegistroDepartamentalAsociado;
1822 private $_datosRegistroGeneralEntrada = null;
1823 private $_hasDatosRegistroGeneralEntrada =
false;
1824 public function setDatosRegistroGeneralEntrada($value) {
1825 $this->_datosRegistroGeneralEntrada = $value;
1826 $this->_hasDatosRegistroGeneralEntrada = ($value !== null);
1828 public function hasDatosRegistroGeneralEntrada() {
1829 return $this->_hasDatosRegistroGeneralEntrada;
1831 public function getDatosRegistroGeneralEntrada() {
1832 return $this->_datosRegistroGeneralEntrada;
1836 private $_datosRegistroGeneralSalida = null;
1837 private $_hasDatosRegistroGeneralSalida =
false;
1838 public function setDatosRegistroGeneralSalida($value) {
1839 $this->_datosRegistroGeneralSalida = $value;
1840 $this->_hasDatosRegistroGeneralSalida = ($value !== null);
1842 public function hasDatosRegistroGeneralSalida() {
1843 return $this->_hasDatosRegistroGeneralSalida;
1845 public function getDatosRegistroGeneralSalida() {
1846 return $this->_datosRegistroGeneralSalida;
1850 private $_otraUnidadDeProcedencia = null;
1851 private $_hasOtraUnidadDeProcedencia =
false;
1852 public function setOtraUnidadDeProcedencia($value) {
1853 $this->_otraUnidadDeProcedencia = $value;
1854 $this->_hasOtraUnidadDeProcedencia = ($value !== null);
1856 public function hasOtraUnidadDeProcedencia() {
1857 return $this->_hasOtraUnidadDeProcedencia;
1859 public function getOtraUnidadDeProcedencia() {
1860 return $this->_otraUnidadDeProcedencia;
1864 private $_descripcionOtraUnidadDeProcedencia = null;
1865 private $_hasDescripcionOtraUnidadDeProcedencia =
false;
1866 public function setDescripcionOtraUnidadDeProcedencia($value) {
1867 $this->_descripcionOtraUnidadDeProcedencia = $value;
1868 $this->_hasDescripcionOtraUnidadDeProcedencia = ($value !== null);
1870 public function hasDescripcionOtraUnidadDeProcedencia() {
1871 return $this->_hasDescripcionOtraUnidadDeProcedencia;
1873 public function getDescripcionOtraUnidadDeProcedencia() {
1874 return $this->_descripcionOtraUnidadDeProcedencia;
1878 private $_datosRegistroDepartamentalOrigen = null;
1879 private $_hasDatosRegistroDepartamentalOrigen =
false;
1880 public function setDatosRegistroDepartamentalOrigen($value) {
1881 $this->_datosRegistroDepartamentalOrigen = $value;
1882 $this->_hasDatosRegistroDepartamentalOrigen = ($value !== null);
1884 public function hasDatosRegistroDepartamentalOrigen() {
1885 return $this->_hasDatosRegistroDepartamentalOrigen;
1887 public function getDatosRegistroDepartamentalOrigen() {
1888 return $this->_datosRegistroDepartamentalOrigen;
1892 private $_tipoTransporte = null;
1893 private $_hasTipoTransporte =
false;
1894 public function setTipoTransporte($value) {
1895 $this->_tipoTransporte = $value;
1896 $this->_hasTipoTransporte = ($value !== null);
1898 public function hasTipoTransporte() {
1899 return $this->_hasTipoTransporte;
1901 public function getTipoTransporte() {
1902 return $this->_tipoTransporte;
1906 private $_datosExpediente = null;
1907 private $_hasDatosExpediente =
false;
1908 public function setDatosExpediente($value) {
1909 $this->_datosExpediente = $value;
1910 $this->_hasDatosExpediente = ($value !== null);
1912 public function hasDatosExpediente() {
1913 return $this->_hasDatosExpediente;
1915 public function getDatosExpediente() {
1916 return $this->_datosExpediente;
1920 private $_documentos = null;
1921 private $_hasDocumentos =
false;
1922 public function setDocumentos($value) {
1923 $this->_documentos = $value;
1924 $this->_hasDocumentos = ($value !== null);
1926 public function hasDocumentos() {
1927 return $this->_hasDocumentos;
1929 public function getDocumentos() {
1930 return $this->_documentos;
1934 static public function fromSoap($vData) {
1936 if (!isset($vData[
'codigoOrganismoUnidadDepartamental'])) {
1937 throw new Exception(
'El parametro codigoOrganismoUnidadDepartamental es obligatorio');
1939 if (isset($vData[
'codigoOrganismoUnidadDepartamental'])) {
1940 $newItem->setCodigoOrganismoUnidadDepartamental($vData[
'codigoOrganismoUnidadDepartamental']);
1942 if (!isset($vData[
'codigoUnidadDepartamental'])) {
1943 throw new Exception(
'El parametro codigoUnidadDepartamental es obligatorio');
1945 if (isset($vData[
'codigoUnidadDepartamental'])) {
1946 $newItem->setCodigoUnidadDepartamental($vData[
'codigoUnidadDepartamental']);
1948 if (!isset($vData[
'anyo'])) {
1949 throw new Exception(
'El parametro anyo es obligatorio');
1951 if (isset($vData[
'anyo'])) {
1952 $newItem->setAnyo($vData[
'anyo']);
1954 if (!isset($vData[
'numeroRegistro'])) {
1955 throw new Exception(
'El parametro numeroRegistro es obligatorio');
1957 if (isset($vData[
'numeroRegistro'])) {
1958 $newItem->setNumeroRegistro($vData[
'numeroRegistro']);
1960 if (isset($vData[
'fechaRegistro'])) {
1961 $newItem->setFechaRegistro($vData[
'fechaRegistro']);
1963 if (!isset($vData[
'anulado'])) {
1964 throw new Exception(
'El parametro anulado es obligatorio');
1966 if (isset($vData[
'anulado'])) {
1967 $newItem->setAnulado($vData[
'anulado']);
1969 if (!isset($vData[
'estado'])) {
1970 throw new Exception(
'El parametro estado es obligatorio');
1972 if (isset($vData[
'estado'])) {
1973 $newItem->setEstado($vData[
'estado']);
1975 if (isset($vData[
'motivoRechazo'])) {
1976 $newItem->setMotivoRechazo($vData[
'motivoRechazo']);
1978 if (!isset($vData[
'tipoRegistroDepartamental'])) {
1979 throw new Exception(
'El parametro tipoRegistroDepartamental es obligatorio');
1981 if (isset($vData[
'tipoRegistroDepartamental'])) {
1982 $newItem->setTipoRegistroDepartamental($vData[
'tipoRegistroDepartamental']);
1984 if (isset($vData[
'codigoAsuntoHabitual'])) {
1985 $newItem->setCodigoAsuntoHabitual($vData[
'codigoAsuntoHabitual']);
1987 if (!isset($vData[
'asunto'])) {
1988 throw new Exception(
'El parametro asunto es obligatorio');
1990 if (isset($vData[
'asunto'])) {
1991 $newItem->setAsunto($vData[
'asunto']);
1993 if (isset($vData[
'observacionesDepartamentales'])) {
1994 $newItem->setObservacionesDepartamentales($vData[
'observacionesDepartamentales']);
1996 if (isset($vData[
'observacionesGenerales'])) {
1997 $newItem->setObservacionesGenerales($vData[
'observacionesGenerales']);
1999 if (!isset($vData[
'datosIdentificativos'])) {
2000 throw new Exception(
'El parametro datosIdentificativos es obligatorio');
2002 if (isset($vData[
'datosIdentificativos'])) {
2003 $newClass = DatosIdentificativosType::fromSoap($vData[
'datosIdentificativos']);
2004 $newItem->setDatosIdentificativos($newClass);
2006 if (isset($vData[
'destinos'])) {
2007 $newClass = DestinosType::fromSoap($vData[
'destinos']);
2008 $newItem->setDestinos($newClass);
2010 if (isset($vData[
'datosRegistroDepartamentalAsociado'])) {
2011 $newClass = IdentificacionRegistroDepartamentalType::fromSoap($vData[
'datosRegistroDepartamentalAsociado']);
2012 $newItem->setDatosRegistroDepartamentalAsociado($newClass);
2014 if (isset($vData[
'datosRegistroGeneralEntrada'])) {
2015 $newClass = DatosRegistroType::fromSoap($vData[
'datosRegistroGeneralEntrada']);
2016 $newItem->setDatosRegistroGeneralEntrada($newClass);
2018 if (isset($vData[
'datosRegistroGeneralSalida'])) {
2019 $newClass = DatosRegistroType::fromSoap($vData[
'datosRegistroGeneralSalida']);
2020 $newItem->setDatosRegistroGeneralSalida($newClass);
2022 if (isset($vData[
'otraUnidadDeProcedencia'])) {
2023 $newItem->setOtraUnidadDeProcedencia($vData[
'otraUnidadDeProcedencia']);
2025 if (isset($vData[
'descripcionOtraUnidadDeProcedencia'])) {
2026 $newItem->setDescripcionOtraUnidadDeProcedencia($vData[
'descripcionOtraUnidadDeProcedencia']);
2028 if (isset($vData[
'datosRegistroDepartamentalOrigen'])) {
2029 $newClass = IdentificacionRegistroDepartamentalType::fromSoap($vData[
'datosRegistroDepartamentalOrigen']);
2030 $newItem->setDatosRegistroDepartamentalOrigen($newClass);
2032 if (isset($vData[
'tipoTransporte'])) {
2033 $newItem->setTipoTransporte($vData[
'tipoTransporte']);
2035 if (isset($vData[
'datosExpediente'])) {
2036 $newClass = DatosExpedienteType::fromSoap($vData[
'datosExpediente']);
2037 $newItem->setDatosExpediente($newClass);
2039 if (isset($vData[
'documentos'])) {
2040 $newClass = DocumentosType::fromSoap($vData[
'documentos']);
2041 $newItem->setDocumentos($newClass);
2046 public function toSoap($fieldName, $namespace) {
2049 $this->__doChild($myLevel, $this->_codigoOrganismoUnidadDepartamental,
'codigoOrganismoUnidadDepartamental', 101, $namespace, 1, 1);
2050 $this->__doChild($myLevel, $this->_codigoUnidadDepartamental,
'codigoUnidadDepartamental', 101, $namespace, 1, 1);
2051 $this->__doChild($myLevel, $this->_anyo,
'anyo', 101, $namespace, 1, 1);
2052 $this->__doChild($myLevel, $this->_numeroRegistro,
'numeroRegistro', 131, $namespace, 1, 1);
2053 $this->__doChild($myLevel, $this->_fechaRegistro,
'fechaRegistro', 101, $namespace, 0, 1);
2054 $this->__doChild($myLevel, $this->_anulado,
'anulado', 102, $namespace, 1, 1);
2055 $this->__doChild($myLevel, $this->_estado,
'estado', 101, $namespace, 1, 1);
2056 $this->__doChild($myLevel, $this->_motivoRechazo,
'motivoRechazo', 101, $namespace, 0, 1);
2057 $this->__doChild($myLevel, $this->_tipoRegistroDepartamental,
'tipoRegistroDepartamental', 101, $namespace, 1, 1);
2058 $this->__doChild($myLevel, $this->_codigoAsuntoHabitual,
'codigoAsuntoHabitual', 101, $namespace, 0, 1);
2059 $this->__doChild($myLevel, $this->_asunto,
'asunto', 101, $namespace, 1, 1);
2060 $this->__doChild($myLevel, $this->_observacionesDepartamentales,
'observacionesDepartamentales', 101, $namespace, 0, 1);
2061 $this->__doChild($myLevel, $this->_observacionesGenerales,
'observacionesGenerales', 101, $namespace, 0, 1);
2062 $this->__doChild($myLevel, $this->_datosIdentificativos,
'datosIdentificativos', SOAP_ENC_OBJECT, $namespace, 1, 1);
2063 $this->__doChild($myLevel, $this->_destinos,
'destinos', SOAP_ENC_OBJECT, $namespace, 0, 1);
2064 $this->__doChild($myLevel, $this->_datosRegistroDepartamentalAsociado,
'datosRegistroDepartamentalAsociado', SOAP_ENC_OBJECT, $namespace, 0, 1);
2065 $this->__doChild($myLevel, $this->_datosRegistroGeneralEntrada,
'datosRegistroGeneralEntrada', SOAP_ENC_OBJECT, $namespace, 0, 1);
2066 $this->__doChild($myLevel, $this->_datosRegistroGeneralSalida,
'datosRegistroGeneralSalida', SOAP_ENC_OBJECT, $namespace, 0, 1);
2067 $this->__doChild($myLevel, $this->_otraUnidadDeProcedencia,
'otraUnidadDeProcedencia', 101, $namespace, 0, 1);
2068 $this->__doChild($myLevel, $this->_descripcionOtraUnidadDeProcedencia,
'descripcionOtraUnidadDeProcedencia', 101, $namespace, 0, 1);
2069 $this->__doChild($myLevel, $this->_datosRegistroDepartamentalOrigen,
'datosRegistroDepartamentalOrigen', SOAP_ENC_OBJECT, $namespace, 0, 1);
2070 $this->__doChild($myLevel, $this->_tipoTransporte,
'tipoTransporte', 101, $namespace, 0, 1);
2071 $this->__doChild($myLevel, $this->_datosExpediente,
'datosExpediente', SOAP_ENC_OBJECT, $namespace, 0, 1);
2072 $this->__doChild($myLevel, $this->_documentos,
'documentos', SOAP_ENC_OBJECT, $namespace, 0, 1);
2075 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
2081 private $_codigoOrganismoUnidadDepartamental = null;
2082 private $_hasCodigoOrganismoUnidadDepartamental =
false;
2083 public function setCodigoOrganismoUnidadDepartamental($value) {
2084 $this->_codigoOrganismoUnidadDepartamental = $value;
2085 $this->_hasCodigoOrganismoUnidadDepartamental = ($value !== null);
2087 public function hasCodigoOrganismoUnidadDepartamental() {
2088 return $this->_hasCodigoOrganismoUnidadDepartamental;
2090 public function getCodigoOrganismoUnidadDepartamental() {
2091 return $this->_codigoOrganismoUnidadDepartamental;
2095 private $_codigoUnidadDepartamental = null;
2096 private $_hasCodigoUnidadDepartamental =
false;
2097 public function setCodigoUnidadDepartamental($value) {
2098 $this->_codigoUnidadDepartamental = $value;
2099 $this->_hasCodigoUnidadDepartamental = ($value !== null);
2101 public function hasCodigoUnidadDepartamental() {
2102 return $this->_hasCodigoUnidadDepartamental;
2104 public function getCodigoUnidadDepartamental() {
2105 return $this->_codigoUnidadDepartamental;
2109 private $_tipoRegistroDepartamental = null;
2110 private $_hasTipoRegistroDepartamental =
false;
2111 public function setTipoRegistroDepartamental($value) {
2112 $this->_tipoRegistroDepartamental = $value;
2113 $this->_hasTipoRegistroDepartamental = ($value !== null);
2115 public function hasTipoRegistroDepartamental() {
2116 return $this->_hasTipoRegistroDepartamental;
2118 public function getTipoRegistroDepartamental() {
2119 return $this->_tipoRegistroDepartamental;
2123 private $_codigoAsuntoHabitual = null;
2124 private $_hasCodigoAsuntoHabitual =
false;
2125 public function setCodigoAsuntoHabitual($value) {
2126 $this->_codigoAsuntoHabitual = $value;
2127 $this->_hasCodigoAsuntoHabitual = ($value !== null);
2129 public function hasCodigoAsuntoHabitual() {
2130 return $this->_hasCodigoAsuntoHabitual;
2132 public function getCodigoAsuntoHabitual() {
2133 return $this->_codigoAsuntoHabitual;
2137 private $_asunto = null;
2138 private $_hasAsunto =
false;
2139 public function setAsunto($value) {
2140 $this->_asunto = $value;
2141 $this->_hasAsunto = ($value !== null);
2143 public function hasAsunto() {
2144 return $this->_hasAsunto;
2146 public function getAsunto() {
2147 return $this->_asunto;
2151 private $_observacionesDepartamentales = null;
2152 private $_hasObservacionesDepartamentales =
false;
2153 public function setObservacionesDepartamentales($value) {
2154 $this->_observacionesDepartamentales = $value;
2155 $this->_hasObservacionesDepartamentales = ($value !== null);
2157 public function hasObservacionesDepartamentales() {
2158 return $this->_hasObservacionesDepartamentales;
2160 public function getObservacionesDepartamentales() {
2161 return $this->_observacionesDepartamentales;
2165 private $_observacionesGenerales = null;
2166 private $_hasObservacionesGenerales =
false;
2167 public function setObservacionesGenerales($value) {
2168 $this->_observacionesGenerales = $value;
2169 $this->_hasObservacionesGenerales = ($value !== null);
2171 public function hasObservacionesGenerales() {
2172 return $this->_hasObservacionesGenerales;
2174 public function getObservacionesGenerales() {
2175 return $this->_observacionesGenerales;
2179 private $_datosIdentificativos = null;
2180 private $_hasDatosIdentificativos =
false;
2181 public function setDatosIdentificativos($value) {
2182 $this->_datosIdentificativos = $value;
2183 $this->_hasDatosIdentificativos = ($value !== null);
2185 public function hasDatosIdentificativos() {
2186 return $this->_hasDatosIdentificativos;
2188 public function getDatosIdentificativos() {
2189 return $this->_datosIdentificativos;
2193 private $_destinos = null;
2194 private $_hasDestinos =
false;
2195 public function setDestinos($value) {
2196 $this->_destinos = $value;
2197 $this->_hasDestinos = ($value !== null);
2199 public function hasDestinos() {
2200 return $this->_hasDestinos;
2202 public function getDestinos() {
2203 return $this->_destinos;
2207 private $_datosRegistroGeneralSalida = null;
2208 private $_hasDatosRegistroGeneralSalida =
false;
2209 public function setDatosRegistroGeneralSalida($value) {
2210 $this->_datosRegistroGeneralSalida = $value;
2211 $this->_hasDatosRegistroGeneralSalida = ($value !== null);
2213 public function hasDatosRegistroGeneralSalida() {
2214 return $this->_hasDatosRegistroGeneralSalida;
2216 public function getDatosRegistroGeneralSalida() {
2217 return $this->_datosRegistroGeneralSalida;
2221 private $_otraUnidadDeProcedencia = null;
2222 private $_hasOtraUnidadDeProcedencia =
false;
2223 public function setOtraUnidadDeProcedencia($value) {
2224 $this->_otraUnidadDeProcedencia = $value;
2225 $this->_hasOtraUnidadDeProcedencia = ($value !== null);
2227 public function hasOtraUnidadDeProcedencia() {
2228 return $this->_hasOtraUnidadDeProcedencia;
2230 public function getOtraUnidadDeProcedencia() {
2231 return $this->_otraUnidadDeProcedencia;
2235 private $_descripcionOtraUnidadDeProcedencia = null;
2236 private $_hasDescripcionOtraUnidadDeProcedencia =
false;
2237 public function setDescripcionOtraUnidadDeProcedencia($value) {
2238 $this->_descripcionOtraUnidadDeProcedencia = $value;
2239 $this->_hasDescripcionOtraUnidadDeProcedencia = ($value !== null);
2241 public function hasDescripcionOtraUnidadDeProcedencia() {
2242 return $this->_hasDescripcionOtraUnidadDeProcedencia;
2244 public function getDescripcionOtraUnidadDeProcedencia() {
2245 return $this->_descripcionOtraUnidadDeProcedencia;
2249 private $_datosRegistroDepartamentalOrigen = null;
2250 private $_hasDatosRegistroDepartamentalOrigen =
false;
2251 public function setDatosRegistroDepartamentalOrigen($value) {
2252 $this->_datosRegistroDepartamentalOrigen = $value;
2253 $this->_hasDatosRegistroDepartamentalOrigen = ($value !== null);
2255 public function hasDatosRegistroDepartamentalOrigen() {
2256 return $this->_hasDatosRegistroDepartamentalOrigen;
2258 public function getDatosRegistroDepartamentalOrigen() {
2259 return $this->_datosRegistroDepartamentalOrigen;
2263 private $_tipoTransporte = null;
2264 private $_hasTipoTransporte =
false;
2265 public function setTipoTransporte($value) {
2266 $this->_tipoTransporte = $value;
2267 $this->_hasTipoTransporte = ($value !== null);
2269 public function hasTipoTransporte() {
2270 return $this->_hasTipoTransporte;
2272 public function getTipoTransporte() {
2273 return $this->_tipoTransporte;
2277 private $_datosExpediente = null;
2278 private $_hasDatosExpediente =
false;
2279 public function setDatosExpediente($value) {
2280 $this->_datosExpediente = $value;
2281 $this->_hasDatosExpediente = ($value !== null);
2283 public function hasDatosExpediente() {
2284 return $this->_hasDatosExpediente;
2286 public function getDatosExpediente() {
2287 return $this->_datosExpediente;
2291 private $_documentos = null;
2292 private $_hasDocumentos =
false;
2293 public function setDocumentos($value) {
2294 $this->_documentos = $value;
2295 $this->_hasDocumentos = ($value !== null);
2297 public function hasDocumentos() {
2298 return $this->_hasDocumentos;
2300 public function getDocumentos() {
2301 return $this->_documentos;
2305 static public function fromSoap($vData) {
2307 if (!isset($vData[
'codigoOrganismoUnidadDepartamental'])) {
2308 throw new Exception(
'El parametro codigoOrganismoUnidadDepartamental es obligatorio');
2310 if (isset($vData[
'codigoOrganismoUnidadDepartamental'])) {
2311 $newItem->setCodigoOrganismoUnidadDepartamental($vData[
'codigoOrganismoUnidadDepartamental']);
2313 if (!isset($vData[
'codigoUnidadDepartamental'])) {
2314 throw new Exception(
'El parametro codigoUnidadDepartamental es obligatorio');
2316 if (isset($vData[
'codigoUnidadDepartamental'])) {
2317 $newItem->setCodigoUnidadDepartamental($vData[
'codigoUnidadDepartamental']);
2319 if (!isset($vData[
'tipoRegistroDepartamental'])) {
2320 throw new Exception(
'El parametro tipoRegistroDepartamental es obligatorio');
2322 if (isset($vData[
'tipoRegistroDepartamental'])) {
2323 $newItem->setTipoRegistroDepartamental($vData[
'tipoRegistroDepartamental']);
2325 if (isset($vData[
'codigoAsuntoHabitual'])) {
2326 $newItem->setCodigoAsuntoHabitual($vData[
'codigoAsuntoHabitual']);
2328 if (!isset($vData[
'asunto'])) {
2329 throw new Exception(
'El parametro asunto es obligatorio');
2331 if (isset($vData[
'asunto'])) {
2332 $newItem->setAsunto($vData[
'asunto']);
2334 if (isset($vData[
'observacionesDepartamentales'])) {
2335 $newItem->setObservacionesDepartamentales($vData[
'observacionesDepartamentales']);
2337 if (isset($vData[
'observacionesGenerales'])) {
2338 $newItem->setObservacionesGenerales($vData[
'observacionesGenerales']);
2340 if (!isset($vData[
'datosIdentificativos'])) {
2341 throw new Exception(
'El parametro datosIdentificativos es obligatorio');
2343 if (isset($vData[
'datosIdentificativos'])) {
2344 $newClass = DatosIdentificativosType::fromSoap($vData[
'datosIdentificativos']);
2345 $newItem->setDatosIdentificativos($newClass);
2347 if (isset($vData[
'destinos'])) {
2348 $newClass = DestinosType::fromSoap($vData[
'destinos']);
2349 $newItem->setDestinos($newClass);
2351 if (isset($vData[
'datosRegistroGeneralSalida'])) {
2352 $newClass = DatosRegistroType::fromSoap($vData[
'datosRegistroGeneralSalida']);
2353 $newItem->setDatosRegistroGeneralSalida($newClass);
2355 if (isset($vData[
'otraUnidadDeProcedencia'])) {
2356 $newItem->setOtraUnidadDeProcedencia($vData[
'otraUnidadDeProcedencia']);
2358 if (isset($vData[
'descripcionOtraUnidadDeProcedencia'])) {
2359 $newItem->setDescripcionOtraUnidadDeProcedencia($vData[
'descripcionOtraUnidadDeProcedencia']);
2361 if (isset($vData[
'datosRegistroDepartamentalOrigen'])) {
2362 $newClass = IdentificacionRegistroDepartamentalType::fromSoap($vData[
'datosRegistroDepartamentalOrigen']);
2363 $newItem->setDatosRegistroDepartamentalOrigen($newClass);
2365 if (isset($vData[
'tipoTransporte'])) {
2366 $newItem->setTipoTransporte($vData[
'tipoTransporte']);
2368 if (isset($vData[
'datosExpediente'])) {
2369 $newClass = DatosExpedienteType::fromSoap($vData[
'datosExpediente']);
2370 $newItem->setDatosExpediente($newClass);
2372 if (isset($vData[
'documentos'])) {
2373 $newClass = DocumentosType::fromSoap($vData[
'documentos']);
2374 $newItem->setDocumentos($newClass);
2379 public function toSoap($fieldName, $namespace) {
2382 $this->__doChild($myLevel, $this->_codigoOrganismoUnidadDepartamental,
'codigoOrganismoUnidadDepartamental', 101, $namespace, 1, 1);
2383 $this->__doChild($myLevel, $this->_codigoUnidadDepartamental,
'codigoUnidadDepartamental', 101, $namespace, 1, 1);
2384 $this->__doChild($myLevel, $this->_tipoRegistroDepartamental,
'tipoRegistroDepartamental', 101, $namespace, 1, 1);
2385 $this->__doChild($myLevel, $this->_codigoAsuntoHabitual,
'codigoAsuntoHabitual', 101, $namespace, 0, 1);
2386 $this->__doChild($myLevel, $this->_asunto,
'asunto', 101, $namespace, 1, 1);
2387 $this->__doChild($myLevel, $this->_observacionesDepartamentales,
'observacionesDepartamentales', 101, $namespace, 0, 1);
2388 $this->__doChild($myLevel, $this->_observacionesGenerales,
'observacionesGenerales', 101, $namespace, 0, 1);
2389 $this->__doChild($myLevel, $this->_datosIdentificativos,
'datosIdentificativos', SOAP_ENC_OBJECT, $namespace, 1, 1);
2390 $this->__doChild($myLevel, $this->_destinos,
'destinos', SOAP_ENC_OBJECT, $namespace, 0, 1);
2391 $this->__doChild($myLevel, $this->_datosRegistroGeneralSalida,
'datosRegistroGeneralSalida', SOAP_ENC_OBJECT, $namespace, 0, 1);
2392 $this->__doChild($myLevel, $this->_otraUnidadDeProcedencia,
'otraUnidadDeProcedencia', 101, $namespace, 0, 1);
2393 $this->__doChild($myLevel, $this->_descripcionOtraUnidadDeProcedencia,
'descripcionOtraUnidadDeProcedencia', 101, $namespace, 0, 1);
2394 $this->__doChild($myLevel, $this->_datosRegistroDepartamentalOrigen,
'datosRegistroDepartamentalOrigen', SOAP_ENC_OBJECT, $namespace, 0, 1);
2395 $this->__doChild($myLevel, $this->_tipoTransporte,
'tipoTransporte', 101, $namespace, 0, 1);
2396 $this->__doChild($myLevel, $this->_datosExpediente,
'datosExpediente', SOAP_ENC_OBJECT, $namespace, 0, 1);
2397 $this->__doChild($myLevel, $this->_documentos,
'documentos', SOAP_ENC_OBJECT, $namespace, 0, 1);
2400 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
2406 private $_resultado = null;
2407 private $_hasResultado =
false;
2408 public function setResultado($value) {
2409 $this->_resultado = $value;
2410 $this->_hasResultado = ($value !== null);
2412 public function hasResultado() {
2413 return $this->_hasResultado;
2415 public function getResultado() {
2416 return $this->_resultado;
2420 private $_registrosCreados = null;
2421 private $_hasRegistrosCreados =
false;
2422 public function setRegistrosCreados($value) {
2423 $this->_registrosCreados = $value;
2424 $this->_hasRegistrosCreados = ($value !== null);
2426 public function hasRegistrosCreados() {
2427 return $this->_hasRegistrosCreados;
2429 public function getRegistrosCreados() {
2430 return $this->_registrosCreados;
2434 private $_error = null;
2435 private $_hasError =
false;
2436 public function setError($value) {
2437 $this->_error = $value;
2438 $this->_hasError = ($value !== null);
2440 public function hasError() {
2441 return $this->_hasError;
2443 public function getError() {
2444 return $this->_error;
2448 static public function fromSoap($vData) {
2450 if (!isset($vData[
'resultado'])) {
2451 throw new Exception(
'El parametro resultado es obligatorio');
2453 if (isset($vData[
'resultado'])) {
2454 $newItem->setResultado($vData[
'resultado']);
2456 if (isset($vData[
'registrosCreados'])) {
2457 $newClass = RegistrosCreadosType::fromSoap($vData[
'registrosCreados']);
2458 $newItem->setRegistrosCreados($newClass);
2460 if (isset($vData[
'error'])) {
2461 $newClass = ErrorInfoType::fromSoap($vData[
'error']);
2462 $newItem->setError($newClass);
2467 public function toSoap($fieldName, $namespace) {
2470 $this->__doChild($myLevel, $this->_resultado,
'resultado', 102, $namespace, 1, 1);
2471 $this->__doChild($myLevel, $this->_registrosCreados,
'registrosCreados', SOAP_ENC_OBJECT, $namespace, 0, 1);
2472 $this->__doChild($myLevel, $this->_error,
'error', SOAP_ENC_OBJECT, $namespace, 0, 1);
2475 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
2481 private $_codigoRegistroDepartamental = null;
2482 private $_hasCodigoRegistroDepartamental =
false;
2483 public function setCodigoRegistroDepartamental($value) {
2484 $this->_codigoRegistroDepartamental = $value;
2485 $this->_hasCodigoRegistroDepartamental = ($value !== null);
2487 public function hasCodigoRegistroDepartamental() {
2488 return $this->_hasCodigoRegistroDepartamental;
2490 public function getCodigoRegistroDepartamental() {
2491 return $this->_codigoRegistroDepartamental;
2495 private $_devolverDocumentos = null;
2496 private $_hasDevolverDocumentos =
false;
2497 public function setDevolverDocumentos($value) {
2498 $this->_devolverDocumentos = $value;
2499 $this->_hasDevolverDocumentos = ($value !== null);
2501 public function hasDevolverDocumentos() {
2502 return $this->_hasDevolverDocumentos;
2504 public function getDevolverDocumentos() {
2505 return $this->_devolverDocumentos;
2509 static public function fromSoap($vData) {
2511 if (!isset($vData[
'codigoRegistroDepartamental'])) {
2512 throw new Exception(
'El parametro codigoRegistroDepartamental es obligatorio');
2514 if (isset($vData[
'codigoRegistroDepartamental'])) {
2515 $newClass = RegistroDepartamentalCodigoType::fromSoap($vData[
'codigoRegistroDepartamental']);
2516 $newItem->setCodigoRegistroDepartamental($newClass);
2518 if (!isset($vData[
'devolverDocumentos'])) {
2519 throw new Exception(
'El parametro devolverDocumentos es obligatorio');
2521 if (isset($vData[
'devolverDocumentos'])) {
2522 $newItem->setDevolverDocumentos($vData[
'devolverDocumentos']);
2527 public function toSoap($fieldName, $namespace) {
2530 $this->__doChild($myLevel, $this->_codigoRegistroDepartamental,
'codigoRegistroDepartamental', SOAP_ENC_OBJECT, $namespace, 1, 1);
2531 $this->__doChild($myLevel, $this->_devolverDocumentos,
'devolverDocumentos', 102, $namespace, 1, 1);
2534 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
2540 private $_resultado = null;
2541 private $_hasResultado =
false;
2542 public function setResultado($value) {
2543 $this->_resultado = $value;
2544 $this->_hasResultado = ($value !== null);
2546 public function hasResultado() {
2547 return $this->_hasResultado;
2549 public function getResultado() {
2550 return $this->_resultado;
2554 private $_datosRegistroDepartamental = null;
2555 private $_hasDatosRegistroDepartamental =
false;
2556 public function setDatosRegistroDepartamental($value) {
2557 $this->_datosRegistroDepartamental = $value;
2558 $this->_hasDatosRegistroDepartamental = ($value !== null);
2560 public function hasDatosRegistroDepartamental() {
2561 return $this->_hasDatosRegistroDepartamental;
2563 public function getDatosRegistroDepartamental() {
2564 return $this->_datosRegistroDepartamental;
2568 private $_error = null;
2569 private $_hasError =
false;
2570 public function setError($value) {
2571 $this->_error = $value;
2572 $this->_hasError = ($value !== null);
2574 public function hasError() {
2575 return $this->_hasError;
2577 public function getError() {
2578 return $this->_error;
2582 static public function fromSoap($vData) {
2584 if (!isset($vData[
'resultado'])) {
2585 throw new Exception(
'El parametro resultado es obligatorio');
2587 if (isset($vData[
'resultado'])) {
2588 $newItem->setResultado($vData[
'resultado']);
2590 if (isset($vData[
'datosRegistroDepartamental'])) {
2591 $newClass = DatosRegistroDepartamentalType::fromSoap($vData[
'datosRegistroDepartamental']);
2592 $newItem->setDatosRegistroDepartamental($newClass);
2594 if (isset($vData[
'error'])) {
2595 $newClass = ErrorInfoType::fromSoap($vData[
'error']);
2596 $newItem->setError($newClass);
2601 public function toSoap($fieldName, $namespace) {
2604 $this->__doChild($myLevel, $this->_resultado,
'resultado', 102, $namespace, 1, 1);
2605 $this->__doChild($myLevel, $this->_datosRegistroDepartamental,
'datosRegistroDepartamental', SOAP_ENC_OBJECT, $namespace, 0, 1);
2606 $this->__doChild($myLevel, $this->_error,
'error', SOAP_ENC_OBJECT, $namespace, 0, 1);
2609 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
2615 private $_codigoRegistroDepartamental = null;
2616 private $_hasCodigoRegistroDepartamental =
false;
2617 public function setCodigoRegistroDepartamental($value) {
2618 $this->_codigoRegistroDepartamental = $value;
2619 $this->_hasCodigoRegistroDepartamental = ($value !== null);
2621 public function hasCodigoRegistroDepartamental() {
2622 return $this->_hasCodigoRegistroDepartamental;
2624 public function getCodigoRegistroDepartamental() {
2625 return $this->_codigoRegistroDepartamental;
2629 static public function fromSoap($vData) {
2631 if (!isset($vData[
'codigoRegistroDepartamental'])) {
2632 throw new Exception(
'El parametro codigoRegistroDepartamental es obligatorio');
2634 if (isset($vData[
'codigoRegistroDepartamental'])) {
2635 $newClass = RegistroDepartamentalCodigoType::fromSoap($vData[
'codigoRegistroDepartamental']);
2636 $newItem->setCodigoRegistroDepartamental($newClass);
2641 public function toSoap($fieldName, $namespace) {
2644 $this->__doChild($myLevel, $this->_codigoRegistroDepartamental,
'codigoRegistroDepartamental', SOAP_ENC_OBJECT, $namespace, 1, 1);
2647 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);
2653 private $_resultado = null;
2654 private $_hasResultado =
false;
2655 public function setResultado($value) {
2656 $this->_resultado = $value;
2657 $this->_hasResultado = ($value !== null);
2659 public function hasResultado() {
2660 return $this->_hasResultado;
2662 public function getResultado() {
2663 return $this->_resultado;
2667 private $_codigoRegistroDepartamentalConsulta = null;
2668 private $_hasCodigoRegistroDepartamentalConsulta =
false;
2669 public function setCodigoRegistroDepartamentalConsulta($value) {
2670 $this->_codigoRegistroDepartamentalConsulta = $value;
2671 $this->_hasCodigoRegistroDepartamentalConsulta = ($value !== null);
2673 public function hasCodigoRegistroDepartamentalConsulta() {
2674 return $this->_hasCodigoRegistroDepartamentalConsulta;
2676 public function getCodigoRegistroDepartamentalConsulta() {
2677 return $this->_codigoRegistroDepartamentalConsulta;
2681 private $_historico = null;
2682 private $_hasHistorico =
false;
2683 public function setHistorico($value) {
2684 $this->_historico = $value;
2685 $this->_hasHistorico = ($value !== null);
2687 public function hasHistorico() {
2688 return $this->_hasHistorico;
2690 public function getHistorico() {
2691 return $this->_historico;
2695 private $_error = null;
2696 private $_hasError =
false;
2697 public function setError($value) {
2698 $this->_error = $value;
2699 $this->_hasError = ($value !== null);
2701 public function hasError() {
2702 return $this->_hasError;
2704 public function getError() {
2705 return $this->_error;
2709 static public function fromSoap($vData) {
2711 if (!isset($vData[
'resultado'])) {
2712 throw new Exception(
'El parametro resultado es obligatorio');
2714 if (isset($vData[
'resultado'])) {
2715 $newItem->setResultado($vData[
'resultado']);
2717 if (isset($vData[
'codigoRegistroDepartamentalConsulta'])) {
2718 $newClass = RegistroDepartamentalCodigoType::fromSoap($vData[
'codigoRegistroDepartamentalConsulta']);
2719 $newItem->setCodigoRegistroDepartamentalConsulta($newClass);
2721 if (isset($vData[
'historico'])) {
2722 $newClass = HistoricoType::fromSoap($vData[
'historico']);
2723 $newItem->setHistorico($newClass);
2725 if (isset($vData[
'error'])) {
2726 $newClass = ErrorInfoType::fromSoap($vData[
'error']);
2727 $newItem->setError($newClass);
2732 public function toSoap($fieldName, $namespace) {
2735 $this->__doChild($myLevel, $this->_resultado,
'resultado', 102, $namespace, 1, 1);
2736 $this->__doChild($myLevel, $this->_codigoRegistroDepartamentalConsulta,
'codigoRegistroDepartamentalConsulta', SOAP_ENC_OBJECT, $namespace, 0, 1);
2737 $this->__doChild($myLevel, $this->_historico,
'historico', SOAP_ENC_OBJECT, $namespace, 0, 1);
2738 $this->__doChild($myLevel, $this->_error,
'error', SOAP_ENC_OBJECT, $namespace, 0, 1);
2741 return new SoapVar($myLevel, SOAP_ENC_OBJECT, null, null, $fieldName, $namespace);