Subversion Repositories eFlore/Applications.del

Rev

Rev 128 | Rev 147 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 128 Rev 141
Line 1... Line 1...
1
package org.tela_botanica.del.client.modeles;
1
package org.tela_botanica.del.client.modeles;
Line 2... Line 2...
2
 
2
 
-
 
3
import java.io.Serializable;
3
import java.io.Serializable;
4
import java.util.ArrayList;
Line 4... Line 5...
4
import java.util.Date;
5
import java.util.Date;
Line 5... Line 6...
5
 
6
 
Line 6... Line 7...
6
public class ObservationValidation implements Serializable {
7
public class PropositionDetermination implements Serializable {
Line 7... Line 8...
7
 
8
 
Line 8... Line 9...
8
	private static final long serialVersionUID = 840032625524143547L;
9
	private static final long serialVersionUID = 840032625524143547L;
Line 9... Line 10...
9
 
10
 
Line 10... Line 11...
10
	private String id;
11
	private String id;
Line 11... Line 12...
11
 
12
 
-
 
13
	private String idImage;
-
 
14
	
Line 12... Line 15...
12
	private String idImage;
15
	private ArrayList<Commentaire> commentaires = new ArrayList<Commentaire>();
Line 13... Line 16...
13
	
16
	
14
	private String commentaire;
-
 
15
	
-
 
Line 16... Line 17...
16
	private String pourcentageConfiance;
17
	private String pourcentageConfiance;
-
 
18
	
17
	
19
	private String espece;
18
	private String espece;
20
 
Line 19... Line 21...
19
 
21
	private int vote;
20
	private int vote;
22
	
21
 
23
	private ArrayList<VoteDetermination> votesDeterminations = new ArrayList<VoteDetermination>();
Line 22... Line 24...
22
	private String contributeur;
24
 
23
 
25
	private String contributeur;
24
	private Date date;
26
 
Line 63... Line 65...
63
 
65
 
64
	public void setDate(Date date) {
66
	public void setDate(Date date) {
65
		this.date = date;
67
		this.date = date;
Line 66... Line 68...
66
	}
68
	}
67
 
69
 
68
	public String getCommentaire() {
70
	public ArrayList<Commentaire> getCommentaires() {
Line 69... Line 71...
69
		return commentaire;
71
		return commentaires;
70
	}
72
	}
-
 
73
 
-
 
74
	public void setCommentaires(ArrayList<Commentaire> commentaires) {
-
 
75
		this.commentaires = commentaires;
-
 
76
	}
71
 
77
	
Line 72... Line 78...
72
	public void setCommentaire(String commentaire) {
78
	public void ajouterCommentaire(Commentaire commentaire) {
73
		this.commentaire = commentaire;
79
		this.commentaires.add(commentaire);
74
	}
80
	}
Line 86... Line 92...
86
	}
92
	}
Line 87... Line 93...
87
 
93
 
88
	public void setEspece(String espece) {
94
	public void setEspece(String espece) {
89
		this.espece = espece;
95
		this.espece = espece;
90
	}
-
 
91
 
-
 
92
	public Protocole getProtocol() {
-
 
93
		return protocol;
-
 
94
	}
-
 
95
 
-
 
96
	public void setProtocol(Protocole protocol) {
-
 
97
		this.protocol = protocol;
-
 
98
	}
-
 
99
 
96
	}