View Javadoc
1   package fr.ifremer.reefdb.dto.referential.pmfm;
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 java.util.Collection;
30  import java.util.List;
31  import javax.annotation.Generated;
32  
33  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
34  public interface ParameterDTO extends CodeOnly, CommentAware, BaseReferentialDTO {
35  
36      String PROPERTY_CODE = "code";
37  
38      String PROPERTY_DESCRIPTION = "description";
39  
40      String PROPERTY_CALCULATED = "calculated";
41  
42      String PROPERTY_QUALITATIVE = "qualitative";
43  
44      String PROPERTY_TAXONOMIC = "taxonomic";
45  
46      String PROPERTY_NEW_CODE = "newCode";
47  
48      String PROPERTY_COMMENT = "comment";
49  
50      String PROPERTY_QUALITATIVE_VALUES = "qualitativeValues";
51  
52      String PROPERTY_PARAMETER_GROUP = "parameterGroup";
53  
54      String getCode();
55  
56      void setCode(String code);
57  
58      String getDescription();
59  
60      void setDescription(String description);
61  
62      boolean isCalculated();
63  
64      void setCalculated(boolean calculated);
65  
66      boolean isQualitative();
67  
68      void setQualitative(boolean qualitative);
69  
70      boolean isTaxonomic();
71  
72      void setTaxonomic(boolean taxonomic);
73  
74      boolean isNewCode();
75  
76      void setNewCode(boolean newCode);
77  
78      String getComment();
79  
80      void setComment(String comment);
81  
82      QualitativeValueDTO getQualitativeValues(int index);
83  
84      boolean isQualitativeValuesEmpty();
85  
86      int sizeQualitativeValues();
87  
88      void addQualitativeValues(QualitativeValueDTO qualitativeValues);
89  
90      void addAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
91  
92      boolean removeQualitativeValues(QualitativeValueDTO qualitativeValues);
93  
94      boolean removeAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
95  
96      boolean containsQualitativeValues(QualitativeValueDTO qualitativeValues);
97  
98      boolean containsAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
99  
100     List<QualitativeValueDTO> getQualitativeValues();
101 
102     void setQualitativeValues(List<QualitativeValueDTO> qualitativeValues);
103 
104     ParameterGroupDTO getParameterGroup();
105 
106     void setParameterGroup(ParameterGroupDTO parameterGroup);
107 
108 } //ParameterDTO