Mercurial > dive4elements > river
annotate artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/LoadScenarioSelect.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 | 73819a194bfd |
children |
rev | line source |
---|---|
9063 | 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.artifacts.uinfo.inundationduration; | |
10 | |
9559
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
11 import org.dive4elements.river.artifacts.uinfo.inundationduration.UedauernConfiguration.YearType; |
9063 | 12 |
13 /** State in which to fetch years for sedminent load calculation. */ | |
9559
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
14 public class LoadScenarioSelect extends AbstractYearEpochUrlState { |
9511 | 15 |
9063 | 16 private static final long serialVersionUID = 1L; |
17 | |
18 /** | |
19 * The default constructor that initializes an empty State object. | |
9559
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
20 * |
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
21 * @return |
9063 | 22 */ |
23 public LoadScenarioSelect() { | |
9559
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
24 super(YearType.szenario); |
9078 | 25 } |
26 | |
27 @Override | |
9559
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
28 protected String getUIProvider() { |
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
29 return "uinfo.inundation.szenario"; |
9063 | 30 } |
31 | |
32 @Override | |
9559
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
33 protected String getDatakey() { |
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
34 return "inundation_scenario"; |
9481 | 35 } |
9222 | 36 |
9559
ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
gernotbelger
parents:
9511
diff
changeset
|
37 } |