Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/model/stamm/Probenehmer.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 |
---|---|
6 import javax.persistence.Column; | 6 import javax.persistence.Column; |
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.Transient; | |
11 | 12 |
12 | 13 |
13 /** | 14 /** |
14 * The persistent class for the probenehmer database table. | 15 * The persistent class for the probenehmer database table. |
15 * | 16 * |
52 private String telefon; | 53 private String telefon; |
53 | 54 |
54 private String tp; | 55 private String tp; |
55 | 56 |
56 private String typ; | 57 private String typ; |
58 | |
59 @Transient | |
60 private boolean readonly; | |
57 | 61 |
58 public Probenehmer() { | 62 public Probenehmer() { |
59 } | 63 } |
60 | 64 |
61 public Integer getId() { | 65 public Integer getId() { |
176 | 180 |
177 public void setTyp(String typ) { | 181 public void setTyp(String typ) { |
178 this.typ = typ; | 182 this.typ = typ; |
179 } | 183 } |
180 | 184 |
185 public boolean isReadonly() { | |
186 return readonly; | |
187 } | |
188 | |
189 public void setReadonly(boolean readonly) { | |
190 this.readonly = readonly; | |
191 } | |
192 | |
181 } | 193 } |