Subversion Repositories eFlore/Applications.del

Rev

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

Rev 227 Rev 232
Line 4... Line 4...
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.Map;
7
import java.util.Map;
Line 8... Line -...
8
 
-
 
9
import com.google.gwt.user.client.Window;
-
 
10
 
8
 
Line 11... Line 9...
11
public class PropositionDetermination implements Serializable {
9
public class PropositionDetermination implements Serializable {
12
 
-
 
13
	private static final long serialVersionUID = 840032625524143547L;
10
 
14
 
-
 
15
	private String id;
11
	private static final long serialVersionUID = 840032625524143547L;
16
	
-
 
17
	private ArrayList<Commentaire> commentaires = new ArrayList<Commentaire>();
-
 
18
	
-
 
19
	private String espece;
12
	private String id, espece, contributeur;
20
	
-
 
21
	private Map<String,VoteDetermination> votesDeterminations = new HashMap<String,VoteDetermination>();
-
 
22
 
-
 
23
	private String contributeur;
13
	private ArrayList<Commentaire> commentaires = new ArrayList<Commentaire>();
Line 24... Line 14...
24
 
14
	private Map<String, VoteDetermination> votesDeterminations = new HashMap<String, VoteDetermination>();
25
	private Date date;
15
	private Date date;
26
 
16
 
Line 57... Line 47...
57
	}
47
	}
Line 58... Line 48...
58
 
48
 
59
	public void setCommentaires(ArrayList<Commentaire> commentaires) {
49
	public void setCommentaires(ArrayList<Commentaire> commentaires) {
60
		this.commentaires = commentaires;
50
		this.commentaires = commentaires;
61
	}
51
	}
62
	
52
 
63
	public void ajouterCommentaire(Commentaire commentaire) {
53
	public void ajouterCommentaire(Commentaire commentaire) {
64
		this.commentaires.add(commentaire);
54
		this.commentaires.add(commentaire);
Line 65... Line 55...
65
	}
55
	}