Subversion Repositories eFlore/Applications.del

Rev

Rev 597 | Rev 1496 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 597 Rev 1175
Line 1... Line 1...
1
package org.tela_botanica.del.client.modeles;
1
package org.tela_botanica.del.client.modeles;
Line -... Line 2...
-
 
2
 
-
 
3
import java.util.HashMap;
2
 
4
 
Line 3... Line 5...
3
import org.tela_botanica.del.client.i18n.I18n;
5
import org.tela_botanica.del.client.i18n.I18n;
Line 4... Line 6...
4
 
6
 
5
public class Utilisateur {
7
public class Utilisateur {
6
 
8
 
7
	private String nom = "";
9
	private String nom = "";
8
	private String prenom = "";
10
	private String prenom = "";
-
 
11
	private String courriel = "";
Line 9... Line 12...
9
	private String courriel = "";
12
	private String id = "0";
10
	private String id = "0";
13
	private boolean identifie = false;
11
	private boolean identifie = false;
14
	private HashMap<String, String> preferences = null;
Line 54... Line 57...
54
	}
57
	}
Line 55... Line 58...
55
	
58
	
56
	public String getNomPrenomFormate() {
59
	public String getNomPrenomFormate() {
57
		return identifie ? prenom+" "+nom : I18n.getVocabulary().anonyme();
60
		return identifie ? prenom+" "+nom : I18n.getVocabulary().anonyme();
-
 
61
	}
-
 
62
	
-
 
63
	public HashMap<String, String> getPreferences() {
-
 
64
		return preferences;
-
 
65
	}
-
 
66
	
-
 
67
	public void setPreferences(HashMap<String, String> preferences) {
-
 
68
		this.preferences = preferences;
58
	}
69
	}