annotate flys-backend/src/main/java/de/intevation/flys/model/HWSPoint.java @ 5061:c9ba713a7750 dami

Add HWSLine and HWSPoint to the model
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 20 Feb 2013 17:01:42 +0100
parents
children fb7c4ad94bd8
rev   line source
5061
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.model;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
2
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
3 import java.io.Serializable;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
4 import java.util.List;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
5 import java.math.BigDecimal;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
6
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
7 import javax.persistence.Column;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
8 import javax.persistence.Entity;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
9 import javax.persistence.Id;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
10 import javax.persistence.JoinColumn;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
11 import javax.persistence.OneToOne;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
12 import javax.persistence.Table;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
13
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
14 import org.hibernate.Session;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
15 import org.hibernate.Query;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
16
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
17 import de.intevation.flys.backend.SessionHolder;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
18
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
19 @Entity
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
20 @Table(name = "hws_points")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
21 public class HWSPoint implements Serializable {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
22
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
23 private Integer id;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
24
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
25 private Integer ogr_fid;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
26 private HWSKind kind;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
27 private FedState fedState;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
28 private River river;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
29 private Integer offical;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
30 private Integer shore_side;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
31 private String name;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
32 private String path;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
33 private String agency;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
34 private String range;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
35 private String source;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
36 private String status_date;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
37 private String description;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
38 private BigDecimal freeboard;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
39 private BigDecimal dike_km;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
40 private BigDecimal z;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
41 private BigDecimal z_target;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
42 private BigDecimal rated_level;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
43 private Geometry geom;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
44
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
45 @Id
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
46 @Column(name = "id")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
47 public Integer getId() {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
48 return id;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
49 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
50
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
51 public void setId(Integer id) {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
52 this.id = id;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
53 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
54
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
55
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
56 @Column(name = "geom")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
57 @Type(type = "org.hibernatespatial.GeometryUserType")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
58 public Geometry getGeom() {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
59 return geom;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
60 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
61
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
62
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
63 public void setGeom(Geometry geom) {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
64 this.geom = geom;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
65 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
66
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
67 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
68 * Get ogr_fid.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
69 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
70 * @return ogr_fid as Integer.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
71 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
72 @Column(name = "ogr_fid")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
73 public Integer getOgrFid()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
74 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
75 return ogr_fid;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
76 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
77
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
78 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
79 * Set ogr_fid.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
80 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
81 * @param ogr_fid the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
82 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
83 public void setOgrFid(Integer ogr_fid)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
84 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
85 this.ogr_fid = ogr_fid;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
86 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
87
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
88
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
89 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
90 * Get offical.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
91 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
92 * @return offical as Integer.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
93 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
94 @Column(name = "offical")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
95 public Integer getOffical()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
96 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
97 return offical;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
98 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
99
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
100 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
101 * Set offical.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
102 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
103 * @param offical the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
104 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
105 public void setOffical(Integer offical)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
106 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
107 this.offical = offical;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
108 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
109
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
110 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
111 * Get shore_side.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
112 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
113 * @return shore_side as Integer.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
114 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
115 @Column(name = "shore_side")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
116 public Integer getShoreSide()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
117 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
118 return shore_side;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
119 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
120
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
121 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
122 * Set shore_side.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
123 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
124 * @param shore_side the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
125 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
126 public void setShoreSide(Integer shore_side)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
127 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
128 this.shore_side = shore_side;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
129 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
130
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
131 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
132 * Get name.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
133 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
134 * @return name as String.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
135 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
136 @Column(name = "name")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
137 public String getName()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
138 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
139 return name;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
140 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
141
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
142 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
143 * Set name.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
144 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
145 * @param name the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
146 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
147 public void setName(String name)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
148 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
149 this.name = name;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
150 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
151
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
152 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
153 * Get path.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
154 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
155 * @return path as String.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
156 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
157 @Column(name = "path")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
158 public String getPath()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
159 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
160 return path;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
161 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
162
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
163 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
164 * Set path.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
165 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
166 * @param path the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
167 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
168 public void setPath(String path)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
169 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
170 this.path = path;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
171 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
172
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
173 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
174 * Get agency.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
175 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
176 * @return agency as String.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
177 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
178 @Column(name = "agency")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
179 public String getAgency()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
180 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
181 return agency;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
182 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
183
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
184 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
185 * Set agency.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
186 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
187 * @param agency the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
188 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
189 public void setAgency(String agency)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
190 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
191 this.agency = agency;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
192 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
193
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
194 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
195 * Get range.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
196 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
197 * @return range as String.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
198 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
199 @Column(name = "range")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
200 public String getRange()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
201 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
202 return range;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
203 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
204
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
205 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
206 * Set range.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
207 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
208 * @param range the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
209 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
210 public void setRange(String range)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
211 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
212 this.range = range;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
213 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
214
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
215 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
216 * Get source.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
217 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
218 * @return source as String.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
219 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
220 @Column(name = "source")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
221 public String getSource()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
222 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
223 return source;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
224 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
225
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
226 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
227 * Set source.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
228 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
229 * @param source the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
230 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
231 public void setSource(String source)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
232 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
233 this.source = source;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
234 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
235
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
236 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
237 * Get status_date.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
238 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
239 * @return status_date as String.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
240 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
241 @Column(name = "status_date")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
242 public String getStatusDate()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
243 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
244 return status_date;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
245 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
246
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
247 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
248 * Set status_date.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
249 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
250 * @param status_date the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
251 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
252 public void setStatusDate(String status_date)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
253 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
254 this.status_date = status_date;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
255 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
256
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
257 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
258 * Get description.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
259 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
260 * @return description as String.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
261 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
262 @Column(name = "description")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
263 public String getDescription()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
264 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
265 return description;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
266 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
267
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
268 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
269 * Set description.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
270 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
271 * @param description the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
272 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
273 public void setDescription(String description)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
274 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
275 this.description = description;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
276 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
277
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
278 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
279 * Get freeboard.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
280 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
281 * @return freeboard as BigDecimal.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
282 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
283 @Column(name = "freeboard")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
284 public BigDecimal getFreeboard()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
285 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
286 return freeboard;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
287 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
288
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
289 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
290 * Set freeboard.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
291 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
292 * @param freeboard the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
293 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
294 public void setFreeboard(BigDecimal freeboard)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
295 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
296 this.freeboard = freeboard;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
297 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
298
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
299 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
300 * Get dike_km.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
301 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
302 * @return dike_km as BigDecimal.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
303 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
304 @Column(name = "dike_km")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
305 public BigDecimal getDike_km()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
306 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
307 return dike_km;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
308 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
309
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
310 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
311 * Set dike_km.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
312 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
313 * @param dike_km the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
314 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
315 public void setDike_km(BigDecimal dike_km)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
316 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
317 this.dike_km = dike_km;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
318 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
319
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
320 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
321 * Get z.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
322 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
323 * @return z as BigDecimal.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
324 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
325 @Column(name = "z")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
326 public BigDecimal getZ()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
327 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
328 return z;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
329 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
330
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
331 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
332 * Set z.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
333 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
334 * @param z the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
335 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
336 public void setZ(BigDecimal z)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
337 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
338 this.z = z;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
339 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
340
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
341 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
342 * Get z_target.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
343 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
344 * @return z_target as BigDecimal.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
345 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
346 @Column(name = "z_target")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
347 public BigDecimal getZTarget()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
348 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
349 return z_target;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
350 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
351
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
352 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
353 * Set z_target.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
354 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
355 * @param z_target the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
356 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
357 public void setZTarget(BigDecimal z_target)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
358 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
359 this.z_target = z_target;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
360 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
361
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
362 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
363 * Get rated_level.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
364 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
365 * @return rated_level as BigDecimal.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
366 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
367 @Column(name = "rated_level")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
368 public BigDecimal getRatedLevel()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
369 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
370 return rated_level;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
371 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
372
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
373 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
374 * Set rated_level.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
375 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
376 * @param rated_level the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
377 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
378 public void setRatedLevel(BigDecimal rated_level)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
379 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
380 this.rated_level = rated_level;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
381 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
382
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
383 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
384 * Get kind.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
385 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
386 * @return kind as HWSKind.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
387 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
388 @OneToOne
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
389 @JoinColumn(name = "kind_id")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
390 public HWSKind getKind()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
391 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
392 return kind;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
393 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
394
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
395 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
396 * Set kind.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
397 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
398 * @param kind the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
399 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
400 public void setKind(HWSKind kind)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
401 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
402 this.kind = kind;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
403 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
404
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
405 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
406 * Get fedState.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
407 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
408 * @return fedState as FedState.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
409 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
410 @OneToOne
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
411 @JoinColumn(name = "fed_state_id")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
412 public FedState getFedState()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
413 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
414 return fedState;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
415 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
416
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
417 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
418 * Set fedState.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
419 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
420 * @param fedState the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
421 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
422 public void setFedState(FedState fedState)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
423 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
424 this.fedState = fedState;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
425 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
426
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
427 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
428 * Get river.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
429 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
430 * @return river as River.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
431 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
432 @OneToOne
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
433 @JoinColumn(name = "river_id")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
434 public River getRiver()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
435 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
436 return river;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
437 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
438
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
439 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
440 * Set river.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
441 *
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
442 * @param river the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
443 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
444 public void setRiver(River river)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
445 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
446 this.river = river;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
447 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
448 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
449

http://dive4elements.wald.intevation.org