1,9 → 1,10 |
package org.tela_botanica.del.client.modeles; |
|
import java.io.Serializable; |
import java.util.ArrayList; |
import java.util.Date; |
|
public class ObservationValidation implements Serializable { |
public class PropositionDetermination implements Serializable { |
|
private static final long serialVersionUID = 840032625524143547L; |
|
11,7 → 12,7 |
|
private String idImage; |
|
private String commentaire; |
private ArrayList<Commentaire> commentaires = new ArrayList<Commentaire>(); |
|
private String pourcentageConfiance; |
|
18,19 → 19,20 |
private String espece; |
|
private int vote; |
|
private ArrayList<VoteDetermination> votesDeterminations = new ArrayList<VoteDetermination>(); |
|
private String contributeur; |
|
private Date date; |
|
private Protocole protocol; |
|
public int getVote() { |
public int getVotePondere() { |
vote = 50; |
return vote; |
} |
|
public void setVote(int vote) { |
this.vote = vote; |
public void ajouterVoteDetermination(VoteDetermination vd) { |
votesDeterminations.add(vd); |
} |
|
public String getContributeur() { |
65,13 → 67,17 |
this.date = date; |
} |
|
public String getCommentaire() { |
return commentaire; |
public ArrayList<Commentaire> getCommentaires() { |
return commentaires; |
} |
|
public void setCommentaire(String commentaire) { |
this.commentaire = commentaire; |
public void setCommentaires(ArrayList<Commentaire> commentaires) { |
this.commentaires = commentaires; |
} |
|
public void ajouterCommentaire(Commentaire commentaire) { |
this.commentaires.add(commentaire); |
} |
|
public String getPourcentageConfiance() { |
return pourcentageConfiance; |
88,13 → 94,4 |
public void setEspece(String espece) { |
this.espece = espece; |
} |
|
public Protocole getProtocol() { |
return protocol; |
} |
|
public void setProtocol(Protocole protocol) { |
this.protocol = protocol; |
} |
|
} |