View Javadoc
1   package fr.ifremer.tutti.service.bigfin.csv;
2   
3   /*
4    * #%L
5    * Tutti :: Service
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2012 - 2014 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.service.bigfin.signs.Sex;
28  import fr.ifremer.tutti.service.bigfin.signs.Size;
29  import fr.ifremer.tutti.service.bigfin.signs.VracHorsVrac;
30  
31  import java.util.Date;
32  
33  /**
34   * @author Kevin Morin (Code Lutin)
35   * @since 3.8
36   */
37  public class BigfinDataRow {
38  
39      public static final String PROPERTY_RECORD_ID = "recordId";
40  
41      public static final String PROPERTY_DATE = "date";
42  
43      public static final String PROPERTY_STATION = "station";
44  
45      public static final String PROPERTY_SPECIES_OR_SPECIES_BATCH = "speciesOrSpeciesBatch";
46  
47      public static final String PROPERTY_LENGTH = "length";
48  
49      public static final String PROPERTY_WEIGHT = "weight";
50  
51      public static final String PROPERTY_SIZE = "size";
52  
53      public static final String PROPERTY_SEX = "sex";
54  
55      public static final String PROPERTY_VRAC_HORS_VRAC = "vracHorsVrac";
56  
57      protected String recordId;
58  
59      protected Date date;
60  
61      protected String station;
62  
63      protected SpeciesOrSpeciesBatch speciesOrSpeciesBatch;
64  
65      protected float length;
66  
67      protected Float weight;
68  
69      protected Size size;
70  
71      protected Sex sex;
72  
73      protected VracHorsVrac vracHorsVrac;
74  
75      public String getRecordId() {
76          return recordId;
77      }
78  
79      public void setRecordId(String recordId) {
80          this.recordId = recordId;
81      }
82  
83      public float getLength() {
84          return length;
85      }
86  
87      public void setLength(float length) {
88          this.length = length;
89      }
90  
91      public Float getWeight() {
92          return weight;
93      }
94  
95      public void setWeight(Float weight) {
96          this.weight = weight;
97      }
98  
99      public SpeciesOrSpeciesBatch getSpeciesOrSpeciesBatch() {
100         return speciesOrSpeciesBatch;
101     }
102 
103     public void setSpeciesOrSpeciesBatch(SpeciesOrSpeciesBatch speciesOrSpeciesBatch) {
104         this.speciesOrSpeciesBatch = speciesOrSpeciesBatch;
105     }
106 
107     public String getStation() {
108         return station;
109     }
110 
111     public void setStation(String station) {
112         this.station = station;
113     }
114 
115     public Date getDate() {
116         return date;
117     }
118 
119     public void setDate(Date date) {
120         this.date = date;
121     }
122 
123     public Size getSize() {
124         return size;
125     }
126 
127     public void setSize(Size size) {
128         this.size = size;
129     }
130 
131     public Sex getSex() {
132         return sex;
133     }
134 
135     public void setSex(Sex sex) {
136         this.sex = sex;
137     }
138 
139     public VracHorsVrac getVracHorsVrac() {
140         return vracHorsVrac;
141     }
142 
143     public void setVracHorsVrac(VracHorsVrac vracHorsVrac) {
144         this.vracHorsVrac = vracHorsVrac;
145     }
146 }