Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/GaugeInfoObject.java @ 9414:096f151a0a9f
bundu bezugswst länge der abflusszeitreihe fix + klasse vergessen
author | gernotbelger |
---|---|
date | Thu, 16 Aug 2018 15:47:10 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9413:b534a4f4e4f6 | 9414:096f151a0a9f |
---|---|
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.client.shared.model; | |
11 | |
12 import java.io.Serializable; | |
13 import java.util.Date; | |
14 | |
15 /** | |
16 * @author Domenico Nardi Tironi | |
17 * | |
18 */ | |
19 public class GaugeInfoObject implements Serializable { | |
20 | |
21 private static final long serialVersionUID = 1L; | |
22 | |
23 private String name; | |
24 private String errorMsg; | |
25 private Date startdate; | |
26 private Date enddate; // no final, because Serializable demands for empty constructor and I don't want to set default values | |
27 | |
28 public GaugeInfoObject() { | |
29 | |
30 } | |
31 | |
32 public GaugeInfoObject(final String name, final String errorMsg, final Date startdate, final Date enddate) { | |
33 this.name = name; | |
34 this.errorMsg = errorMsg; | |
35 this.startdate = startdate; | |
36 this.enddate = enddate; | |
37 } | |
38 | |
39 public Date getStartdate() { | |
40 return this.startdate; | |
41 } | |
42 | |
43 public Date getEnddate() { | |
44 return this.enddate; | |
45 } | |
46 | |
47 public String getName() { | |
48 return this.name; | |
49 } | |
50 | |
51 public String getErrorMsg() { | |
52 return this.errorMsg; | |
53 } | |
54 } |