Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/CrossSectionLine.java @ 1204:22858e7cca79
Integrated PRF parsing into importer. Needs testing!
flys-backend/trunk@2309 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 07 Jul 2011 22:25:38 +0000 |
parents | 3c01bef43a98 |
children | 3efc3942b765 |
comparison
equal
deleted
inserted
replaced
1203:3c01bef43a98 | 1204:22858e7cca79 |
---|---|
22 public class CrossSectionLine | 22 public class CrossSectionLine |
23 implements Serializable | 23 implements Serializable |
24 { | 24 { |
25 private Integer id; | 25 private Integer id; |
26 private BigDecimal km; | 26 private BigDecimal km; |
27 private List<CrossSectionPoint> points; | |
28 private CrossSection crossSection; | 27 private CrossSection crossSection; |
29 | 28 |
29 private List<CrossSectionPoint> points; | |
30 | |
30 public CrossSectionLine() { | 31 public CrossSectionLine() { |
32 } | |
33 | |
34 public CrossSectionLine(CrossSection crossSection, BigDecimal km) { | |
35 this.crossSection = crossSection; | |
36 this.km = km; | |
31 } | 37 } |
32 | 38 |
33 @Id | 39 @Id |
34 @SequenceGenerator( | 40 @SequenceGenerator( |
35 name = "SEQUENCE_CROSS_SECTION_LINES_ID_SEQ", | 41 name = "SEQUENCE_CROSS_SECTION_LINES_ID_SEQ", |