1 package fr.ifremer.tutti.service.genericformat.csv;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 import fr.ifremer.tutti.persistence.entities.referential.Caracteristic;
26 import fr.ifremer.tutti.persistence.entities.referential.Species;
27
28 import java.io.Serializable;
29
30
31
32
33
34
35
36 public class AccidentalCatchRow extends RowWithOperationContextSupport {
37
38 private static final long serialVersionUID = 1L;
39
40 public static final String PROPERTY_BATCH_ID = "batchId";
41
42 public static final String PROPERTY_CARACTERISTIC = "caracteristic";
43
44 public static final String PROPERTY_CARACTERISTIC_VALUE = "caracteristicValue";
45
46 public static AccidentalCatchRow newEmptyInstance() {
47 AccidentalCatchRow row = new AccidentalCatchRow();
48 row.forImport();
49 return row;
50 }
51
52 protected Integer batchId;
53
54 protected Species species;
55
56 protected String comment;
57
58 protected Caracteristic caracteristic;
59
60 protected Serializable caracteristicValue;
61
62 public void setBatchId(Integer batchId) {
63 this.batchId = batchId;
64 }
65
66 public void setCaracteristic(Caracteristic caracteristic) {
67 this.caracteristic = caracteristic;
68 }
69
70 public void setCaracteristicValue(Serializable caracteristicValue) {
71 this.caracteristicValue = caracteristicValue;
72 }
73
74 public void setSpecies(Species species) {
75 this.species = species;
76 }
77
78 public void setComment(String comment) {
79 this.comment = comment;
80 }
81
82 public Integer getBatchId() {
83 return batchId;
84 }
85
86 public Caracteristic getCaracteristic() {
87 return caracteristic;
88 }
89
90 public Serializable getCaracteristicValue() {
91 return caracteristicValue;
92 }
93
94 public String getComment() {
95 return comment;
96 }
97
98 public Species getSpecies() {
99 return species;
100 }
101
102 }