Пример #1
0
 /** Copies constructor from other UsuarioVO */
 public UsuarioVO(UsuarioVO otherBean) {
   if (otherBean != null) {
     this.id = otherBean.getId();
     this.nombre = otherBean.getNombre();
     this.apellido1 = otherBean.getApellido1();
     this.apellido2 = otherBean.getApellido2();
     this.email = otherBean.getEmail();
     this.NIF = otherBean.getNIF();
     this.usuario = otherBean.getUsuario();
     this.clave = otherBean.getClave();
     this.idioma = otherBean.getIdioma();
     this.idiomaBusqueda = otherBean.getIdiomaBusqueda();
     this.tipoEmpaquetador = otherBean.getTipoEmpaquetador();
     this.fechaAlta = otherBean.getFechaAlta();
     this.fechaBaja = otherBean.getFechaBaja();
     this.fechaSolicitudAlta = otherBean.getFechaSolicitudAlta();
     this.claveEncriptada = otherBean.getClaveEncriptada();
     this.fechaDesactivacion = otherBean.getFechaDesactivacion();
     this.tipoCatalogador = otherBean.getTipoCatalogador();
     this.cuota = otherBean.getCuota();
     this.openIdUrl = otherBean.getOpenIdUrl();
     this.grupos = otherBean.getGrupos();
     this.grupoTrabajo = otherBean.getGrupoTrabajo();
   }
 }