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.CommentAware;
27  import fr.ifremer.quadrige3.ui.core.dto.referential.BaseReferentialDTO;
28  import fr.ifremer.reefdb.dto.referential.UnitDTO;
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 PmfmDTO extends CommentAware, BaseReferentialDTO {
35  
36      String PROPERTY_COMMENT = "comment";
37  
38      String PROPERTY_FRACTION = "fraction";
39  
40      String PROPERTY_MATRIX = "matrix";
41  
42      String PROPERTY_METHOD = "method";
43  
44      String PROPERTY_PARAMETER = "parameter";
45  
46      String PROPERTY_UNIT = "unit";
47  
48      String PROPERTY_QUALITATIVE_VALUES = "qualitativeValues";
49  
50      String getComment();
51  
52      void setComment(String comment);
53  
54      FractionDTO getFraction();
55  
56      void setFraction(FractionDTO fraction);
57  
58      MatrixDTO getMatrix();
59  
60      void setMatrix(MatrixDTO matrix);
61  
62      MethodDTO getMethod();
63  
64      void setMethod(MethodDTO method);
65  
66      ParameterDTO getParameter();
67  
68      void setParameter(ParameterDTO parameter);
69  
70      UnitDTO getUnit();
71  
72      void setUnit(UnitDTO unit);
73  
74      QualitativeValueDTO getQualitativeValues(int index);
75  
76      boolean isQualitativeValuesEmpty();
77  
78      int sizeQualitativeValues();
79  
80      void addQualitativeValues(QualitativeValueDTO qualitativeValues);
81  
82      void addAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
83  
84      boolean removeQualitativeValues(QualitativeValueDTO qualitativeValues);
85  
86      boolean removeAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
87  
88      boolean containsQualitativeValues(QualitativeValueDTO qualitativeValues);
89  
90      boolean containsAllQualitativeValues(Collection<QualitativeValueDTO> qualitativeValues);
91  
92      List<QualitativeValueDTO> getQualitativeValues();
93  
94      void setQualitativeValues(List<QualitativeValueDTO> qualitativeValues);
95  
96  } //PmfmDTO