comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/GaugeInfoResultImpl.java @ 9412:0fb76f2d4e5b

bundu wst time range globalErrorMsg to client - no error thrown
author gernotbelger
date Thu, 16 Aug 2018 11:40:28 +0200
parents gwt-client/src/main/java/org/dive4elements/river/client/shared/model/GaugeInfoObjectImpl.java@bc9a45d2b1fa
children
comparison
equal deleted inserted replaced
9411:fe7edef5af47 9412:0fb76f2d4e5b
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU AGPL (>=v3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
6 * documentation coming with Dive4Elements River for details.
7 */
8
9 package org.dive4elements.river.client.shared.model;
10
11 /**
12 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
13 */
14 public class GaugeInfoResultImpl implements GaugeInfoResult {
15
16 private static final long serialVersionUID = 1L;
17
18 GaugeInfoObject[] gauges; // NO LIST, SERIALIZE-Problem// = new ArrayList<GaugeInfoObject>();
19
20 String globalErrorMsg;
21
22 public GaugeInfoResultImpl() {
23
24 }
25
26 public GaugeInfoResultImpl(final String globalErrorMsg, final GaugeInfoObject[] gauges) {
27 this.globalErrorMsg = globalErrorMsg;
28 this.gauges = gauges;
29 }
30
31 @Override
32 public String getGlobalErrorMsg() {
33
34 return this.globalErrorMsg;
35 }
36
37 @Override
38 public GaugeInfoObject[] getGaugeInfoObjects() {
39
40 return this.gauges;
41 }
42
43 }

http://dive4elements.wald.intevation.org