Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1104 Rev 1209
Line 2... Line 2...
2
 
2
 
3
import java.io.Serializable;
3
import java.io.Serializable;
4
import java.util.HashMap;
4
import java.util.HashMap;
Line -... Line 5...
-
 
5
import java.util.Map;
5
import java.util.Map;
6
 
Line 6... Line 7...
6
 
7
import com.google.gwt.core.shared.GWT;
Line 7... Line 8...
7
import com.google.gwt.user.client.Window;
8
import com.google.gwt.user.client.Window;
8
 
9
 
9
public class PropositionDetermination extends InterventionForum implements Serializable {
10
public class PropositionDetermination extends InterventionForum implements Serializable {
-
 
11
 
-
 
12
	private static final long serialVersionUID = 840032625524143547L;
-
 
13
	private String id, espece, commentaire, numNomenclatural;
-
 
14
	private int nbCommentaires = 0;
-
 
15
	private boolean estPropositionInitiale = false;
-
 
16
 
-
 
17
	public boolean estPropositionInitiale() {
-
 
18
		
-
 
19
		return estPropositionInitiale;
-
 
20
	}
-
 
21
 
Line 10... Line 22...
10
 
22
	public void setEstPropositionInitiale(boolean estPropositionInitiale) {
11
	private static final long serialVersionUID = 840032625524143547L;
23
		
Line 12... Line 24...
12
	private String id, espece, commentaire, numNomenclatural;
24
		this.estPropositionInitiale = estPropositionInitiale;
Line 23... Line 35...
23
 
35
 
24
	public PropositionDetermination(Observation observation) {
36
	public PropositionDetermination(Observation observation) {
25
		this.observation = observation;
37
		this.observation = observation;
Line 26... Line 38...
26
	}
38
	}
27
 
39
 
28
	public boolean estPropositionInitiale() {
40
	public boolean estPropositionRetenue() {
Line 29... Line 41...
29
		return (this.espece.equals(this.observation.getNomRetenu()) && this.getContributeur().getNomComplet().equals(this.observation.getAuteur()));
41
		return (this.espece.equals(this.observation.getNomRetenu()) && this.getContributeur().getNomComplet().equals(this.observation.getAuteur()));
30
	}
42
	}