comparison src/main/java/de/intevation/lada/model/land/OrtszuordnungMp.java @ 1288:d73cfd90ffc0

Fixed authorization for messprogramm ortszuordnung.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 08 Feb 2017 12:24:34 +0100
parents a1323ef2c330
children 1bf808b67403
comparison
equal deleted inserted replaced
1287:3383ca19f7a5 1288:d73cfd90ffc0
14 import javax.persistence.Entity; 14 import javax.persistence.Entity;
15 import javax.persistence.GeneratedValue; 15 import javax.persistence.GeneratedValue;
16 import javax.persistence.GenerationType; 16 import javax.persistence.GenerationType;
17 import javax.persistence.Id; 17 import javax.persistence.Id;
18 import javax.persistence.Table; 18 import javax.persistence.Table;
19 import javax.persistence.Transient;
19 20
20 21
21 /** 22 /**
22 * The persistent class for the ortszuordnung_mp database table. 23 * The persistent class for the ortszuordnung_mp database table.
23 * 24 *
43 @Column(name="ortszuordnung_typ") 44 @Column(name="ortszuordnung_typ")
44 private String ortszuordnungTyp; 45 private String ortszuordnungTyp;
45 46
46 private String ortszusatztext; 47 private String ortszusatztext;
47 48
48 @Column(name="tree_modified") 49 @Column(name="tree_modified", insertable=false, updatable=false)
49 private Timestamp treeModified; 50 private Timestamp treeModified;
51
52 @Transient
53 private boolean owner;
54
55 @Transient
56 private boolean readonly;
50 57
51 public OrtszuordnungMp() { 58 public OrtszuordnungMp() {
52 } 59 }
53 60
54 public Integer getId() { 61 public Integer getId() {
105 112
106 public void setTreeModified(Timestamp treeModified) { 113 public void setTreeModified(Timestamp treeModified) {
107 this.treeModified = treeModified; 114 this.treeModified = treeModified;
108 } 115 }
109 116
117 /**
118 * @return the owner
119 */
120 public boolean isOwner() {
121 return owner;
122 }
123
124 /**
125 * @param owner the owner to set
126 */
127 public void setOwner(boolean owner) {
128 this.owner = owner;
129 }
130
131 /**
132 * @return the readonly
133 */
134 public boolean isReadonly() {
135 return readonly;
136 }
137
138 /**
139 * @param readonly the readonly to set
140 */
141 public void setReadonly(boolean readonly) {
142 this.readonly = readonly;
143 }
110 } 144 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)