Subversion Repositories eFlore/Applications.coel

Rev

Rev 1925 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1925 Rev 1935
Line 2... Line 2...
2
 
2
 
3
import java.util.Iterator;
3
import java.util.Iterator;
4
import java.util.Map;
4
import java.util.Map;
Line -... Line 5...
-
 
5
import java.util.Set;
5
import java.util.Set;
6
 
Line 6... Line 7...
6
 
7
import org.tela_botanica.client.Coel;
7
import org.tela_botanica.client.modeles.aDonnee;
8
import org.tela_botanica.client.modeles.aDonnee;
Line 297... Line 298...
297
	
298
	
298
	// PERIODE CONSTITUTION
299
	// PERIODE CONSTITUTION
299
	public String getPeriodeConstitutionDebut() {
300
	public String getPeriodeConstitutionDebut() {
300
		return renvoyerValeurCorrecte("periode_constitution_debut");
301
		return renvoyerValeurCorrecte("periode_constitution_debut");
301
	}
302
	}
302
	public void setPeriodeConstitutionDebut(Integer periodeConstitution) {
303
	public void setPeriodeConstitutionDebut(String periodeConstitution) {
303
		if (periodeConstitution.equals(new Integer("")))
304
		if (periodeConstitution == null || periodeConstitution.equals("Année")) {
304
			this.set("periode_constitution_debut", null);
305
			periodeConstitution = "";
305
		else
306
		}
306
			this.set("periode_constitution_debut", periodeConstitution);
307
		this.set("periode_constitution_debut", periodeConstitution);
Line 307... Line 308...
307
	}
308
	}
308
	
309
	
309
	public String getPeriodeConstitutionFin() {
310
	public String getPeriodeConstitutionFin() {
310
		return renvoyerValeurCorrecte("periode_constitution_fin");
311
		return renvoyerValeurCorrecte("periode_constitution_fin");
311
	}
312
	}
312
	public void setPeriodeConstitutionFin(Integer periodeConstitution) {
313
	public void setPeriodeConstitutionFin(String periodeConstitution) {
313
		if (periodeConstitution.equals(new Integer("")))
314
		if (periodeConstitution == null || periodeConstitution.equals("Année")) {
314
			this.set("periode_constitution_fin", null);
315
			periodeConstitution = "";
315
		else
316
		}
Line 316... Line 317...
316
			this.set("periode_constitution_fin", periodeConstitution);
317
		this.set("periode_constitution_fin", periodeConstitution);
317
	}
318
	}
318
	
319