comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffYearResult.java @ 8273:5c3b36b519d0

Add metadata to bedheight facets in bed height differences.
author "Tom Gottfried <tom@intevation.de>"
date Tue, 16 Sep 2014 11:33:08 +0200
parents 856701739443
children 8a14605fb64a
comparison
equal deleted inserted replaced
8272:c57b0400ac98 8273:5c3b36b519d0
22 protected TDoubleArrayList morphWidth2; 22 protected TDoubleArrayList morphWidth2;
23 protected Integer start; 23 protected Integer start;
24 protected Integer end; 24 protected Integer end;
25 protected String nameFirst; 25 protected String nameFirst;
26 protected String nameSecond; 26 protected String nameSecond;
27 protected int idFirst;
28 protected int idSecond;
27 29
28 public BedDiffYearResult () { 30 public BedDiffYearResult () {
29 super(); 31 super();
30 this.diffsPerYear = new TDoubleArrayList(); 32 this.diffsPerYear = new TDoubleArrayList();
31 this.dataGap = new TDoubleArrayList(); 33 this.dataGap = new TDoubleArrayList();
52 TDoubleArrayList diffsPerYear, 54 TDoubleArrayList diffsPerYear,
53 TDoubleArrayList dataGap, 55 TDoubleArrayList dataGap,
54 Integer start, 56 Integer start,
55 Integer end, 57 Integer end,
56 String nameFirst, 58 String nameFirst,
57 String nameSecond 59 String nameSecond,
60 int idFirst,
61 int idSecond
58 ) { 62 ) {
59 super(kms, differences, heights1, heights2); 63 super(kms, differences, heights1, heights2);
60 this.diffsPerYear = diffsPerYear; 64 this.diffsPerYear = diffsPerYear;
61 this.dataGap = dataGap; 65 this.dataGap = dataGap;
62 this.soundingWidth = soundingWidth; 66 this.soundingWidth = soundingWidth;
64 this.morphWidth2 = morphWidth2; 68 this.morphWidth2 = morphWidth2;
65 this.start = start; 69 this.start = start;
66 this.end = end; 70 this.end = end;
67 this.nameFirst = nameFirst; 71 this.nameFirst = nameFirst;
68 this.nameSecond = nameSecond; 72 this.nameSecond = nameSecond;
73 this.idFirst = idFirst;
74 this.idSecond = idSecond;
69 } 75 }
70 76
71 public TDoubleArrayList getBedHeights() { 77 public TDoubleArrayList getBedHeights() {
72 return this.diffsPerYear; 78 return this.diffsPerYear;
73 } 79 }
110 } 116 }
111 117
112 /** Get name of the second BedHeight (subtrahend). */ 118 /** Get name of the second BedHeight (subtrahend). */
113 public String getNameSecond() { 119 public String getNameSecond() {
114 return this.nameSecond; 120 return this.nameSecond;
121 }
122
123 /** Get id of the first BedHeight (minuend). */
124 public int getIdFirst() {
125 return this.idFirst;
126 }
127
128 /** Get id of the second BedHeight (subtrahend). */
129 public int getIdSecond() {
130 return this.idSecond;
115 } 131 }
116 132
117 public void addMorphWidth1(double value) { 133 public void addMorphWidth1(double value) {
118 this.morphWidth1.add(value); 134 this.morphWidth1.add(value);
119 } 135 }

http://dive4elements.wald.intevation.org