/** * Actualiza la información de la licencia * * @param licencia Informacion de licencia */ public void updateLicencia(LicenciaITEMS licencia) { this.nombre = licencia.getNombre(); this.tipo = licencia.getTipo(); this.importe = licencia.getImporte(); this.imp_tipo = licencia.getImpTipo(); this.activo = licencia.isActivo(); this.int_valor = licencia.getIntValor(); // this.int_actual = licencia.getIntActual(); this.str_valor = licencia.getStrValor(); // this.str_actual = licencia.getStrActual(); this.date_valor = Datetool.getDate(licencia.getDateValor()); // this.date_actual = Datetool.getDate(licencia.getDateActual()); this.updated = true; }