Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 208 Rev 212
Line 126... Line 126...
126
		this.set("id_role", ir);
126
		this.set("id_role", ir);
127
	}
127
	}
Line 128... Line 128...
128
	
128
	
129
	// FONCTION
129
	// FONCTION
130
	public String getFonction() {
130
	public String getFonction() {
131
		String fonction = renvoyerValeurCorrecte("ce_truk_fonction");
-
 
132
		if (fonction.equals(Valeur.FONCTION_DIRECTEUR)) {
-
 
133
			return "Directeur";
-
 
134
		} else if (fonction.equals(Valeur.FONCTION_CONSERVATEUR)) {
-
 
135
			return "Conservateur";
-
 
136
		} else {
-
 
137
			return "";
-
 
138
		}
131
		return renvoyerValeurCorrecte("ce_truk_fonction");
139
	}
132
	}
140
	public void setFonction(String ctf) {
133
	public void setFonction(String ctf) {
141
		this.set("ce_truk_fonction", ctf);
134
		this.set("ce_truk_fonction", ctf);
142
	}
135
	}