Rev 168 | Rev 232 | 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.ArrayList;
import java.util.Date;
public class PropositionDetermination implements Serializable {
private static final long serialVersionUID = 840032625524143547L;
private String id;
private ArrayList<Commentaire> commentaires = new ArrayList<Commentaire>();
private String espece;
private ArrayList<VoteDetermination> votesDeterminations = new ArrayList<VoteDetermination>();
private String contributeur;
private Date date;
public void ajouterVoteDetermination(VoteDetermination vd) {
votesDeterminations.add(vd);
}
public String getContributeur() {
return contributeur;
}
public void setContributeur(String contributeur) {
this.contributeur = contributeur;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
public ArrayList<Commentaire> getCommentaires() {
return commentaires;
}
public void setCommentaires(ArrayList<Commentaire> commentaires) {
this.commentaires = commentaires;
}
public void ajouterCommentaire(Commentaire commentaire) {
this.commentaires.add(commentaire);
}
public String getEspece() {
return espece;
}
public void setEspece(String espece) {
this.espece = espece;
}
public ArrayList<VoteDetermination> getVotesDeterminations() {
return votesDeterminations;
}
public void setVotesDeterminations(ArrayList<VoteDetermination> votesDeterminations) {
this.votesDeterminations = votesDeterminations;
}
}