comparison src/main/java/de/intevation/lada/model/stamm/Ort.java @ 842:9f4be0bc724d

Added 'readonly' attribute to model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 21 Jan 2016 15:36:33 +0100
parents 313bd1d227f1
children d0a591b3eade
comparison
equal deleted inserted replaced
841:bd51cb7b8d20 842:9f4be0bc724d
7 import javax.persistence.Entity; 7 import javax.persistence.Entity;
8 import javax.persistence.GeneratedValue; 8 import javax.persistence.GeneratedValue;
9 import javax.persistence.GenerationType; 9 import javax.persistence.GenerationType;
10 import javax.persistence.Id; 10 import javax.persistence.Id;
11 import javax.persistence.Table; 11 import javax.persistence.Table;
12 import javax.persistence.Transient;
12 13
13 14
14 /** 15 /**
15 * The persistent class for the ort database table. 16 * The persistent class for the ort database table.
16 * 17 *
85 86
86 private String zone; 87 private String zone;
87 88
88 private String zustaendigkeit; 89 private String zustaendigkeit;
89 90
91 @Transient
92 private boolean readonly;
93
90 public Ort() { 94 public Ort() {
91 } 95 }
92 96
93 public Integer getId() { 97 public Integer getId() {
94 return this.id; 98 return this.id;
288 292
289 public void setZustaendigkeit(String zustaendigkeit) { 293 public void setZustaendigkeit(String zustaendigkeit) {
290 this.zustaendigkeit = zustaendigkeit; 294 this.zustaendigkeit = zustaendigkeit;
291 } 295 }
292 296
297 public boolean isReadonly() {
298 return readonly;
299 }
300
301 public void setReadonly(boolean readonly) {
302 this.readonly = readonly;
303 }
304
293 } 305 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)