Subversion Repositories eFlore/Applications.del

Rev

Rev 232 | Rev 663 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 benjamin 1
package org.tela_botanica.del.client.modeles;
2
 
3
import java.io.Serializable;
141 aurelien 4
import java.util.ArrayList;
60 benjamin 5
import java.util.Date;
227 aurelien 6
import java.util.HashMap;
305 aurelien 7
import java.util.List;
227 aurelien 8
import java.util.Map;
9 benjamin 9
 
305 aurelien 10
public class PropositionDetermination extends PossesseurDeCommentaires implements Serializable {
9 benjamin 11
 
12
	private static final long serialVersionUID = 840032625524143547L;
232 gduche 13
	private String id, espece, contributeur;
14
	private Map<String, VoteDetermination> votesDeterminations = new HashMap<String, VoteDetermination>();
60 benjamin 15
	private Date date;
9 benjamin 16
 
141 aurelien 17
	public void ajouterVoteDetermination(VoteDetermination vd) {
227 aurelien 18
		votesDeterminations.put(vd.getContributeur(), vd);
9 benjamin 19
	}
20
 
90 aurelien 21
	public String getContributeur() {
22
		return contributeur;
9 benjamin 23
	}
24
 
90 aurelien 25
	public void setContributeur(String contributeur) {
26
		this.contributeur = contributeur;
9 benjamin 27
	}
28
 
29
	public String getId() {
30
		return id;
31
	}
32
 
33
	public void setId(String id) {
34
		this.id = id;
35
	}
36
 
60 benjamin 37
	public Date getDate() {
38
		return date;
39
	}
40
 
41
	public void setDate(Date date) {
42
		this.date = date;
43
	}
44
 
90 aurelien 45
	public String getEspece() {
46
		return espece;
47
	}
48
 
49
	public void setEspece(String espece) {
50
		this.espece = espece;
51
	}
147 benjamin 52
 
227 aurelien 53
	public Map<String, VoteDetermination> getVotesDeterminations() {
147 benjamin 54
		return votesDeterminations;
55
	}
56
 
227 aurelien 57
	public void setVotesDeterminations(Map<String, VoteDetermination> votesDeterminations) {
147 benjamin 58
		this.votesDeterminations = votesDeterminations;
59
	}
9 benjamin 60
}