Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 834 → Rev 835

/trunk/src/org/tela_botanica/del/client/modeles/PropositionDetermination.java
9,7 → 9,11
private static final long serialVersionUID = 840032625524143547L;
private String id, espece;
private Map<String, VoteDetermination> votesDeterminations = new HashMap<String, VoteDetermination>();
private Observation observation;
public PropositionDetermination(Observation observation) {
this.observation = observation;
}
 
public void ajouterVoteDetermination(VoteDetermination vd) {
votesDeterminations.put(vd.getContributeur(), vd);
38,6 → 42,18
public void setVotesDeterminations(Map<String, VoteDetermination> votesDeterminations) {
this.votesDeterminations = votesDeterminations;
}
public boolean utilisateurAVotePourDetermination(String idContributeur) {
return votesDeterminations.containsKey(idContributeur);
}
 
public Observation getObservation() {
return observation;
}
 
public void setObservation(Observation observation) {
this.observation = observation;
}
 
}