Subversion Repositories eFlore/Applications.del

Rev

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

Rev 14 Rev 35
Line 22... Line 22...
22
 
22
 
Line 23... Line 23...
23
			Observation observation = new Observation();
23
			Observation observation = new Observation();
24
 
24
 
-
 
25
			observation.setAuteur("auteur " + i);
25
			observation.setAuteur("auteur " + i);
26
			observation.setSpecies("espece " + i);
26
			observation.setSpecies("espece " + i);
27
 
27
			observation
28
			int numobs = 44120 + i;
28
					.setUrl("http://www.tela-botanica.org/appli:cel-img:000044120CRX2S.jpg");
29
			observation.setUrl("http://www.tela-botanica.org/appli:cel-img:0000" + String.valueOf(numobs) + "CRX2S.jpg");
29
			observation.setNumNomenclatural("num nomenclatural " + i);
30
			observation.setNumNomenclatural("num nomenclatural " + i);
30
			observation.setIdImage("id image " + i);
31
			observation.setIdImage("id image " + i);
31
			observation.setDate(new Date().toString());
32
			observation.setDate(new Date().toString());
32
			observation.setFamille("famille " + i);
33
			observation.setFamille("famille " + i);
Line 33... Line 34...
33
			observation.setLocalite("localite " + i);
34
			observation.setLocalite("localite " + i);
34
			observation.setNameKept("nom retenu " + i);
35
			observation.setNomRetenu("nom retenu " + i);
Line 35... Line 36...
35
 
36
 
Line 50... Line 51...
50
		observationValidationData2.setVote(2);
51
		observationValidationData2.setVote(2);
51
		observationValidationDatas.add(observationValidationData2);
52
		observationValidationDatas.add(observationValidationData2);
52
	}
53
	}
Line 53... Line 54...
53
 
54
 
54
	public List<Observation> getObservations() {
-
 
55
 
55
	public List<Observation> getObservations() {
56
		return observations;
56
		return observations;
Line 57... Line 57...
57
	}
57
	}
Line 58... Line 58...
58
 
58
 
59
	public List<ObservationValidation> getValidationData(String idImage) {
59
	public List<ObservationValidation> getValidationData(String idImage) {
Line 60... Line 60...
60
 
60
 
61
		return observationValidationDatas;
-
 
Line 62... Line 61...
62
	}
61
		return observationValidationDatas;
Line 63... Line 62...
63
 
62
	}
64
	public void saveValidationData(ObservationValidation validationData)
63