Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/util/WstInfo.java @ 8894:a66f2a7c4f84
SINFO FlowDepth - slight code cleanup
author | gernotbelger |
---|---|
date | Thu, 15 Feb 2018 18:40:40 +0100 |
parents | artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/WstInfo.java@7a8c12706834 |
children | d9dbf0b74bc2 |
comparison
equal
deleted
inserted
replaced
8893:ffebc94cf679 | 8894:a66f2a7c4f84 |
---|---|
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by | |
3 * Björnsen Beratende Ingenieure GmbH | |
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt | |
5 * | |
6 * This file is Free Software under the GNU AGPL (>=v3) | |
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
8 * documentation coming with Dive4Elements River for details. | |
9 */ | |
10 package org.dive4elements.river.artifacts.sinfo.util; | |
11 | |
12 import java.io.Serializable; | |
13 | |
14 /** | |
15 * @author Gernot Belger | |
16 */ | |
17 public final class WstInfo implements Serializable { | |
18 | |
19 private static final long serialVersionUID = 1L; | |
20 | |
21 private final String label; | |
22 | |
23 private final int year; | |
24 | |
25 private final String gauge; | |
26 | |
27 public WstInfo(final String label, final int year, final String gauge) { | |
28 this.label = label; | |
29 this.year = year; | |
30 this.gauge = gauge; | |
31 } | |
32 | |
33 public String getLabel() { | |
34 return this.label; | |
35 } | |
36 | |
37 public int getYear() { | |
38 return this.year; | |
39 } | |
40 | |
41 public String getGauge() { | |
42 return this.gauge; | |
43 } | |
44 } |