1 package fr.ifremer.reefdb.dto.data.survey;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 import fr.ifremer.quadrige3.ui.core.dto.CommentAware;
27 import fr.ifremer.quadrige3.ui.core.dto.referential.BaseReferentialDTO;
28 import fr.ifremer.reefdb.dto.ErrorAware;
29 import fr.ifremer.reefdb.dto.ErrorDTO;
30 import fr.ifremer.reefdb.dto.referential.DepartmentDTO;
31 import fr.ifremer.reefdb.dto.referential.PersonDTO;
32 import java.util.Collection;
33 import java.util.Date;
34 import javax.annotation.Generated;
35
36 @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
37 public interface CampaignDTO extends ErrorAware, CommentAware, BaseReferentialDTO {
38
39 String PROPERTY_START_DATE = "startDate";
40
41 String PROPERTY_END_DATE = "endDate";
42
43 String PROPERTY_SISMER_LINK = "sismerLink";
44
45 String PROPERTY_COMMENT = "comment";
46
47 String PROPERTY_ERRORS = "errors";
48
49 String PROPERTY_MANAGER = "manager";
50
51 String PROPERTY_RECORDER_DEPARTMENT = "recorderDepartment";
52
53 Date getStartDate();
54
55 void setStartDate(Date startDate);
56
57 Date getEndDate();
58
59 void setEndDate(Date endDate);
60
61 String getSismerLink();
62
63 void setSismerLink(String sismerLink);
64
65 String getComment();
66
67 void setComment(String comment);
68
69 ErrorDTO getErrors(int index);
70
71 boolean isErrorsEmpty();
72
73 int sizeErrors();
74
75 void addErrors(ErrorDTO errors);
76
77 void addAllErrors(Collection<ErrorDTO> errors);
78
79 boolean removeErrors(ErrorDTO errors);
80
81 boolean removeAllErrors(Collection<ErrorDTO> errors);
82
83 boolean containsErrors(ErrorDTO errors);
84
85 boolean containsAllErrors(Collection<ErrorDTO> errors);
86
87 Collection<ErrorDTO> getErrors();
88
89 void setErrors(Collection<ErrorDTO> errors);
90
91 PersonDTO getManager();
92
93 void setManager(PersonDTO manager);
94
95 DepartmentDTO getRecorderDepartment();
96
97 void setRecorderDepartment(DepartmentDTO recorderDepartment);
98
99 }