annotate artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/WstInfo.java @ 8882:f762fadc5313

Further work on SINFO-FlowDepth
author gernotbelger
date Fri, 09 Feb 2018 16:11:47 +0100
parents 64ca63f79f6f
children 7a8c12706834
rev   line source
8877
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
2 * Software engineering by
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
3 * Björnsen Beratende Ingenieure GmbH
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
5 *
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
6 * This file is Free Software under the GNU AGPL (>=v3)
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
8 * documentation coming with Dive4Elements River for details.
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
9 */
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
10 package org.dive4elements.river.artifacts.sinfo.flowdepth;
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
11
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
12 /**
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
13 * @author Gernot Belger
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
14 */
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
15 final class WstInfo {
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
16
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
17 private final String label;
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
18 private final int year;
8879
64ca63f79f6f Further work on SINFO-FlowDepth
gernotbelger
parents: 8877
diff changeset
19 private final String gauge;
8877
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
20
8882
f762fadc5313 Further work on SINFO-FlowDepth
gernotbelger
parents: 8879
diff changeset
21 public WstInfo(final String label, final int year, final String gauge) {
8877
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
22 this.label = label;
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
23 this.year = year;
8879
64ca63f79f6f Further work on SINFO-FlowDepth
gernotbelger
parents: 8877
diff changeset
24 this.gauge = gauge;
8877
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
25 }
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
26
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
27 public String getLabel() {
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
28 return this.label;
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
29 }
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
30
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
31 public int getYear() {
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
32 return this.year;
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
33 }
8879
64ca63f79f6f Further work on SINFO-FlowDepth
gernotbelger
parents: 8877
diff changeset
34
64ca63f79f6f Further work on SINFO-FlowDepth
gernotbelger
parents: 8877
diff changeset
35 public String getGauge() {
64ca63f79f6f Further work on SINFO-FlowDepth
gernotbelger
parents: 8877
diff changeset
36 return this.gauge;
64ca63f79f6f Further work on SINFO-FlowDepth
gernotbelger
parents: 8877
diff changeset
37 }
8877
9f7a285b0ee3 Some work on SINFO FlowDepth
gernotbelger
parents:
diff changeset
38 }

http://dive4elements.wald.intevation.org