Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/NamedMainValue.java @ 195:8d3533a03e10
Second part of parsing/storing main values. Should be finished now.
flys-backend/trunk@1534 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 21 Mar 2011 15:06:47 +0000 |
parents | bc3747a371cc |
children |
comparison
equal
deleted
inserted
replaced
194:0f0b98ef9b04 | 195:8d3533a03e10 |
---|---|
20 private Integer id; | 20 private Integer id; |
21 private String name; | 21 private String name; |
22 private MainValueType type; | 22 private MainValueType type; |
23 | 23 |
24 public NamedMainValue() { | 24 public NamedMainValue() { |
25 } | |
26 | |
27 public NamedMainValue(String name, MainValueType type) { | |
28 this.name = name; | |
29 this.type = type; | |
25 } | 30 } |
26 | 31 |
27 @Id | 32 @Id |
28 @SequenceGenerator( | 33 @SequenceGenerator( |
29 name = "SEQUENCE_NAMED_MAIN_VALUES_ID_SEQ", | 34 name = "SEQUENCE_NAMED_MAIN_VALUES_ID_SEQ", |