View Javadoc
1   package fr.ifremer.reefdb.dto.configuration.programStrategy;
2   
3   /*-
4    * #%L
5    * Reef DB :: Core
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2014 - 2022 Ifremer
10   * %%
11   * This program is free software: you can redistribute it and/or modify
12   * it under the terms of the GNU Affero General Public License as published by
13   * the Free Software Foundation, either version 3 of the License, or
14   * (at your option) any later version.
15   * 
16   * This program is distributed in the hope that it will be useful,
17   * but WITHOUT ANY WARRANTY; without even the implied warranty of
18   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19   * GNU General Public License for more details.
20   * 
21   * You should have received a copy of the GNU Affero General Public License
22   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
23   * #L%
24   */
25  
26  import fr.ifremer.quadrige3.ui.core.dto.CodeOnly;
27  import fr.ifremer.quadrige3.ui.core.dto.CommentAware;
28  import fr.ifremer.quadrige3.ui.core.dto.referential.BaseReferentialDTO;
29  import fr.ifremer.reefdb.dto.ErrorAware;
30  import fr.ifremer.reefdb.dto.ErrorDTO;
31  import fr.ifremer.reefdb.dto.referential.DepartmentDTO;
32  import fr.ifremer.reefdb.dto.referential.LocationDTO;
33  import fr.ifremer.reefdb.dto.referential.PersonDTO;
34  import java.util.Collection;
35  import java.util.List;
36  import javax.annotation.Generated;
37  
38  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
39  public interface ProgramDTO extends ErrorAware, CodeOnly, CommentAware, BaseReferentialDTO {
40  
41      String PROPERTY_CODE = "code";
42  
43      String PROPERTY_DESCRIPTION = "description";
44  
45      String PROPERTY_COMMENT = "comment";
46  
47      String PROPERTY_STRATEGIES_LOADED = "strategiesLoaded";
48  
49      String PROPERTY_LOCATIONS_LOADED = "locationsLoaded";
50  
51      String PROPERTY_NEW_CODE = "newCode";
52  
53      String PROPERTY_DEPARTMENT_HERMETIC = "departmentHermetic";
54  
55      String PROPERTY_STRATEGIES = "strategies";
56  
57      String PROPERTY_LOCATIONS = "locations";
58  
59      String PROPERTY_ERRORS = "errors";
60  
61      String PROPERTY_MANAGER_PERSONS = "managerPersons";
62  
63      String PROPERTY_RECORDER_PERSONS = "recorderPersons";
64  
65      String PROPERTY_RECORDER_DEPARTMENTS = "recorderDepartments";
66  
67      String getCode();
68  
69      void setCode(String code);
70  
71      String getDescription();
72  
73      void setDescription(String description);
74  
75      String getComment();
76  
77      void setComment(String comment);
78  
79      boolean isStrategiesLoaded();
80  
81      void setStrategiesLoaded(boolean strategiesLoaded);
82  
83      boolean isLocationsLoaded();
84  
85      void setLocationsLoaded(boolean locationsLoaded);
86  
87      boolean isNewCode();
88  
89      void setNewCode(boolean newCode);
90  
91      boolean isDepartmentHermetic();
92  
93      void setDepartmentHermetic(boolean departmentHermetic);
94  
95      StrategyDTO getStrategies(int index);
96  
97      boolean isStrategiesEmpty();
98  
99      int sizeStrategies();
100 
101     void addStrategies(StrategyDTO strategies);
102 
103     void addAllStrategies(Collection<StrategyDTO> strategies);
104 
105     boolean removeStrategies(StrategyDTO strategies);
106 
107     boolean removeAllStrategies(Collection<StrategyDTO> strategies);
108 
109     boolean containsStrategies(StrategyDTO strategies);
110 
111     boolean containsAllStrategies(Collection<StrategyDTO> strategies);
112 
113     Collection<StrategyDTO> getStrategies();
114 
115     void setStrategies(Collection<StrategyDTO> strategies);
116 
117     LocationDTO getLocations(int index);
118 
119     boolean isLocationsEmpty();
120 
121     int sizeLocations();
122 
123     void addLocations(LocationDTO locations);
124 
125     void addAllLocations(Collection<LocationDTO> locations);
126 
127     boolean removeLocations(LocationDTO locations);
128 
129     boolean removeAllLocations(Collection<LocationDTO> locations);
130 
131     boolean containsLocations(LocationDTO locations);
132 
133     boolean containsAllLocations(Collection<LocationDTO> locations);
134 
135     List<LocationDTO> getLocations();
136 
137     void setLocations(List<LocationDTO> locations);
138 
139     ErrorDTO getErrors(int index);
140 
141     boolean isErrorsEmpty();
142 
143     int sizeErrors();
144 
145     void addErrors(ErrorDTO errors);
146 
147     void addAllErrors(Collection<ErrorDTO> errors);
148 
149     boolean removeErrors(ErrorDTO errors);
150 
151     boolean removeAllErrors(Collection<ErrorDTO> errors);
152 
153     boolean containsErrors(ErrorDTO errors);
154 
155     boolean containsAllErrors(Collection<ErrorDTO> errors);
156 
157     Collection<ErrorDTO> getErrors();
158 
159     void setErrors(Collection<ErrorDTO> errors);
160 
161     PersonDTO getManagerPersons(int index);
162 
163     boolean isManagerPersonsEmpty();
164 
165     int sizeManagerPersons();
166 
167     void addManagerPersons(PersonDTO managerPersons);
168 
169     void addAllManagerPersons(Collection<PersonDTO> managerPersons);
170 
171     boolean removeManagerPersons(PersonDTO managerPersons);
172 
173     boolean removeAllManagerPersons(Collection<PersonDTO> managerPersons);
174 
175     boolean containsManagerPersons(PersonDTO managerPersons);
176 
177     boolean containsAllManagerPersons(Collection<PersonDTO> managerPersons);
178 
179     Collection<PersonDTO> getManagerPersons();
180 
181     void setManagerPersons(Collection<PersonDTO> managerPersons);
182 
183     PersonDTO getRecorderPersons(int index);
184 
185     boolean isRecorderPersonsEmpty();
186 
187     int sizeRecorderPersons();
188 
189     void addRecorderPersons(PersonDTO recorderPersons);
190 
191     void addAllRecorderPersons(Collection<PersonDTO> recorderPersons);
192 
193     boolean removeRecorderPersons(PersonDTO recorderPersons);
194 
195     boolean removeAllRecorderPersons(Collection<PersonDTO> recorderPersons);
196 
197     boolean containsRecorderPersons(PersonDTO recorderPersons);
198 
199     boolean containsAllRecorderPersons(Collection<PersonDTO> recorderPersons);
200 
201     Collection<PersonDTO> getRecorderPersons();
202 
203     void setRecorderPersons(Collection<PersonDTO> recorderPersons);
204 
205     DepartmentDTO getRecorderDepartments(int index);
206 
207     boolean isRecorderDepartmentsEmpty();
208 
209     int sizeRecorderDepartments();
210 
211     void addRecorderDepartments(DepartmentDTO recorderDepartments);
212 
213     void addAllRecorderDepartments(Collection<DepartmentDTO> recorderDepartments);
214 
215     boolean removeRecorderDepartments(DepartmentDTO recorderDepartments);
216 
217     boolean removeAllRecorderDepartments(Collection<DepartmentDTO> recorderDepartments);
218 
219     boolean containsRecorderDepartments(DepartmentDTO recorderDepartments);
220 
221     boolean containsAllRecorderDepartments(Collection<DepartmentDTO> recorderDepartments);
222 
223     Collection<DepartmentDTO> getRecorderDepartments();
224 
225     void setRecorderDepartments(Collection<DepartmentDTO> recorderDepartments);
226 
227 } //ProgramDTO