comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java @ 157:b5c99532f898

Adapted the available calculation modes of WINFO and its order in the DESCRIBE document. flys-artifacts/trunk@1602 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 29 Mar 2011 09:54:06 +0000
parents 7f909429ccc8
children 89bd0417418f
comparison
equal deleted inserted replaced
156:d03b8bbeb853 157:b5c99532f898
21 /** The logger that is used in this class.*/ 21 /** The logger that is used in this class.*/
22 private static Logger logger = Logger.getLogger(CalculationSelect.class); 22 private static Logger logger = Logger.getLogger(CalculationSelect.class);
23 23
24 24
25 /** Constant value for the reference line calculation.*/ 25 /** Constant value for the reference line calculation.*/
26 public static final String CALCULATION_REFERENCE_LINE = 26 public static final String CALCULATION_SURFACE_CURVE =
27 "calc.reference.line"; 27 "calc.surface.curve";
28 28
29 /** Constant value for the differences calculation.*/ 29 /** Constant value for the differences calculation.*/
30 public static final String CALCULATION_DIFFERENCES = 30 public static final String CALCULATION_DURATION_CURVE =
31 "calc.differences"; 31 "calc.duration.curve";
32 32
33 /** Constant value for the flood map calculation.*/ 33 /** Constant value for the flood map calculation.*/
34 public static final String CALCULATION_FLOOD_MAP = 34 public static final String CALCULATION_FLOOD_MAP =
35 "calc.flood.map"; 35 "calc.flood.map";
36 36
37 /** Constant value for the profile calculation.*/ 37 /** Constant value for the profile calculation.*/
38 public static final String CALCULATION_PROFILE = 38 public static final String CALCULATION_DISCHARGE_LONGITUDINAL_CURVE =
39 "calc.profile"; 39 "calc.discharge.longitudinal.section";
40 40
41 /** Constant value for the state discharge curve calculation.*/ 41 /** Constant value for the state discharge curve calculation.*/
42 public static final String CALCULATION_STATE_DISCHARGE_CURVE = 42 public static final String CALCULATION_DISCHARGE_CURVE =
43 "calc.state.discharge.curve"; 43 "calc.discharge.curve";
44 44
45 /** An array that holds all available calculation modes.*/ 45 /** An array that holds all available calculation modes.*/
46 public static final String[] CALCULATIONS = { 46 public static final String[] CALCULATIONS = {
47 CALCULATION_REFERENCE_LINE, 47 CALCULATION_SURFACE_CURVE,
48 CALCULATION_DIFFERENCES,
49 CALCULATION_FLOOD_MAP, 48 CALCULATION_FLOOD_MAP,
50 CALCULATION_PROFILE, 49 CALCULATION_DISCHARGE_CURVE,
51 CALCULATION_STATE_DISCHARGE_CURVE }; 50 CALCULATION_DURATION_CURVE,
51 CALCULATION_DISCHARGE_LONGITUDINAL_CURVE };
52 52
53 53
54 protected Element[] createItems( 54 protected Element[] createItems(
55 XMLUtils.ElementCreator cr, 55 XMLUtils.ElementCreator cr,
56 String name, 56 String name,

http://dive4elements.wald.intevation.org