9223
|
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.salix; |
|
10 |
|
11 import java.util.LinkedHashMap; |
|
12 |
|
13 import org.dive4elements.artifacts.Artifact; |
|
14 import org.dive4elements.artifacts.CallMeta; |
|
15 import org.dive4elements.river.artifacts.states.RadioSelect; |
|
16 |
|
17 /** |
|
18 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
|
19 */ |
|
20 public class YearChoice extends RadioSelect { |
|
21 private static final long serialVersionUID = 1L; |
|
22 |
|
23 public YearChoice() { |
|
24 super(); |
|
25 } |
|
26 |
|
27 @Override |
|
28 protected LinkedHashMap<String, String> makeEntries(final CallMeta meta, final Artifact artifact) { |
|
29 final LinkedHashMap<String, String> entries = new LinkedHashMap<>(); |
|
30 entries.put("state.uinfo.year", null); |
|
31 entries.put("state.uinfo.epoch", null); |
|
32 return entries; |
|
33 } |
|
34 |
|
35 } |