View Javadoc
1   package net.sumaris.core.vo.administration.programStrategy;
2   
3   /*-
4    * #%L
5    * SUMARiS:: Core
6    * %%
7    * Copyright (C) 2018 SUMARiS Consortium
8    * %%
9    * This program is free software: you can redistribute it and/or modify
10   * it under the terms of the GNU General Public License as
11   * published by the Free Software Foundation, either version 3 of the
12   * License, or (at your option) any later version.
13   * 
14   * This program is distributed in the hope that it will be useful,
15   * but WITHOUT ANY WARRANTY; without even the implied warranty of
16   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   * GNU General Public License for more details.
18   * 
19   * You should have received a copy of the GNU General Public
20   * License along with this program.  If not, see
21   * <http://www.gnu.org/licenses/gpl-3.0.html>.
22   * #L%
23   */
24  
25  import lombok.Data;
26  import lombok.experimental.FieldNameConstants;
27  import net.sumaris.core.dao.technical.model.IUpdateDateEntityBean;
28  import net.sumaris.core.vo.IValueObject;
29  import net.sumaris.core.vo.referential.PmfmVO;
30  import net.sumaris.core.vo.referential.ReferentialVO;
31  
32  import java.util.Date;
33  import java.util.List;
34  
35  @Data
36  @FieldNameConstants
37  public class PmfmStrategyVO implements IUpdateDateEntityBean<Integer, Date>, IValueObject<Integer>  {
38  
39      private Integer id;
40  
41      private String acquisitionLevel;
42      private Integer rankOrder;
43      private Integer acquisitionNumber;
44      private Boolean isMandatory;
45      private Double minValue;
46      private Double maxValue;
47      private Double defaultValue;
48      private Date updateDate;
49  
50      private List<String> gears;
51      private List<Integer> taxonGroupIds;
52      private List<Integer> referenceTaxonIds;
53  
54      private Integer pmfmId;
55      private PmfmVO pmfm;
56  
57      // Copy from PMFM or parameter
58      private String label;
59      private String name;
60      private String unit;
61      private String type;
62      private Integer methodId;
63      private Integer maximumNumberDecimals;
64  
65      List<ReferentialVO> qualitativeValues;
66  }