annotate artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/WMSEpochSelectState.java @ 9559:ba0561906f81

Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
author gernotbelger
date Wed, 24 Oct 2018 18:40:38 +0200
parents 787fc085459b
children
rev   line source
9481
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
2 * Software engineering by Intevation GmbH
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
3 *
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
4 * This file is Free Software under the GNU AGPL (>=v3)
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
6 * documentation coming with Dive4Elements River for details.
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
7 */
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
8
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
9 package org.dive4elements.river.artifacts.uinfo.inundationduration;
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
10
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
11 import org.dive4elements.river.artifacts.uinfo.inundationduration.UedauernConfiguration.YearType;
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
12
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
13 /** State in which to fetch years for sedminent load calculation. */
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
14 public class WMSEpochSelectState extends AbstractYearEpochUrlState {
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
15 private static final long serialVersionUID = 1L;
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
16
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
17 /**
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
18 * The default constructor that initializes an empty State object.
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
19 */
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
20 public WMSEpochSelectState() {
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
21 super(YearType.mittel);
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
22 }
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
23
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
24 @Override
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
25 protected String getUIProvider() {
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
26 return "uinfo.inundation.wms_epoch";
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
27 }
9559
ba0561906f81 Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents: 9481
diff changeset
28
ba0561906f81 Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents: 9481
diff changeset
29 @Override
ba0561906f81 Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents: 9481
diff changeset
30 protected String getDatakey() {
ba0561906f81 Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents: 9481
diff changeset
31 return "year_epoch_select";
ba0561906f81 Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents: 9481
diff changeset
32 }
9481
787fc085459b TSV introduced; uinfo.inundationWMS-Config
gernotbelger
parents:
diff changeset
33 }

http://dive4elements.wald.intevation.org