Subversion Repositories eFlore/Applications.del

Rev

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

Rev 690 Rev 881
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.util.ArrayList;
3
import java.util.ArrayList;
4
import java.util.Date;
4
import java.util.Date;
5
import java.util.List;
5
import java.util.List;
Line 6... Line 6...
6
public class InterventionForum implements PossesseurDeCommentaires {
6
public class InterventionForum {
7
	
7
	
-
 
8
	private Contributeur contributeur;
-
 
9
	private Date date;
-
 
10
	private String id;
8
	private Contributeur contributeur;
11
	private InterventionForum parent;
Line -... Line 12...
-
 
12
	private Observation observation;
-
 
13
	public List<Commentaire> listeCommentaires = new ArrayList<Commentaire>();
-
 
14
 
-
 
15
	public void setId(String id) {
-
 
16
		this.id = id;
-
 
17
	}
-
 
18
	
-
 
19
	public String getId() {
-
 
20
		return id;
-
 
21
	}
-
 
22
	
-
 
23
	public void setParent(InterventionForum parent) {
-
 
24
		this.parent = parent;
-
 
25
	}
-
 
26
	
-
 
27
	public InterventionForum getParent() {
-
 
28
		return parent;
-
 
29
	}
-
 
30
	
-
 
31
	public void setObservation(Observation observation) {
-
 
32
		this.observation = observation;
-
 
33
	}
-
 
34
	
-
 
35
	public Observation getObservation() {
9
	private Date date;
36
		return observation;
10
	public List<Commentaire> listeCommentaires = new ArrayList<Commentaire>();
37
	}
11
 
38
	
Line 12... Line 39...
12
	public String getAuteur() {
39
	public String getAuteur() {
Line 31... Line 58...
31
 
58
 
32
	public List<Commentaire> getListeCommentaires() {
59
	public List<Commentaire> getListeCommentaires() {
33
		return listeCommentaires;
60
		return listeCommentaires;
Line 34... Line -...
34
	}
-
 
35
 
61
	}
36
	@Override
62
 
37
	public void setListeCommentaires(List<Commentaire> listeCommentaires) {
63
	public void setListeCommentaires(List<Commentaire> listeCommentaires) {
Line 38... Line -...
38
		this.listeCommentaires = listeCommentaires;
-
 
39
	}
64
		this.listeCommentaires = listeCommentaires;
40
 
65
	}
41
	@Override
66
 
42
	public void ajouterCommentaire(Commentaire commentaire) {
67
	public void ajouterCommentaire(Commentaire commentaire) {