Subversion Repositories eFlore/Applications.del

Rev

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

Rev 232 Rev 305
Line 2... Line 2...
2
 
2
 
3
import java.io.Serializable;
3
import java.io.Serializable;
4
import java.util.ArrayList;
4
import java.util.ArrayList;
5
import java.util.Date;
5
import java.util.Date;
-
 
6
import java.util.HashMap;
6
import java.util.HashMap;
7
import java.util.List;
Line 7... Line 8...
7
import java.util.Map;
8
import java.util.Map;
Line 8... Line 9...
8
 
9
 
9
public class PropositionDetermination implements Serializable {
10
public class PropositionDetermination extends PossesseurDeCommentaires implements Serializable {
10
 
-
 
11
	private static final long serialVersionUID = 840032625524143547L;
11
 
12
	private String id, espece, contributeur;
12
	private static final long serialVersionUID = 840032625524143547L;
Line 13... Line 13...
13
	private ArrayList<Commentaire> commentaires = new ArrayList<Commentaire>();
13
	private String id, espece, contributeur;
14
	private Map<String, VoteDetermination> votesDeterminations = new HashMap<String, VoteDetermination>();
14
	private Map<String, VoteDetermination> votesDeterminations = new HashMap<String, VoteDetermination>();
Line 40... Line 40...
40
 
40
 
41
	public void setDate(Date date) {
41
	public void setDate(Date date) {
42
		this.date = date;
42
		this.date = date;
Line 43... Line -...
43
	}
-
 
44
 
-
 
45
	public ArrayList<Commentaire> getCommentaires() {
-
 
46
		return commentaires;
-
 
47
	}
-
 
48
 
-
 
49
	public void setCommentaires(ArrayList<Commentaire> commentaires) {
-
 
50
		this.commentaires = commentaires;
-
 
51
	}
-
 
52
 
-
 
53
	public void ajouterCommentaire(Commentaire commentaire) {
-
 
54
		this.commentaires.add(commentaire);
-
 
55
	}
43
	}
56
 
44
 
57
	public String getEspece() {
45
	public String getEspece() {
Line 58... Line 46...
58
		return espece;
46
		return espece;