View Javadoc
1   package fr.ifremer.tutti.persistence.entities.data;
2   
3   /*
4    * #%L
5    * Tutti :: Persistence
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2012 - 2017 Ifremer
10   * %%
11   * This program is free software: you can redistribute it and/or modify
12   * it under the terms of the GNU General Public License as
13   * published by the Free Software Foundation, either version 3 of the
14   * License, or (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 General Public
22   * License along with this program.  If not, see
23   * <http://www.gnu.org/licenses/gpl-3.0.html>.
24   * #L%
25   */
26  
27  import fr.ifremer.tutti.persistence.entities.TuttiEntityBean;
28  import fr.ifremer.tutti.persistence.entities.referential.Caracteristic;
29  import javax.annotation.Generated;
30  
31  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Fri Jan 06 18:31:47 CET 2017")
32  public abstract class AbstractSpeciesBatchFrequencyBean extends TuttiEntityBean implements SpeciesBatchFrequency {
33  
34      private static final long serialVersionUID = 7306589238780519778L;
35  
36      protected Caracteristic lengthStepCaracteristic;
37  
38      protected Float lengthStep;
39  
40      protected Integer number;
41  
42      protected Float weight;
43  
44      protected Integer rankOrder;
45  
46      protected boolean benthosFrequencyBatch;
47  
48      protected SpeciesBatch batch;
49  
50      @Override
51      public Caracteristic getLengthStepCaracteristic() {
52          return lengthStepCaracteristic;
53      }
54  
55      @Override
56      public void setLengthStepCaracteristic(Caracteristic lengthStepCaracteristic) {
57          this.lengthStepCaracteristic = lengthStepCaracteristic;
58      }
59  
60      @Override
61      public Float getLengthStep() {
62          return lengthStep;
63      }
64  
65      @Override
66      public void setLengthStep(Float lengthStep) {
67          this.lengthStep = lengthStep;
68      }
69  
70      @Override
71      public Integer getNumber() {
72          return number;
73      }
74  
75      @Override
76      public void setNumber(Integer number) {
77          this.number = number;
78      }
79  
80      @Override
81      public Float getWeight() {
82          return weight;
83      }
84  
85      @Override
86      public void setWeight(Float weight) {
87          this.weight = weight;
88      }
89  
90      @Override
91      public Integer getRankOrder() {
92          return rankOrder;
93      }
94  
95      @Override
96      public void setRankOrder(Integer rankOrder) {
97          this.rankOrder = rankOrder;
98      }
99  
100     @Override
101     public boolean isBenthosFrequencyBatch() {
102         return benthosFrequencyBatch;
103     }
104 
105     @Override
106     public void setBenthosFrequencyBatch(boolean benthosFrequencyBatch) {
107         this.benthosFrequencyBatch = benthosFrequencyBatch;
108     }
109 
110     @Override
111     public SpeciesBatch getBatch() {
112         return batch;
113     }
114 
115     @Override
116     public void setBatch(SpeciesBatch batch) {
117         this.batch = batch;
118     }
119 
120 } //AbstractSpeciesBatchFrequencyBean