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.QuadrigeBean;
27  import fr.ifremer.reefdb.dto.ErrorAware;
28  import fr.ifremer.reefdb.dto.ErrorDTO;
29  import fr.ifremer.reefdb.dto.referential.DepartmentDTO;
30  import fr.ifremer.reefdb.dto.referential.pmfm.PmfmDTO;
31  import fr.ifremer.reefdb.dto.referential.pmfm.QualitativeValueDTO;
32  import java.util.Collection;
33  import java.util.List;
34  import javax.annotation.Generated;
35  
36  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
37  public interface PmfmStrategyDTO extends ErrorAware, QuadrigeBean {
38  
39      String PROPERTY_SURVEY = "survey";
40  
41      String PROPERTY_SAMPLING = "sampling";
42  
43      String PROPERTY_GROUPING = "grouping";
44  
45      String PROPERTY_UNIQUE = "unique";
46  
47      String PROPERTY_RANK_ORDER = "rankOrder";
48  
49      String PROPERTY_ANALYSIS_DEPARTMENT = "analysisDepartment";
50  
51      String PROPERTY_PMFM = "pmfm";
52  
53      String PROPERTY_ERRORS = "errors";
54  
55      String PROPERTY_QUALITATIVE_VALUES = "qualitativeValues";
56  
57      boolean isSurvey();
58  
59      void setSurvey(boolean survey);
60  
61      boolean isSampling();
62  
63      void setSampling(boolean sampling);
64  
65      boolean isGrouping();
66  
67      void setGrouping(boolean grouping);
68  
69      boolean isUnique();
70  
71      void setUnique(boolean unique);
72  
73      Integer getRankOrder();
74  
75      void setRankOrder(Integer rankOrder);
76  
77      DepartmentDTO getAnalysisDepartment();
78  
79      void setAnalysisDepartment(DepartmentDTO analysisDepartment);
80  
81      PmfmDTO getPmfm();
82  
83      void setPmfm(PmfmDTO pmfm);
84  
85      ErrorDTO getErrors(int index);
86  
87      boolean isErrorsEmpty();
88  
89      int sizeErrors();
90  
91      void addErrors(ErrorDTO errors);
92  
93      void addAllErrors(Collection<ErrorDTO> errors);
94  
95      boolean removeErrors(ErrorDTO errors);
96  
97      boolean removeAllErrors(Collection<ErrorDTO> errors);
98  
99      boolean containsErrors(ErrorDTO errors);
100 
101     boolean containsAllErrors(Collection<ErrorDTO> errors);
102 
103     Collection<ErrorDTO> getErrors();
104 
105     void setErrors(Collection<ErrorDTO> errors);
106 
107     QualitativeValueDTO getQualitativeValues(int index);
108 
109     boolean isQualitativeValuesEmpty();
110 
111     int sizeQualitativeValues();
112 
113     void addQualitativeValues(QualitativeValueDTO qualitativeValues);
114 
115     void addAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
116 
117     boolean removeQualitativeValues(QualitativeValueDTO qualitativeValues);
118 
119     boolean removeAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
120 
121     boolean containsQualitativeValues(QualitativeValueDTO qualitativeValues);
122 
123     boolean containsAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
124 
125     List<QualitativeValueDTO> getQualitativeValues();
126 
127     void setQualitativeValues(List<QualitativeValueDTO> qualitativeValues);
128 
129 } //PmfmStrategyDTO