Mercurial > dive4elements > river
annotate flys-backend/src/main/java/de/intevation/flys/model/HWSPoint.java @ 5216:c0bdbe24c115
INFO instead of WARNING for duplicated annotations
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 11 Mar 2013 13:22:50 +0100 |
parents | 0a83a796f7cf |
children | d43ef9f709cd |
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 |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
3 import com.vividsolutions.jts.geom.Geometry; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
4 |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
5 import java.io.Serializable; |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
6 |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
7 import java.math.BigDecimal; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
8 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
9 import javax.persistence.Column; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
10 import javax.persistence.Entity; |
5098
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
11 import javax.persistence.GeneratedValue; |
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
12 import javax.persistence.GenerationType; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
13 import javax.persistence.Id; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
14 import javax.persistence.JoinColumn; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
15 import javax.persistence.OneToOne; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
16 import javax.persistence.Table; |
5098
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
17 import javax.persistence.SequenceGenerator; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
18 |
5064
fb7c4ad94bd8
Fix build: some more imports some less imports some copy paste errors
Andre Heinecke <aheinecke@intevation.de>
parents:
5061
diff
changeset
|
19 import org.hibernate.annotations.Type; |
fb7c4ad94bd8
Fix build: some more imports some less imports some copy paste errors
Andre Heinecke <aheinecke@intevation.de>
parents:
5061
diff
changeset
|
20 |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
21 @Entity |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
22 @Table(name = "hws_points") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
23 public class HWSPoint implements Serializable { |
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 id; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
26 |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
27 private Integer ogrFid; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
28 private HWSKind kind; |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
29 private FedState fedState; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
30 private River river; |
5183
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
31 private Integer official; |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
32 private Integer shoreSide; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
33 private String name; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
34 private String path; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
35 private String agency; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
36 private String range; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
37 private String source; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
38 private String statusDate; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
39 private String description; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
40 private BigDecimal freeboard; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
41 private BigDecimal dikeKm; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
42 private BigDecimal z; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
43 private BigDecimal zTarget; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
44 private BigDecimal ratedLevel; |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
45 private Geometry geom; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
46 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
47 @Id |
5098
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
48 @SequenceGenerator( |
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
49 name = "SEQUENCE_HWS_POINTS_ID_SEQ", |
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
50 sequenceName = "HWS_POINTS_ID_SEQ", |
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
51 allocationSize = 1) |
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
52 @GeneratedValue( |
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
53 strategy = GenerationType.SEQUENCE, |
a2600507761e
Add sequences to the new tables that use sequences
Andre Heinecke <aheinecke@intevation.de>
parents:
5081
diff
changeset
|
54 generator = "SEQUENCE_HWS_POINTS_ID_SEQ") |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
55 @Column(name = "id") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
56 public Integer getId() { |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
57 return id; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
58 } |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
59 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
60 public void setId(Integer id) { |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
61 this.id = id; |
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
64 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
65 @Column(name = "geom") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
66 @Type(type = "org.hibernatespatial.GeometryUserType") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
67 public Geometry getGeom() { |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
68 return geom; |
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 |
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 public void setGeom(Geometry geom) { |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
73 this.geom = geom; |
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
76 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
77 * Get ogrFid. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
78 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
79 * @return ogrFid as Integer. |
5061
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 @Column(name = "ogr_fid") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
82 public Integer getOgrFid() { |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
83 return ogrFid; |
5061
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
86 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
87 * Set ogrFid. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
88 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
89 * @param ogrFid the value to set. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
90 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
91 public void setOgrFid(Integer ogrFid) { |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
92 this.ogrFid = ogrFid; |
5061
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
95 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
96 /** |
5183
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
97 * Get official. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
98 * |
5183
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
99 * @return official as Integer. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
100 */ |
5183
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
101 @Column(name = "official") |
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
102 public Integer getofficial() { |
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
103 return official; |
5061
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
106 /** |
5183
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
107 * Set official. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
108 * |
5183
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
109 * @param official the value to set. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
110 */ |
5183
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
111 public void setofficial(Integer official) { |
0a83a796f7cf
Fix typo offical -> official in HWS
Andre Heinecke <aheinecke@intevation.de>
parents:
5098
diff
changeset
|
112 this.official = official; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
113 } |
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 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
116 * Get shoreSide. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
117 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
118 * @return shoreSide as Integer. |
5061
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 @Column(name = "shore_side") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
121 public Integer getShoreSide() { |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
122 return shoreSide; |
5061
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
125 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
126 * Set shoreSide. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
127 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
128 * @param shoreSide the value to set. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
129 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
130 public void setShoreSide(Integer shoreSide) { |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
131 this.shoreSide = shoreSide; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
132 } |
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 /** |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
135 * Get name. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
136 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
137 * @return name as String. |
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 @Column(name = "name") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
140 public String getName() { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
141 return name; |
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 |
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 * Set name. |
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 * @param name the value to set. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
148 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
149 public void setName(String name) { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
150 this.name = name; |
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 /** |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
154 * Get path. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
155 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
156 * @return path as String. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
157 */ |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
158 @Column(name = "path") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
159 public String getPath() { |
5061
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 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
168 public void setPath(String path) { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
169 this.path = path; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
170 } |
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 * Get agency. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
174 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
175 * @return agency as String. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
176 */ |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
177 @Column(name = "agency") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
178 public String getAgency() { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
179 return agency; |
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 |
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 * Set agency. |
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 * @param agency the value to set. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
186 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
187 public void setAgency(String agency) { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
188 this.agency = agency; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
189 } |
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 /** |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
192 * Get range. |
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 * @return range as String. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
195 */ |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
196 @Column(name = "range") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
197 public String getRange() { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
198 return range; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
199 } |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
200 |
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 * Set 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 * @param range the value to set. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
205 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
206 public void setRange(String range) { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
207 this.range = range; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
208 } |
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 /** |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
211 * Get source. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
212 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
213 * @return source as String. |
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 @Column(name = "source") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
216 public String getSource() { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
217 return source; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
218 } |
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 /** |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
221 * Set source. |
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 * @param source the value to set. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
224 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
225 public void setSource(String source) { |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
226 this.source = source; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
227 } |
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 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
230 * Get statusDate. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
231 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
232 * @return statusDate as String. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
233 */ |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
234 @Column(name = "status_date") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
235 public String getStatusDate() { |
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
236 return statusDate; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
237 } |
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 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
240 * Set statusDate. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
241 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
242 * @param statusDate the value to set. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
243 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
244 public void setStatusDate(String statusDate) |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
245 { |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
246 this.statusDate = statusDate; |
5061
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 |
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 * Get description. |
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 * @return description as String. |
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 @Column(name = "description") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
255 public String getDescription() |
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 return description; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
258 } |
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 /** |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
261 * Set description. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
262 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
263 * @param description the value to set. |
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 public void setDescription(String 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 this.description = description; |
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 |
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 * Get freeboard. |
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 * @return freeboard as BigDecimal. |
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 @Column(name = "freeboard") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
276 public BigDecimal getFreeboard() |
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 return freeboard; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
279 } |
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 /** |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
282 * Set freeboard. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
283 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
284 * @param freeboard the value to set. |
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 public void setFreeboard(BigDecimal 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 this.freeboard = freeboard; |
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
291 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
292 * Get dikeKm. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
293 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
294 * @return dikeKm as BigDecimal. |
5061
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 @Column(name = "dike_km") |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
297 public BigDecimal getDikeKm() |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
298 { |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
299 return dikeKm; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
300 } |
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 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
303 * Set dikeKm. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
304 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
305 * @param dikeKm the value to set. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
306 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
307 public void setDikeKm(BigDecimal dikeKm) |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
308 { |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
309 this.dikeKm = dikeKm; |
5061
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 |
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 * Get z. |
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 * @return z as BigDecimal. |
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 @Column(name = "z") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
318 public BigDecimal getZ() |
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 return z; |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
321 } |
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 /** |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
324 * Set z. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
325 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
326 * @param z the value to set. |
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 public void setZ(BigDecimal 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 this.z = z; |
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
333 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
334 * Get zTarget. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
335 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
336 * @return zTarget as BigDecimal. |
5061
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 @Column(name = "z_target") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
339 public BigDecimal getZTarget() |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
340 { |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
341 return zTarget; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
342 } |
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 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
345 * Set zTarget. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
346 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
347 * @param zTarget the value to set. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
348 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
349 public void setZTarget(BigDecimal zTarget) |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
350 { |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
351 this.zTarget = zTarget; |
5061
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 |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
354 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
355 * Get ratedLevel. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
356 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
357 * @return ratedLevel as BigDecimal. |
5061
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 @Column(name = "rated_level") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
360 public BigDecimal getRatedLevel() |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
361 { |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
362 return ratedLevel; |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
363 } |
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 /** |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
366 * Set ratedLevel. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
367 * |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
368 * @param ratedLevel the value to set. |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
369 */ |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
370 public void setRatedLevel(BigDecimal ratedLevel) |
5061
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
371 { |
5081
1d95391d056b
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5064
diff
changeset
|
372 this.ratedLevel = ratedLevel; |
5061
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 |
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 * Get kind. |
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 * @return kind as HWSKind. |
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 @OneToOne |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
381 @JoinColumn(name = "kind_id") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
382 public HWSKind getKind() |
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 return 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 |
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 * Set kind. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
389 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
390 * @param kind the value to set. |
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 public void setKind(HWSKind 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 this.kind = kind; |
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 |
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 * Get fedState. |
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 * @return fedState as FedState. |
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 @OneToOne |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
403 @JoinColumn(name = "fed_state_id") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
404 public FedState getFedState() |
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 return 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 |
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 * Set fedState. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
411 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
412 * @param fedState the value to set. |
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 public void setFedState(FedState 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 this.fedState = fedState; |
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 |
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 * Get river. |
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 * @return river as River. |
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 @OneToOne |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
425 @JoinColumn(name = "river_id") |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
426 public River getRiver() |
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 return 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 |
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 * Set river. |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
433 * |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
434 * @param river the value to set. |
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 public void setRiver(River 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 this.river = river; |
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 } |
c9ba713a7750
Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
441 |