comparison flys-backend/src/main/java/de/intevation/flys/model/MorphologicalWidthValue.java @ 2819:0c2567626754

Tiny schema modification specific to MINFO morphological width values; added importer classes. flys-backend/trunk@4236 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 13 Apr 2012 12:53:29 +0000
parents 25ed1f18fcc4
children
comparison
equal deleted inserted replaced
2818:25ed1f18fcc4 2819:0c2567626754
23 private MorphologicalWidth morphologicalWidth; 23 private MorphologicalWidth morphologicalWidth;
24 24
25 private BigDecimal station; 25 private BigDecimal station;
26 private BigDecimal width; 26 private BigDecimal width;
27 27
28 private String description;
29
28 30
29 public MorphologicalWidthValue() { 31 public MorphologicalWidthValue() {
30 } 32 }
31 33
32 34
33 public MorphologicalWidthValue( 35 public MorphologicalWidthValue(
34 MorphologicalWidth morphologicalWidth, 36 MorphologicalWidth morphologicalWidth,
35 BigDecimal station, 37 BigDecimal station,
36 BigDecimal width 38 BigDecimal width,
39 String description
37 ) { 40 ) {
38 this.morphologicalWidth = morphologicalWidth; 41 this.morphologicalWidth = morphologicalWidth;
39 this.station = station; 42 this.station = station;
40 this.width = width; 43 this.width = width;
44 this.description = description;
41 } 45 }
42 46
43 47
44 @Id 48 @Id
45 @SequenceGenerator( 49 @SequenceGenerator(
84 } 88 }
85 89
86 public void setWidth(BigDecimal width) { 90 public void setWidth(BigDecimal width) {
87 this.width = width; 91 this.width = width;
88 } 92 }
93
94 @Column(name = "description")
95 public String getDescription() {
96 return description;
97 }
98
99 public void setDescription(String description) {
100 this.description = description;
101 }
89 } 102 }
90 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 103 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org