annotate flys-backend/src/main/java/de/intevation/flys/model/FlowVelocityMeasurementValue.java @ 4403:d4f88fda6ed3

Improve debugging inf FLYSArtifact Improve debugging inf FLYSArtifact when building filter facets.
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 05 Nov 2012 16:02:52 +0100
parents 6faa47ca1fee
children 32a4ed054fc7
rev   line source
2830
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.model;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3 import java.io.Serializable;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
4 import java.math.BigDecimal;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
5 import java.util.Date;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
6
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
7 import javax.persistence.Entity;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
8 import javax.persistence.Id;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
9 import javax.persistence.Table;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
10 import javax.persistence.GeneratedValue;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
11 import javax.persistence.Column;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 import javax.persistence.SequenceGenerator;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 import javax.persistence.GenerationType;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14 import javax.persistence.JoinColumn;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
15 import javax.persistence.OneToOne;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
17 import org.apache.log4j.Logger;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
18
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
19
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
20 @Entity
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
21 @Table(name = "flow_velocity_measure_values")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
22 public class FlowVelocityMeasurementValue
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
23 implements Serializable
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
24 {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
25 private static Logger logger =
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
26 Logger.getLogger(FlowVelocityMeasurementValue.class);
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
27
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
28
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
29 private Integer id;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
30
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
31 private FlowVelocityMeasurement measurement;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
32
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
33 private BigDecimal station;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
34 private BigDecimal w;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
35 private BigDecimal q;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
36 private BigDecimal v;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
37
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
38 private Date datetime;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
39
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
40 private String description;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
41
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
42
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
43 public FlowVelocityMeasurementValue() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
44 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
45
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
46
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
47 public FlowVelocityMeasurementValue(
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
48 FlowVelocityMeasurement measurement,
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
49 Date datetime,
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
50 BigDecimal station,
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
51 BigDecimal w,
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
52 BigDecimal q,
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
53 BigDecimal v,
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
54 String description
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
55 ) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
56 this.measurement = measurement;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
57 this.datetime = datetime;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
58 this.station = station;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
59 this.w = w;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
60 this.q = q;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
61 this.v = v;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
62 this.description = description;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
63 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
64
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
65 @Id
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
66 @SequenceGenerator(
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
67 name = "SEQUENCE_FV_MEASURE_VALUES_ID_SEQ",
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
68 sequenceName = "FV_MEASURE_VALUES_ID_SEQ",
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
69 allocationSize = 1)
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
70 @GeneratedValue(
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
71 strategy = GenerationType.SEQUENCE,
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
72 generator = "SEQUENCE_FV_MEASURE_VALUES_ID_SEQ")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
73 @Column(name = "id")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
74 public Integer getId() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
75 return id;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
76 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
77
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
78 public void setId(Integer id) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
79 this.id = id;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
80 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
81
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
82 @OneToOne
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
83 @JoinColumn(name = "measurements_id")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
84 public FlowVelocityMeasurement getMeasurement() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
85 return measurement;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
86 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
87
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
88 public void setMeasurement(FlowVelocityMeasurement measurement) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
89 this.measurement = measurement;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
90 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
91
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
92 @Column(name = "station")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
93 public BigDecimal getStation() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
94 return station;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
95 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
96
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
97 public void setStation(BigDecimal station) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
98 this.station = station;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
99 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
100
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
101 @Column(name = "datetime")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
102 public Date getDatetime() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
103 return datetime;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
104 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
105
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
106 public void setDatetime(Date datetime) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
107 this.datetime = datetime;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
108 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
109
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
110 @Column(name = "w")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
111 public BigDecimal getW() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
112 return w;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
113 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
114
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
115 public void setW(BigDecimal w) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
116 this.w = w;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
117 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
118
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
119 @Column(name = "q")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
120 public BigDecimal getQ() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
121 return q;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
122 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
123
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
124 public void setQ(BigDecimal q) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
125 this.q = q;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
126 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
127
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
128 @Column(name = "v")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
129 public BigDecimal getV() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
130 return v;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
131 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
132
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
133 public void setV(BigDecimal v) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
134 this.v = v;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
135 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
136
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
137 @Column(name = "description")
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
138 public String getDescription() {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
139 return description;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
140 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
141
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
142 public void setDescription(String description) {
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
143 this.description = description;
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
144 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
145 }
6faa47ca1fee Added new model classes for storing flow velocity measurements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
146 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org