annotate flys-backend/src/main/java/de/intevation/flys/model/HWSLine.java @ 5064:fb7c4ad94bd8 dami

Fix build: some more imports some less imports some copy paste errors
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 20 Feb 2013 17:24:49 +0100
parents c9ba713a7750
children 1d95391d056b
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
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
5 import javax.persistence.Column;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
6 import javax.persistence.Entity;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
7 import javax.persistence.Id;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
8 import javax.persistence.JoinColumn;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
9 import javax.persistence.OneToOne;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
10 import javax.persistence.Table;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
11
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
12 import org.hibernate.Session;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
13 import org.hibernate.Query;
5064
fb7c4ad94bd8 Fix build: some more imports some less imports some copy paste errors
Andre Heinecke <aheinecke@intevation.de>
parents: 5061
diff changeset
14 import org.hibernate.annotations.Type;
5061
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
15
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
16 import de.intevation.flys.backend.SessionHolder;
5064
fb7c4ad94bd8 Fix build: some more imports some less imports some copy paste errors
Andre Heinecke <aheinecke@intevation.de>
parents: 5061
diff changeset
17 import de.intevation.flys.model.HWSKind;
fb7c4ad94bd8 Fix build: some more imports some less imports some copy paste errors
Andre Heinecke <aheinecke@intevation.de>
parents: 5061
diff changeset
18
fb7c4ad94bd8 Fix build: some more imports some less imports some copy paste errors
Andre Heinecke <aheinecke@intevation.de>
parents: 5061
diff changeset
19 import com.vividsolutions.jts.geom.Geometry;
5061
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
20
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_lines")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
23 public class HWSLine 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
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
27 private Integer ogr_fid;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
28 private HWSKind kind;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
29 private FedState fedState;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
30 private River river;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
31 private Integer offical;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
32 private Integer shore_side;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
33 private String name;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
34 private String path;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
35 private String agency;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
36 private String range;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
37 private String source;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
38 private String status_date;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
39 private String description;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
40 private Geometry geom;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
41
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
42 @Id
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
43 @Column(name = "id")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
44 public Integer getId() {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
45 return id;
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
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
48 public void setId(Integer id) {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
49 this.id = id;
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
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
52 @Column(name = "geom")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
53 @Type(type = "org.hibernatespatial.GeometryUserType")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
54 public Geometry getGeom() {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
55 return geom;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
56 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
57
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 public void setGeom(Geometry geom) {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
60 this.geom = geom;
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 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
64 * Get ogr_fid.
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 * @return ogr_fid as Integer.
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 @Column(name = "ogr_fid")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
69 public Integer getOgrFid()
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 return ogr_fid;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
72 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
73
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 * Set 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 * @param ogr_fid the value to set.
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 public void setOgrFid(Integer 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 this.ogr_fid = ogr_fid;
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
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 * Get offical.
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 * @return offical as Integer.
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 @Column(name = "offical")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
91 public Integer getOffical()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
92 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
93 return offical;
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 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
97 * Set 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 * @param offical the value to set.
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 public void setOffical(Integer 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 this.offical = offical;
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 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
107 * Get shore_side.
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 * @return shore_side as Integer.
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 @Column(name = "shore_side")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
112 public Integer getShoreSide()
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 return shore_side;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
115 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
116
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 * Set 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 * @param shore_side the value to set.
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 public void setShoreSide(Integer 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 this.shore_side = shore_side;
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
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 * Get name.
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 * @return name as String.
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 @Column(name = "name")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
133 public String getName()
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 return 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
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 * Set 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 * @param name the value to set.
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 public void setName(String 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 this.name = 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
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 * Get path.
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 * @return path as String.
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 @Column(name = "path")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
154 public String getPath()
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;
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
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 * Set 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 * @param path the value to set.
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 public void setPath(String 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 this.path = path;
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
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 * Get agency.
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 * @return agency as String.
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 @Column(name = "agency")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
175 public String getAgency()
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 return agency;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
178 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
179
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 * Set 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 * @param agency the value to set.
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 public void setAgency(String 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 this.agency = agency;
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
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 * Get range.
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 * @return range as String.
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 @Column(name = "range")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
196 public String getRange()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
197 {
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 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
206 public void setRange(String 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 this.range = range;
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 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
212 * Get source.
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 * @return source as String.
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 @Column(name = "source")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
217 public String getSource()
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 return source;
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
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 * Set 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 * @param source the value to set.
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 public void setSource(String 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 this.source = source;
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
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 * Get status_date.
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 * @return status_date as String.
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 @Column(name = "status_date")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
238 public String getStatusDate()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
239 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
240 return status_date;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
241 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
242
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 * Set 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 * @param status_date the value to set.
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 public void setStatusDate(String 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 this.status_date = status_date;
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
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 * Get description.
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 * @return description as String.
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 @Column(name = "description")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
259 public String getDescription()
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 return 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
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 * Set 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 * @param description the value to set.
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 public void setDescription(String 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 this.description = description;
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
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 * Get kind.
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 * @return kind as HWSKind.
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 @OneToOne
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
280 @JoinColumn(name = "kind_id")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
281 public HWSKind getKind()
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 return kind;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
284 }
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 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
287 * Set kind.
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 * @param kind the value to set.
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 public void setKind(HWSKind kind)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
292 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
293 this.kind = kind;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
294 }
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 /**
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
297 * Get fedState.
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 * @return fedState as FedState.
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 @OneToOne
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
302 @JoinColumn(name = "fed_state_id")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
303 public FedState getFedState()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
304 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
305 return fedState;
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
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 * Set fedState.
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 * @param fedState the value to set.
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 public void setFedState(FedState fedState)
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 this.fedState = fedState;
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
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 * Get river.
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 * @return river as River.
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 @OneToOne
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
324 @JoinColumn(name = "river_id")
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
325 public River getRiver()
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
326 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
327 return river;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
328 }
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 * Set river.
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 * @param river the value to set.
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
334 */
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
335 public void setRiver(River river)
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
336 {
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
337 this.river = river;
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
338 }
c9ba713a7750 Add HWSLine and HWSPoint to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
339 }

http://dive4elements.wald.intevation.org