File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
src/main/java/beans/model Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 2
2
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
3
<modelVersion >4.0.0</modelVersion >
4
4
<groupId >com.learningjava</groupId >
5
- <artifactId >BolsaTrabajoV1 </artifactId >
5
+ <artifactId >BolsaTrabajoV2 </artifactId >
6
6
<version >1.0</version >
7
7
<packaging >war</packaging >
8
- <name >BolsaTrabajoV1 </name >
8
+ <name >BolsaTrabajoV2 </name >
9
9
10
10
<properties >
11
11
<maven .compiler.source>1.8</maven .compiler.source>
Original file line number Diff line number Diff line change 1
1
package beans .model ;
2
2
3
+ import java .util .Date ;
3
4
import javax .enterprise .context .RequestScoped ;
4
5
import javax .inject .Named ;
5
6
import org .apache .logging .log4j .LogManager ;
@@ -11,7 +12,8 @@ public class Candidato {
11
12
12
13
private String nombre ;
13
14
private String apellido ;
14
- private String salarioDeseado ;
15
+ private int salarioDeseado ;
16
+ private Date FechaNacimiento ;
15
17
16
18
Logger log = LogManager .getRootLogger ();
17
19
@@ -38,14 +40,22 @@ public void setApellido(String apellido) {
38
40
log .info ("Modificacndo la propiedad de apellido " + this .apellido );
39
41
}
40
42
41
- public String getSalarioDeseado () {
43
+ public int getSalarioDeseado () {
42
44
return salarioDeseado ;
43
45
}
44
46
45
- public void setSalarioDeseado (String salarioDeseado ) {
47
+ public void setSalarioDeseado (int salarioDeseado ) {
46
48
this .salarioDeseado = salarioDeseado ;
47
49
log .info ("Modificacndo la propiedad de sueldoDeseado " + this .salarioDeseado );
48
50
49
51
}
50
52
53
+ public Date getFechaNacimiento () {
54
+ return FechaNacimiento ;
55
+ }
56
+
57
+ public void setFechaNacimiento (Date FechaNacimiento ) {
58
+ this .FechaNacimiento = FechaNacimiento ;
59
+ }
60
+
51
61
}
Original file line number Diff line number Diff line change @@ -3444,7 +3444,7 @@ Numeration | File | Link | Folk | Code | Version | S
3444
3444
Numeration | File | Link | Folk | Code | Version | State | Download | Go back |
3445
3445
|:----------:|:------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|
3446
3446
|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) |
3447
-
3447
+ |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) |
3448
3448
3449
3449
3450
3450
You can’t perform that action at this time.
0 commit comments