View Javadoc
1   package fr.ifremer.reefdb.dto.data.measurement;
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 fr.ifremer.reefdb.dto.data.sampling.SamplingOperationAware;
31  import fr.ifremer.reefdb.dto.data.sampling.SamplingOperationDTO;
32  import fr.ifremer.reefdb.dto.referential.DepartmentDTO;
33  import fr.ifremer.reefdb.dto.referential.TaxonDTO;
34  import fr.ifremer.reefdb.dto.referential.TaxonGroupDTO;
35  import fr.ifremer.reefdb.dto.referential.pmfm.PmfmDTO;
36  import fr.ifremer.reefdb.dto.referential.pmfm.QualitativeValueDTO;
37  import java.math.BigDecimal;
38  import java.util.Collection;
39  import java.util.Date;
40  import javax.annotation.Generated;
41  
42  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
43  public interface MeasurementDTO extends ErrorAware, SamplingOperationAware, CommentAware, QuadrigeBean {
44  
45      String PROPERTY_NUMERICAL_VALUE = "numericalValue";
46  
47      String PROPERTY_PRECISION = "precision";
48  
49      String PROPERTY_DIGIT_NB = "digitNb";
50  
51      String PROPERTY_CONTROL_DATE = "controlDate";
52  
53      String PROPERTY_VALIDATION_DATE = "validationDate";
54  
55      String PROPERTY_QUALIFICATION_DATE = "qualificationDate";
56  
57      String PROPERTY_QUALIFICATION_COMMENT = "qualificationComment";
58  
59      String PROPERTY_COMMENT = "comment";
60  
61      String PROPERTY_INDIVIDUAL_ID = "individualId";
62  
63      String PROPERTY_INPUT_TAXON_ID = "inputTaxonId";
64  
65      String PROPERTY_INPUT_TAXON_NAME = "inputTaxonName";
66  
67      String PROPERTY_QUALITATIVE_VALUE = "qualitativeValue";
68  
69      String PROPERTY_SAMPLING_OPERATION = "samplingOperation";
70  
71      String PROPERTY_PMFM = "pmfm";
72  
73      String PROPERTY_TAXON_GROUP = "taxonGroup";
74  
75      String PROPERTY_TAXON = "taxon";
76  
77      String PROPERTY_ANALYST = "analyst";
78  
79      String PROPERTY_ERRORS = "errors";
80  
81      BigDecimal getNumericalValue();
82  
83      void setNumericalValue(BigDecimal numericalValue);
84  
85      Integer getPrecision();
86  
87      void setPrecision(Integer precision);
88  
89      Integer getDigitNb();
90  
91      void setDigitNb(Integer digitNb);
92  
93      Date getControlDate();
94  
95      void setControlDate(Date controlDate);
96  
97      Date getValidationDate();
98  
99      void setValidationDate(Date validationDate);
100 
101     Date getQualificationDate();
102 
103     void setQualificationDate(Date qualificationDate);
104 
105     String getQualificationComment();
106 
107     void setQualificationComment(String qualificationComment);
108 
109     String getComment();
110 
111     void setComment(String comment);
112 
113     Integer getIndividualId();
114 
115     void setIndividualId(Integer individualId);
116 
117     Integer getInputTaxonId();
118 
119     void setInputTaxonId(Integer inputTaxonId);
120 
121     String getInputTaxonName();
122 
123     void setInputTaxonName(String inputTaxonName);
124 
125     QualitativeValueDTO getQualitativeValue();
126 
127     void setQualitativeValue(QualitativeValueDTO qualitativeValue);
128 
129     SamplingOperationDTO getSamplingOperation();
130 
131     void setSamplingOperation(SamplingOperationDTO samplingOperation);
132 
133     PmfmDTO getPmfm();
134 
135     void setPmfm(PmfmDTO pmfm);
136 
137     TaxonGroupDTO getTaxonGroup();
138 
139     void setTaxonGroup(TaxonGroupDTO taxonGroup);
140 
141     TaxonDTO getTaxon();
142 
143     void setTaxon(TaxonDTO taxon);
144 
145     DepartmentDTO getAnalyst();
146 
147     void setAnalyst(DepartmentDTO analyst);
148 
149     ErrorDTO getErrors(int index);
150 
151     boolean isErrorsEmpty();
152 
153     int sizeErrors();
154 
155     void addErrors(ErrorDTO errors);
156 
157     void addAllErrors(Collection<ErrorDTO> errors);
158 
159     boolean removeErrors(ErrorDTO errors);
160 
161     boolean removeAllErrors(Collection<ErrorDTO> errors);
162 
163     boolean containsErrors(ErrorDTO errors);
164 
165     boolean containsAllErrors(Collection<ErrorDTO> errors);
166 
167     Collection<ErrorDTO> getErrors();
168 
169     void setErrors(Collection<ErrorDTO> errors);
170 
171 } //MeasurementDTO