1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
|
package domaine;
// Generated 5 nov. 2012 11:48:38 by Hibernate Tools 3.2.1.GA
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
/**
* Technicien generated by hbm2java
*/
@Entity
public class Technicien implements java.io.Serializable {
@Id
@Column(name="id_ft")
private String idFt;
@OneToMany(mappedBy="technicien")
private Set<Competencev2> techniques = new HashSet<Competencev2>();
private Domaine domaine;
private Localisation localisation;
private Responsable responsable;
private String nom;
private String prenom;
private String numGsm;
private String mobilite;
private String dateNaissance;
private String depart;
public Technicien() {
}
public Technicien(String idFt, Domaine domaine, Localisation localisation, Responsable responsable, String nom, String prenom, String numGsm, String mobilite, String dateNaissance, String depart) {
this.idFt = idFt;
this.domaine = domaine;
this.localisation = localisation;
this.responsable = responsable;
this.nom = nom;
this.prenom = prenom;
this.numGsm = numGsm;
this.mobilite = mobilite;
this.dateNaissance = dateNaissance;
this.depart = depart;
}
public String getIdFt() {
return this.idFt;
}
public void setIdFt(String idFt) {
this.idFt = idFt;
}
public Domaine getDomaine() {
return this.domaine;
}
public void setDomaine(Domaine domaine) {
this.domaine = domaine;
}
public Localisation getLocalisation() {
return this.localisation;
}
public void setLocalisation(Localisation localisation) {
this.localisation = localisation;
}
public Responsable getResponsable() {
return this.responsable;
}
public void setResponsable(Responsable responsable) {
this.responsable = responsable;
}
public String getNom() {
return this.nom;
}
public void setNom(String nom) {
this.nom = nom;
}
public String getPrenom() {
return this.prenom;
}
public void setPrenom(String prenom) {
this.prenom = prenom;
}
public String getNumGsm() {
return this.numGsm;
}
public void setNumGsm(String numGsm) {
this.numGsm = numGsm;
}
public String getMobilite() {
return this.mobilite;
}
public void setMobilite(String mobilite) {
this.mobilite = mobilite;
}
public String getDateNaissance() {
return this.dateNaissance;
}
public void setDateNaissance(String dateNaissance) {
this.dateNaissance = dateNaissance;
}
public String getDepart() {
return this.depart;
}
public void setDepart(String depart) {
this.depart = depart;
}
/**
* @return the techniques
*/
public Set<Competencev2> getTechniques() {
return techniques;
}
/**
* @param techniques the techniques to set
*/
public void setTechniques(Set<Competencev2> techniques) {
this.techniques = techniques;
}
} |
Partager