Subversion Repositories eFlore/Applications.del

Rev

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

Rev 658 Rev 663
Line 1... Line 1...
1
package org.tela_botanica.del.client.modeles;
1
package org.tela_botanica.del.client.modeles;
Line 2... Line 2...
2
 
2
 
3
import java.io.Serializable;
-
 
4
import java.util.ArrayList;
3
import java.io.Serializable;
5
import java.util.HashMap;
-
 
6
import java.util.List;
4
import java.util.HashMap;
Line 7... Line 5...
7
import java.util.Map;
5
import java.util.Map;
Line 8... Line 6...
8
 
6
 
9
public class PropositionDetermination extends InterventionForum implements PossesseurDeCommentaires, Serializable {
7
public class PropositionDetermination extends InterventionForum implements Serializable {
10
 
8
 
11
	private static final long serialVersionUID = 840032625524143547L;
-
 
-
 
9
	private static final long serialVersionUID = 840032625524143547L;
Line 12... Line 10...
12
	private String id, espece;
10
	private String id, espece;
13
	private Map<String, VoteDetermination> votesDeterminations = new HashMap<String, VoteDetermination>();
11
	private Map<String, VoteDetermination> votesDeterminations = new HashMap<String, VoteDetermination>();
14
	public List<Commentaire> listeCommentaires = new ArrayList<Commentaire>();
12
	
Line 39... Line 37...
39
 
37
 
40
	public void setVotesDeterminations(Map<String, VoteDetermination> votesDeterminations) {
38
	public void setVotesDeterminations(Map<String, VoteDetermination> votesDeterminations) {
41
		this.votesDeterminations = votesDeterminations;
39
		this.votesDeterminations = votesDeterminations;
Line 42... Line -...
42
	}
-
 
43
 
-
 
44
	public List<Commentaire> getListeCommentaires() {
-
 
45
		return listeCommentaires;
40
	}
46
	}
-
 
47
 
-
 
48
	@Override
-
 
49
	public void setListeCommentaires(List<Commentaire> listeCommentaires) {
-
 
50
		this.listeCommentaires = listeCommentaires;
-
 
51
	}
-
 
52
 
-
 
53
	@Override
-
 
54
	public void ajouterCommentaire(Commentaire commentaire) {
-
 
55
		listeCommentaires.add(commentaire);
41