Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1928 Rev 1937
Line 12... Line 12...
12
	private String id, espece, commentaire, numNomenclatural, referentiel, valideePar, dateValidation;
12
	private String id, espece, commentaire, numNomenclatural, referentiel, valideePar, dateValidation;
13
	private int nbCommentaires = 0;
13
	private int nbCommentaires = 0;
14
	/** Doit valoir 1 s'il y a un commentaire initial, sinon 0 */
14
	/** Doit valoir 1 s'il y a un commentaire initial, sinon 0 */
15
	private int commentaireInitial = 0;
15
	private int commentaireInitial = 0;
16
	private boolean estPropositionInitiale = false;
16
	private boolean estPropositionInitiale = false;
-
 
17
	private boolean estPropositionRetenue = false;
Line 17... Line 18...
17
 
18
 
18
	public boolean estPropositionInitiale() {
-
 
19
		
19
	public boolean estPropositionInitiale() {	
20
		return estPropositionInitiale;
20
		return estPropositionInitiale;
Line 21... Line 21...
21
	}
21
	}
22
 
-
 
23
	public void setEstPropositionInitiale(boolean estPropositionInitiale) {
22
 
24
		
23
	public void setEstPropositionInitiale(boolean estPropositionInitiale) {	
-
 
24
		this.estPropositionInitiale = estPropositionInitiale;
-
 
25
	}
-
 
26
	
-
 
27
	public boolean estPropositionRetenue() {
-
 
28
		//return (this.espece.equals(this.observation.getNomRetenu()));
-
 
29
		return estPropositionRetenue;
-
 
30
	}
-
 
31
 
-
 
32
	public void setEstPropositionRetenue(boolean estPropositionRetenue) {	
Line 25... Line 33...
25
		this.estPropositionInitiale = estPropositionInitiale;
33
		this.estPropositionRetenue = estPropositionRetenue;
26
	}
34
	}
Line 27... Line 35...
27
 
35
 
Line 43... Line 51...
43
			commentaireInitial = 1;
51
			commentaireInitial = 1;
44
		} else {
52
		} else {
45
			commentaireInitial = 0;
53
			commentaireInitial = 0;
46
		}
54
		}
47
	}
55
	}
48
 
-
 
49
	public boolean estPropositionRetenue() {
-
 
50
		return (this.espece.equals(this.observation.getNomRetenu()));
-
 
51
	}
-
 
Line 52... Line 56...
52
	
56
	
53
	public void ajouterVoteDetermination(VoteDetermination vd) {
57
	public void ajouterVoteDetermination(VoteDetermination vd) {
54
		votesDeterminations.put(vd.getContributeur(), vd);
58
		votesDeterminations.put(vd.getContributeur(), vd);