1 package fr.ifremer.reefdb.dto.configuration.programStrategy;
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.reefdb.dto.ErrorAware;
27 import fr.ifremer.reefdb.dto.ErrorDTO;
28 import fr.ifremer.reefdb.dto.referential.DepartmentDTO;
29 import fr.ifremer.reefdb.dto.referential.LocationDTO;
30 import java.io.Serializable;
31 import java.time.LocalDate;
32 import java.util.Collection;
33 import javax.annotation.Generated;
34
35 @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
36 public interface AppliedStrategyDTO extends ErrorAware, LocationDTO, Serializable {
37
38 String PROPERTY_APPLIED_STRATEGY_ID = "appliedStrategyId";
39
40 String PROPERTY_START_DATE = "startDate";
41
42 String PROPERTY_END_DATE = "endDate";
43
44 String PROPERTY_PREVIOUS_START_DATE = "previousStartDate";
45
46 String PROPERTY_PREVIOUS_END_DATE = "previousEndDate";
47
48 String PROPERTY_DEPARTMENT = "department";
49
50 String PROPERTY_ERRORS = "errors";
51
52 Integer getAppliedStrategyId();
53
54 void setAppliedStrategyId(Integer appliedStrategyId);
55
56 LocalDate getStartDate();
57
58 void setStartDate(LocalDate startDate);
59
60 LocalDate getEndDate();
61
62 void setEndDate(LocalDate endDate);
63
64 LocalDate getPreviousStartDate();
65
66 void setPreviousStartDate(LocalDate previousStartDate);
67
68 LocalDate getPreviousEndDate();
69
70 void setPreviousEndDate(LocalDate previousEndDate);
71
72 DepartmentDTO getDepartment();
73
74 void setDepartment(DepartmentDTO department);
75
76 ErrorDTO getErrors(int index);
77
78 boolean isErrorsEmpty();
79
80 int sizeErrors();
81
82 void addErrors(ErrorDTO errors);
83
84 void addAllErrors(Collection<ErrorDTO> errors);
85
86 boolean removeErrors(ErrorDTO errors);
87
88 boolean removeAllErrors(Collection<ErrorDTO> errors);
89
90 boolean containsErrors(ErrorDTO errors);
91
92 boolean containsAllErrors(Collection<ErrorDTO> errors);
93
94 Collection<ErrorDTO> getErrors();
95
96 void setErrors(Collection<ErrorDTO> errors);
97
98 }