| 305 |
aurelien |
1 |
package org.tela_botanica.del.client.modeles;
|
|
|
2 |
|
|
|
3 |
import java.util.ArrayList;
|
|
|
4 |
import java.util.List;
|
|
|
5 |
|
|
|
6 |
public abstract class PossesseurDeCommentaires {
|
|
|
7 |
public List<Commentaire> listeCommentaires = new ArrayList<Commentaire>();
|
|
|
8 |
|
|
|
9 |
public List<Commentaire> getListeCommentaires() {
|
|
|
10 |
return listeCommentaires;
|
|
|
11 |
}
|
|
|
12 |
|
|
|
13 |
public void setListeCommentaires(ArrayList<Commentaire> listeCommentaires) {
|
|
|
14 |
this.listeCommentaires = listeCommentaires;
|
|
|
15 |
}
|
|
|
16 |
|
|
|
17 |
public void ajouterCommentaire(Commentaire commentaire) {
|
|
|
18 |
this.listeCommentaires.add(commentaire);
|
|
|
19 |
}
|
|
|
20 |
}
|