Subversion Repositories eFlore/Applications.del

Rev

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

Rev 165 Rev 191
Line 8... Line 8...
8
	 */
8
	 */
9
	private int score = -1;
9
	private int score = -1;
Line 10... Line 10...
10
	
10
	
Line -... Line 11...
-
 
11
	private String intituleAssocie;
-
 
12
	
11
	private String intituleAssocie;
13
	private PropositionDetermination propositionAssociee;
12
	
14
	
-
 
15
	public MoyenneVote(int score, PropositionDetermination propositionAssociee) {
13
	public MoyenneVote(int score, String intituleAssocie) {
16
		this.score = score;
14
		this.score = score;
17
		this.intituleAssocie = propositionAssociee.getEspece();
Line 15... Line 18...
15
		this.intituleAssocie = intituleAssocie;
18
		this.propositionAssociee = propositionAssociee;
16
	}
19
	}
17
 
20
 
Line 28... Line 31...
28
	}
31
	}
Line 29... Line 32...
29
 
32
 
30
	public void setIntituleAssocie(String intituleAssocie) {
33
	public void setIntituleAssocie(String intituleAssocie) {
31
		this.intituleAssocie = intituleAssocie;
34
		this.intituleAssocie = intituleAssocie;
-
 
35
	}
-
 
36
	
-
 
37
	public void setPropositionAssociee(PropositionDetermination propositionDetermination) {
-
 
38
		this.propositionAssociee = propositionDetermination;
-
 
39
	}
-
 
40
	
-
 
41
	public PropositionDetermination getPropositionAssociee() {
-
 
42
		return this.propositionAssociee;
Line 32... Line 43...
32
	}
43
	}
33
 
44
 
34
	@Override
45
	@Override
35
	public int compareTo(MoyenneVote mv) {		
46
	public int compareTo(MoyenneVote mv) {