Subversion Repositories eFlore/Applications.del

Rev

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

Rev 881 Rev 887
Line 65... Line 65...
65
	}
65
	}
Line 66... Line 66...
66
 
66
 
67
	public void ajouterCommentaire(Commentaire commentaire) {
67
	public void ajouterCommentaire(Commentaire commentaire) {
68
		listeCommentaires.add(commentaire);
68
		listeCommentaires.add(commentaire);
-
 
69
	}
-
 
70
	
-
 
71
	public PropositionDetermination getPropositionParenteOuNulle() {
-
 
72
		InterventionForum parent = getParent();
-
 
73
		PropositionDetermination proposition = null;
-
 
74
		while(parent != null && !(parent instanceof PropositionDetermination)) {
-
 
75
			parent = parent.getParent();
-
 
76
		}
-
 
77
		if(parent != null) {
-
 
78
			proposition = (PropositionDetermination)parent;
-
 
79
		}
-
 
80
		return proposition;
69
	}
81
	}