Mercurial > lada > lada-server
annotate src/main/java/de/intevation/lada/model/stammdaten/Verwaltungseinheit.java @ 1235:563c7d18c45f
mittelpunkt might be null.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 13 Dec 2016 18:55:22 +0100 |
parents | 768a4c957a18 |
children |
rev | line source |
---|---|
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.lada.model.stammdaten; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
3 import java.io.Serializable; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
4 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
5 import javax.persistence.Column; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
6 import javax.persistence.Entity; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
7 import javax.persistence.Id; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
8 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
9 import org.hibernate.annotations.Type; |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
10 |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
11 import com.fasterxml.jackson.annotation.JsonIgnore; |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
12 import com.vividsolutions.jts.geom.Point; |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
13 |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
14 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
15 /** |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
16 * The persistent class for the verwaltungseinheit database table. |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
17 * |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
18 */ |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
19 @Entity |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
20 public class Verwaltungseinheit implements Serializable { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
21 private static final long serialVersionUID = 1L; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
22 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
23 @Id |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
24 private String id; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
25 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
26 private String bezeichnung; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
27 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
28 private String bundesland; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
29 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
30 @Column(name="is_bundesland") |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
31 private Boolean isBundesland; |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
32 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
33 @Column(name="is_gemeinde") |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
34 private Boolean isGemeinde; |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
35 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
36 @Column(name="is_landkreis") |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
37 private Boolean isLandkreis; |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
38 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
39 @Column(name="is_regbezirk") |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
40 private Boolean isRegbezirk; |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
41 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
42 private String kreis; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
43 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
44 private String nuts; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
45 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
46 private String plz; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
47 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
48 private String regbezirk; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
49 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
50 @Column(columnDefinition="geometry(Point, 4326)") |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
51 @Type(type = "org.hibernate.spatial.GeometryType") |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
52 private Point mittelpunkt; |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
53 |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
54 public Verwaltungseinheit() { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
55 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
56 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
57 public String getId() { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
58 return this.id; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
59 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
60 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
61 public void setId(String id) { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
62 this.id = id; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
63 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
64 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
65 public String getBezeichnung() { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
66 return this.bezeichnung; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
67 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
68 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
69 public void setBezeichnung(String bezeichnung) { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
70 this.bezeichnung = bezeichnung; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
71 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
72 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
73 public String getBundesland() { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
74 return this.bundesland; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
75 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
76 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
77 public void setBundesland(String bundesland) { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
78 this.bundesland = bundesland; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
79 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
80 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
81 public Boolean getIsBundesland() { |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
82 return this.isBundesland; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
83 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
84 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
85 public void setIsBundesland(Boolean isBundesland) { |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
86 this.isBundesland = isBundesland; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
87 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
88 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
89 public Boolean getIsGemeinde() { |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
90 return this.isGemeinde; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
91 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
92 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
93 public void setIsGemeinde(Boolean isGemeinde) { |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
94 this.isGemeinde = isGemeinde; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
95 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
96 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
97 public Boolean getIsLandkreis() { |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
98 return this.isLandkreis; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
99 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
100 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
101 public void setIsLandkreis(Boolean isLandkreis) { |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
102 this.isLandkreis = isLandkreis; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
103 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
104 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
105 public Boolean getIsRegbezirk() { |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
106 return this.isRegbezirk; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
107 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
108 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
109 public void setIsRegbezirk(Boolean isRegbezirk) { |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
110 this.isRegbezirk = isRegbezirk; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
111 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
112 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
113 public String getKreis() { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
114 return this.kreis; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
115 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
116 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
117 public void setKreis(String kreis) { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
118 this.kreis = kreis; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
119 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
120 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
121 public Double getLatitude() { |
1235
563c7d18c45f
mittelpunkt might be null.
Tom Gottfried <tom@intevation.de>
parents:
1195
diff
changeset
|
122 return this.mittelpunkt != null |
563c7d18c45f
mittelpunkt might be null.
Tom Gottfried <tom@intevation.de>
parents:
1195
diff
changeset
|
123 ? this.mittelpunkt.getY() |
563c7d18c45f
mittelpunkt might be null.
Tom Gottfried <tom@intevation.de>
parents:
1195
diff
changeset
|
124 : null; |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
125 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
126 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
127 public Double getLongitude() { |
1235
563c7d18c45f
mittelpunkt might be null.
Tom Gottfried <tom@intevation.de>
parents:
1195
diff
changeset
|
128 return this.mittelpunkt != null |
563c7d18c45f
mittelpunkt might be null.
Tom Gottfried <tom@intevation.de>
parents:
1195
diff
changeset
|
129 ? this.mittelpunkt.getX() |
563c7d18c45f
mittelpunkt might be null.
Tom Gottfried <tom@intevation.de>
parents:
1195
diff
changeset
|
130 : null; |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
131 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
132 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
133 public String getNuts() { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
134 return this.nuts; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
135 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
136 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
137 public void setNuts(String nuts) { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
138 this.nuts = nuts; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
139 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
140 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
141 public String getPlz() { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
142 return this.plz; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
143 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
144 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
145 public void setPlz(String plz) { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
146 this.plz = plz; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
147 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
148 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
149 public String getRegbezirk() { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
150 return this.regbezirk; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
151 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
152 |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
153 public void setRegbezirk(String regbezirk) { |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
154 this.regbezirk = regbezirk; |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
155 } |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
156 |
1195
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
157 @JsonIgnore |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
158 public Point getMittelpunkt() { |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
159 return mittelpunkt; |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
160 } |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
161 |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
162 @JsonIgnore |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
163 public void setMittelpunkt(Point mittelpunkt) { |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
164 this.mittelpunkt = mittelpunkt; |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
165 } |
768a4c957a18
Added ort factory to generate and find attributes, updated model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1097
diff
changeset
|
166 |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
167 } |