Mercurial > lada > lada-server
annotate src/main/java/de/intevation/lada/model/land/OrtszuordnungMp.java @ 1302:1bf808b67403
Set 'letzte_aenderung' to be no insertable. Use database default now() as initial value.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 28 Feb 2017 09:47:54 +0100 |
parents | d73cfd90ffc0 |
children |
rev | line source |
---|---|
1265
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 * Software engineering by Intevation GmbH |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 * |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 */ |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 package de.intevation.lada.model.land; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
10 import java.io.Serializable; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 import java.sql.Timestamp; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 import javax.persistence.Column; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
14 import javax.persistence.Entity; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 import javax.persistence.GeneratedValue; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
16 import javax.persistence.GenerationType; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
17 import javax.persistence.Id; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
18 import javax.persistence.Table; |
1288
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
19 import javax.persistence.Transient; |
1265
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
22 /** |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
23 * The persistent class for the ortszuordnung_mp database table. |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
24 * |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 */ |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
26 @Entity |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 @Table(name="ortszuordnung_mp") |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
28 public class OrtszuordnungMp implements Serializable { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
29 private static final long serialVersionUID = 1L; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
30 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
31 @Id |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
32 @GeneratedValue(strategy=GenerationType.IDENTITY) |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
33 private Integer id; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
34 |
1302
1bf808b67403
Set 'letzte_aenderung' to be no insertable. Use database default now() as initial value.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1288
diff
changeset
|
35 @Column(name="letzte_aenderung", insertable=false) |
1265
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
36 private Timestamp letzteAenderung; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
37 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
38 @Column(name="messprogramm_id") |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
39 private Integer messprogrammId; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
40 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
41 @Column(name="ort_id") |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
42 private Integer ortId; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
43 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
44 @Column(name="ortszuordnung_typ") |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
45 private String ortszuordnungTyp; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
46 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
47 private String ortszusatztext; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
48 |
1288
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
49 @Column(name="tree_modified", insertable=false, updatable=false) |
1265
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
50 private Timestamp treeModified; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
51 |
1288
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
52 @Transient |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
53 private boolean owner; |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
54 |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
55 @Transient |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
56 private boolean readonly; |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
57 |
1265
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
58 public OrtszuordnungMp() { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
59 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
60 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
61 public Integer getId() { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
62 return this.id; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
63 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
64 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
65 public void setId(Integer id) { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
66 this.id = id; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
67 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
68 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
69 public Timestamp getLetzteAenderung() { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
70 return this.letzteAenderung; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
71 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
72 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
73 public void setLetzteAenderung(Timestamp letzteAenderung) { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
74 this.letzteAenderung = letzteAenderung; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
75 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
76 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
77 public Integer getMessprogrammId() { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
78 return this.messprogrammId; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
79 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
80 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
81 public void setMessprogrammId(Integer messprogrammId) { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
82 this.messprogrammId = messprogrammId; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
83 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
84 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
85 public Integer getOrtId() { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
86 return this.ortId; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
87 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
88 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
89 public void setOrtId(Integer ortId) { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
90 this.ortId = ortId; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
91 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
92 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
93 public String getOrtszuordnungTyp() { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
94 return this.ortszuordnungTyp; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
95 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
96 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
97 public void setOrtszuordnungTyp(String ortszuordnungTyp) { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
98 this.ortszuordnungTyp = ortszuordnungTyp; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
99 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
100 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
101 public String getOrtszusatztext() { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
102 return this.ortszusatztext; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
103 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
104 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
105 public void setOrtszusatztext(String ortszusatztext) { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
106 this.ortszusatztext = ortszusatztext; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
107 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
108 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
109 public Timestamp getTreeModified() { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
110 return this.treeModified; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
111 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
112 |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
113 public void setTreeModified(Timestamp treeModified) { |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
114 this.treeModified = treeModified; |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
115 } |
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
116 |
1288
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
117 /** |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
118 * @return the owner |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
119 */ |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
120 public boolean isOwner() { |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
121 return owner; |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
122 } |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
123 |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
124 /** |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
125 * @param owner the owner to set |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
126 */ |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
127 public void setOwner(boolean owner) { |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
128 this.owner = owner; |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
129 } |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
130 |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
131 /** |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
132 * @return the readonly |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
133 */ |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
134 public boolean isReadonly() { |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
135 return readonly; |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
136 } |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
137 |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
138 /** |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
139 * @param readonly the readonly to set |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
140 */ |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
141 public void setReadonly(boolean readonly) { |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
142 this.readonly = readonly; |
d73cfd90ffc0
Fixed authorization for messprogramm ortszuordnung.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1265
diff
changeset
|
143 } |
1265
a1323ef2c330
Changed ortszuordnungs model in messprogramm.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
144 } |