Skip to content

Commit

Permalink
Feat Convertidores Ejercicio Update 1
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-emarquez committed Sep 3, 2021
1 parent 8cae063 commit dcfec0f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions BolsaTrabajoV2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.learningjava</groupId>
<artifactId>BolsaTrabajoV1</artifactId>
<artifactId>BolsaTrabajoV2</artifactId>
<version>1.0</version>
<packaging>war</packaging>
<name>BolsaTrabajoV1</name>
<name>BolsaTrabajoV2</name>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down
16 changes: 13 additions & 3 deletions BolsaTrabajoV2/src/main/java/beans/model/Candidato.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package beans.model;

import java.util.Date;
import javax.enterprise.context.RequestScoped;
import javax.inject.Named;
import org.apache.logging.log4j.LogManager;
Expand All @@ -11,7 +12,8 @@ public class Candidato {

private String nombre;
private String apellido;
private String salarioDeseado;
private int salarioDeseado;
private Date FechaNacimiento;

Logger log = LogManager.getRootLogger();

Expand All @@ -38,14 +40,22 @@ public void setApellido(String apellido) {
log.info("Modificacndo la propiedad de apellido " + this.apellido);
}

public String getSalarioDeseado() {
public int getSalarioDeseado() {
return salarioDeseado;
}

public void setSalarioDeseado(String salarioDeseado) {
public void setSalarioDeseado(int salarioDeseado) {
this.salarioDeseado = salarioDeseado;
log.info("Modificacndo la propiedad de sueldoDeseado " + this.salarioDeseado);

}

public Date getFechaNacimiento() {
return FechaNacimiento;
}

public void setFechaNacimiento(Date FechaNacimiento) {
this.FechaNacimiento = FechaNacimiento;
}

}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3444,7 +3444,7 @@ Numeration | File | Link | Folk | Code | Version | S
Numeration | File | Link | Folk | Code | Version | State | Download | Go back |
|:----------:|:------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|
|G10 | [Convertidores en JSF](https://github.com/BrianMarquez3/Learning-Java/tree/main/ConvertidoresJSF) | <img src="https://media.giphy.com/media/9DaWtzJV7WZpxQVzNz/giphy.gif" width="17px"> | ✔️ | yes | yes | ✔️ | 💾 | [⬅️Atras](#JavaServer-Faces) |
|G11 | [Convertidores en JSF - Ejercicio](https://github.com/BrianMarquez3/Learning-Java/tree/main/BolsaTrabajoV2) | <img src="https://media.giphy.com/media/9DaWtzJV7WZpxQVzNz/giphy.gif" width="17px"> | ✔️ | yes | yes | ✔️ | 💾 | [⬅️Atras](#JavaServer-Faces) |
Expand Down

0 comments on commit dcfec0f

Please sign in to comment.