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.CommentAware;
27  import fr.ifremer.quadrige3.ui.core.dto.QuadrigeBean;
28  import fr.ifremer.reefdb.dto.ErrorAware;
29  import fr.ifremer.reefdb.dto.ErrorDTO;
30  import java.util.Collection;
31  import java.util.List;
32  import javax.annotation.Generated;
33  
34  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
35  public interface StrategyDTO extends ErrorAware, CommentAware, QuadrigeBean {
36  
37      String PROPERTY_NAME = "name";
38  
39      String PROPERTY_COMMENT = "comment";
40  
41      String PROPERTY_APPLIED_STRATEGIES_LOADED = "appliedStrategiesLoaded";
42  
43      String PROPERTY_PMFM_STRATEGIES_LOADED = "pmfmStrategiesLoaded";
44  
45      String PROPERTY_APPLIED_STRATEGIES = "appliedStrategies";
46  
47      String PROPERTY_PMFM_STRATEGIES = "pmfmStrategies";
48  
49      String PROPERTY_ERRORS = "errors";
50  
51      String getName();
52  
53      void setName(String name);
54  
55      String getComment();
56  
57      void setComment(String comment);
58  
59      boolean isAppliedStrategiesLoaded();
60  
61      void setAppliedStrategiesLoaded(boolean appliedStrategiesLoaded);
62  
63      boolean isPmfmStrategiesLoaded();
64  
65      void setPmfmStrategiesLoaded(boolean pmfmStrategiesLoaded);
66  
67      AppliedStrategyDTO getAppliedStrategies(int index);
68  
69      boolean isAppliedStrategiesEmpty();
70  
71      int sizeAppliedStrategies();
72  
73      void addAppliedStrategies(AppliedStrategyDTO appliedStrategies);
74  
75      void addAllAppliedStrategies(Collection<AppliedStrategyDTO> appliedStrategies);
76  
77      boolean removeAppliedStrategies(AppliedStrategyDTO appliedStrategies);
78  
79      boolean removeAllAppliedStrategies(Collection<AppliedStrategyDTO> appliedStrategies);
80  
81      boolean containsAppliedStrategies(AppliedStrategyDTO appliedStrategies);
82  
83      boolean containsAllAppliedStrategies(Collection<AppliedStrategyDTO> appliedStrategies);
84  
85      List<AppliedStrategyDTO> getAppliedStrategies();
86  
87      void setAppliedStrategies(List<AppliedStrategyDTO> appliedStrategies);
88  
89      PmfmStrategyDTO getPmfmStrategies(int index);
90  
91      boolean isPmfmStrategiesEmpty();
92  
93      int sizePmfmStrategies();
94  
95      void addPmfmStrategies(PmfmStrategyDTO pmfmStrategies);
96  
97      void addAllPmfmStrategies(Collection<PmfmStrategyDTO> pmfmStrategies);
98  
99      boolean removePmfmStrategies(PmfmStrategyDTO pmfmStrategies);
100 
101     boolean removeAllPmfmStrategies(Collection<PmfmStrategyDTO> pmfmStrategies);
102 
103     boolean containsPmfmStrategies(PmfmStrategyDTO pmfmStrategies);
104 
105     boolean containsAllPmfmStrategies(Collection<PmfmStrategyDTO> pmfmStrategies);
106 
107     List<PmfmStrategyDTO> getPmfmStrategies();
108 
109     void setPmfmStrategies(List<PmfmStrategyDTO> pmfmStrategies);
110 
111     ErrorDTO getErrors(int index);
112 
113     boolean isErrorsEmpty();
114 
115     int sizeErrors();
116 
117     void addErrors(ErrorDTO errors);
118 
119     void addAllErrors(Collection<ErrorDTO> errors);
120 
121     boolean removeErrors(ErrorDTO errors);
122 
123     boolean removeAllErrors(Collection<ErrorDTO> errors);
124 
125     boolean containsErrors(ErrorDTO errors);
126 
127     boolean containsAllErrors(Collection<ErrorDTO> errors);
128 
129     Collection<ErrorDTO> getErrors();
130 
131     void setErrors(Collection<ErrorDTO> errors);
132 
133 } //StrategyDTO