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