Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/WMSYearSelectState.java @ 9481:787fc085459b
TSV introduced; uinfo.inundationWMS-Config
author | gernotbelger |
---|---|
date | Wed, 12 Sep 2018 10:55:09 +0200 |
parents | |
children | ba0561906f81 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/WMSYearSelectState.java Wed Sep 12 10:55:09 2018 +0200 @@ -0,0 +1,28 @@ +/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde + * Software engineering by Intevation GmbH + * + * This file is Free Software under the GNU AGPL (>=v3) + * and comes with ABSOLUTELY NO WARRANTY! Check out the + * documentation coming with Dive4Elements River for details. + */ + +package org.dive4elements.river.artifacts.uinfo.inundationduration; + +import org.dive4elements.river.artifacts.uinfo.inundationduration.UedauernConfiguration.YearType; + +/** State in which to fetch years for sedminent load calculation. */ +public class WMSYearSelectState extends AbstractYearEpochUrlState { + private static final long serialVersionUID = 1L; + + /** + * The default constructor that initializes an empty State object. + */ + public WMSYearSelectState() { + super(YearType.jahre); + } + + @Override + protected String getUIProvider() { + return "uinfo.inundation.wms_year"; + } +} \ No newline at end of file