1 package fr.ifremer.dali.ui.swing.content.home.survey.validate;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 import fr.ifremer.quadrige3.ui.swing.model.AbstractEmptyUIModel;
25
26
27
28
29 public class ValidateSurveyUIModel extends AbstractEmptyUIModel<ValidateSurveyUIModel> {
30
31 private boolean unValidation;
32 public static final String PROPERTY_UN_VALIDATION = "unValidation";
33
34 private String comment;
35 public static final String PROPERTY_COMMENT = "comment";
36
37 public boolean isUnValidation() {
38 return unValidation;
39 }
40
41 public void setUnValidation(boolean unValidation) {
42 boolean oldValue = isUnValidation();
43 this.unValidation = unValidation;
44 firePropertyChange(PROPERTY_UN_VALIDATION, oldValue, unValidation);
45 }
46
47 public String getComment() {
48 return comment;
49 }
50
51 public void setComment(String comment) {
52 String oldValue = getComment();
53 this.comment = comment;
54 firePropertyChange(PROPERTY_COMMENT, oldValue, comment);
55 }
56 }