Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/MainValueType.java @ 172:605320b7df94
Added column annotations for simple fields. TODO: foreign keys.
flys-backend/trunk@1464 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 14 Mar 2011 15:29:00 +0000 |
parents | 4a83e14f40f9 |
children | 249390dd24e7 |
comparison
equal
deleted
inserted
replaced
171:4a83e14f40f9 | 172:605320b7df94 |
---|---|
37 | 37 |
38 public void setId(Integer id) { | 38 public void setId(Integer id) { |
39 this.id = id; | 39 this.id = id; |
40 } | 40 } |
41 | 41 |
42 @Column(name = "value") | |
43 public String getValue() { | |
44 return value; | |
45 } | |
46 | |
42 public void setValue(String value) { | 47 public void setValue(String value) { |
43 this.value = value; | 48 this.value = value; |
44 } | 49 } |
45 | |
46 public String getValue() { | |
47 return value; | |
48 } | |
49 } | 50 } |
50 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 51 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |