Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 203 Rev 208
Line 252... Line 252...
252
		if (url != null) {
252
		if (url != null) {
253
			urls.set(type, url);
253
			urls.set(type, url);
254
		}
254
		}
255
	}
255
	}
Line 256... Line 256...
256
	
256
	
-
 
257
	public int getNbrePersonne() {
-
 
258
		if (renvoyerValeurCorrecte("nbre_personne").equals("")) {
-
 
259
			return 0;
257
	public String getNbrePersonne() {
260
		} else {
-
 
261
			return Integer.parseInt(renvoyerValeurCorrecte("nbre_personne"));
258
		return (String) renvoyerValeurCorrecte("nbre_personne");
262
		}
259
	}
263
	}
260
	public void setNbrePersonne(String nbrePersonne) {
264
	public void setNbrePersonne(int nbrePersonne) {
261
		this.set("nbre_personne", nbrePersonne);
265
		this.set("nbre_personne", Integer.toString(nbrePersonne));
Line 262... Line 266...
262
	}
266
	}
263
	
267
	
264
	public String getConditionAcces() {
268
	public String getConditionAcces() {