1 package fr.ifremer.dali.dto.configuration.programStrategy;
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.LocationDTO;
7 import fr.ifremer.dali.dto.referential.PersonDTO;
8 import fr.ifremer.quadrige3.ui.core.dto.CodeOnly;
9 import fr.ifremer.quadrige3.ui.core.dto.CommentAware;
10 import fr.ifremer.quadrige3.ui.core.dto.referential.BaseReferentialDTO;
11 import java.util.Collection;
12 import java.util.List;
13 import javax.annotation.Generated;
14
15 @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:03 CEST 2022")
16 public interface ProgramDTO extends ErrorAware, CodeOnly, CommentAware, BaseReferentialDTO {
17
18 String PROPERTY_CODE = "code";
19
20 String PROPERTY_DESCRIPTION = "description";
21
22 String PROPERTY_COMMENT = "comment";
23
24 String PROPERTY_STRATEGIES_LOADED = "strategiesLoaded";
25
26 String PROPERTY_LOCATIONS_LOADED = "locationsLoaded";
27
28 String PROPERTY_NEW_CODE = "newCode";
29
30 String PROPERTY_DEPARTMENT_HERMETIC = "departmentHermetic";
31
32 String PROPERTY_STRATEGIES = "strategies";
33
34 String PROPERTY_LOCATIONS = "locations";
35
36 String PROPERTY_ERRORS = "errors";
37
38 String PROPERTY_MANAGER_PERSONS = "managerPersons";
39
40 String PROPERTY_RECORDER_PERSONS = "recorderPersons";
41
42 String PROPERTY_RECORDER_DEPARTMENTS = "recorderDepartments";
43
44 String getCode();
45
46 void setCode(String code);
47
48 String getDescription();
49
50 void setDescription(String description);
51
52 String getComment();
53
54 void setComment(String comment);
55
56 boolean isStrategiesLoaded();
57
58 void setStrategiesLoaded(boolean strategiesLoaded);
59
60 boolean isLocationsLoaded();
61
62 void setLocationsLoaded(boolean locationsLoaded);
63
64 boolean isNewCode();
65
66 void setNewCode(boolean newCode);
67
68 boolean isDepartmentHermetic();
69
70 void setDepartmentHermetic(boolean departmentHermetic);
71
72 StrategyDTO getStrategies(int index);
73
74 boolean isStrategiesEmpty();
75
76 int sizeStrategies();
77
78 void addStrategies(StrategyDTO strategies);
79
80 void addAllStrategies(Collection<StrategyDTO> strategies);
81
82 boolean removeStrategies(StrategyDTO strategies);
83
84 boolean removeAllStrategies(Collection<StrategyDTO> strategies);
85
86 boolean containsStrategies(StrategyDTO strategies);
87
88 boolean containsAllStrategies(Collection<StrategyDTO> strategies);
89
90 Collection<StrategyDTO> getStrategies();
91
92 void setStrategies(Collection<StrategyDTO> strategies);
93
94 LocationDTO getLocations(int index);
95
96 boolean isLocationsEmpty();
97
98 int sizeLocations();
99
100 void addLocations(LocationDTO locations);
101
102 void addAllLocations(Collection<LocationDTO> locations);
103
104 boolean removeLocations(LocationDTO locations);
105
106 boolean removeAllLocations(Collection<LocationDTO> locations);
107
108 boolean containsLocations(LocationDTO locations);
109
110 boolean containsAllLocations(Collection<LocationDTO> locations);
111
112 List<LocationDTO> getLocations();
113
114 void setLocations(List<LocationDTO> locations);
115
116 ErrorDTO getErrors(int index);
117
118 boolean isErrorsEmpty();
119
120 int sizeErrors();
121
122 void addErrors(ErrorDTO errors);
123
124 void addAllErrors(Collection<ErrorDTO> errors);
125
126 boolean removeErrors(ErrorDTO errors);
127
128 boolean removeAllErrors(Collection<ErrorDTO> errors);
129
130 boolean containsErrors(ErrorDTO errors);
131
132 boolean containsAllErrors(Collection<ErrorDTO> errors);
133
134 Collection<ErrorDTO> getErrors();
135
136 void setErrors(Collection<ErrorDTO> errors);
137
138 PersonDTO getManagerPersons(int index);
139
140 boolean isManagerPersonsEmpty();
141
142 int sizeManagerPersons();
143
144 void addManagerPersons(PersonDTO managerPersons);
145
146 void addAllManagerPersons(Collection<PersonDTO> managerPersons);
147
148 boolean removeManagerPersons(PersonDTO managerPersons);
149
150 boolean removeAllManagerPersons(Collection<PersonDTO> managerPersons);
151
152 boolean containsManagerPersons(PersonDTO managerPersons);
153
154 boolean containsAllManagerPersons(Collection<PersonDTO> managerPersons);
155
156 Collection<PersonDTO> getManagerPersons();
157
158 void setManagerPersons(Collection<PersonDTO> managerPersons);
159
160 PersonDTO getRecorderPersons(int index);
161
162 boolean isRecorderPersonsEmpty();
163
164 int sizeRecorderPersons();
165
166 void addRecorderPersons(PersonDTO recorderPersons);
167
168 void addAllRecorderPersons(Collection<PersonDTO> recorderPersons);
169
170 boolean removeRecorderPersons(PersonDTO recorderPersons);
171
172 boolean removeAllRecorderPersons(Collection<PersonDTO> recorderPersons);
173
174 boolean containsRecorderPersons(PersonDTO recorderPersons);
175
176 boolean containsAllRecorderPersons(Collection<PersonDTO> recorderPersons);
177
178 Collection<PersonDTO> getRecorderPersons();
179
180 void setRecorderPersons(Collection<PersonDTO> recorderPersons);
181
182 DepartmentDTO getRecorderDepartments(int index);
183
184 boolean isRecorderDepartmentsEmpty();
185
186 int sizeRecorderDepartments();
187
188 void addRecorderDepartments(DepartmentDTO recorderDepartments);
189
190 void addAllRecorderDepartments(Collection<DepartmentDTO> recorderDepartments);
191
192 boolean removeRecorderDepartments(DepartmentDTO recorderDepartments);
193
194 boolean removeAllRecorderDepartments(Collection<DepartmentDTO> recorderDepartments);
195
196 boolean containsRecorderDepartments(DepartmentDTO recorderDepartments);
197
198 boolean containsAllRecorderDepartments(Collection<DepartmentDTO> recorderDepartments);
199
200 Collection<DepartmentDTO> getRecorderDepartments();
201
202 void setRecorderDepartments(Collection<DepartmentDTO> recorderDepartments);
203
204 }