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
| package org.hibernate.tutorial.domain;
// Generated 29 avr. 2011 14:20:29 by Hibernate Tools 3.4.0.CR1
import java.util.HashSet;
import java.util.Set;
/**
* Utilisateur generated by hbm2java
*/
public class Utilisateur implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private int idUtilisateur;
private Societe societe;
private Profil profil;
private String login;
private String password;
private Set<?> droits = new HashSet<Object>(0);
public Utilisateur() {
}
public Utilisateur(int idUtilisateur, Societe societe, Profil profil) {
this.idUtilisateur = idUtilisateur;
this.societe = societe;
this.profil = profil;
}
public Utilisateur(int idUtilisateur, Societe societe, Profil profil, String login, String password, Set<?> droits) {
this.idUtilisateur = idUtilisateur;
this.societe = societe;
this.profil = profil;
this.login = login;
this.password = password;
this.droits = droits;
}
public int getIdUtilisateur() {
return this.idUtilisateur;
}
public void setIdUtilisateur(int idUtilisateur) {
this.idUtilisateur = idUtilisateur;
}
public Societe getSociete() {
return this.societe;
}
public void setSociete(Societe societe) {
this.societe = societe;
}
public Profil getProfil() {
return this.profil;
}
public void setProfil(Profil profil) {
this.profil = profil;
}
public String getLogin() {
return this.login;
}
public void setLogin(String login) {
this.login = login;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public Set<?> getDroits() {
return this.droits;
}
public void setDroits(Set<?> droits) {
this.droits = droits;
}
} |