Subversion Repositories eFlore/Applications.del

Rev

Rev 658 | Rev 890 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.modeles;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class PropositionDetermination extends InterventionForum implements Serializable {

        private static final long serialVersionUID = 840032625524143547L;
        private String id, espece;
        private Map<String, VoteDetermination> votesDeterminations = new HashMap<String, VoteDetermination>();
        

        public void ajouterVoteDetermination(VoteDetermination vd) {
                votesDeterminations.put(vd.getContributeur(), vd);
        }

        public String getId() {
                return id;
        }

        public void setId(String id) {
                this.id = id;
        }

        public String getEspece() {
                return espece;
        }

        public void setEspece(String espece) {
                this.espece = espece;
        }

        public Map<String, VoteDetermination> getVotesDeterminations() {
                return votesDeterminations;
        }

        public void setVotesDeterminations(Map<String, VoteDetermination> votesDeterminations) {
                this.votesDeterminations = votesDeterminations;
        }

        
}