Constants.java [src/java/util] Revision: default Date:
/*
* $Id$
*
* This file is part of the Cloud Services Integration Platform (CSIP),
* a Model-as-a-Service framework, API, and application suite.
*
* 2012-2017, OMSLab, Colorado State University.
*
* OMSLab licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*/
package util;
/**
*
* @author od
*/
public class Constants {
// rusle 2
public static final String KEY_STEEPNESS = "steepness";
public static final String KEY_SIMPLE_ROCK_COVER = "rockCover";
public static final String KEY_LENGTH = "length";
public static final String KEY_SOILS = "soilPtr";
public static final String KEY_MANAGEMENTS = "mgmtPtr";
public static final String KEY_CLIMATES = "climatePtr";
public static final String KEY_DIVERSIONS = "diversionPtr";
public static final String KEY_CONTOURSYSTEMS = "contourPtr";
public static final String KEY_STRIP_BARRIER_SYSTEMS = "strip_barrierPtr";
public static final String KEY_TOPO_LENGTH = "topo_length";
public static final String KEY_TOPO_STEEPNESS = "topo_steepness";
public static final String KEY_SOIL_INDEX = "soil_index";
public static final String KEY_MAN_INDEX = "man_index";
public static final String KEY_MAN_LENGTH = "man_length";
public static final String KEY_DIVERSION_INDEX = "diversion_index";
public static final String KEY_CONTOUR_INDEX = "contour_index";
public static final String KEY_STRIP_BARRIER_INDEX = "strip_barrier_index";
// new R2 (Phacil)
public static final String KEY_MGMTS = "managements";
public static final String KEY_MGMT = "management";
// public static final String KEY_STATUS = "status";
public static final String KEY_RESOLVE_LOCATION = "resolveLocation";
public static final String KEY_SLOPE_EQUIV_DIESEL_USE_PER_AREA = "slopeEquivDieselUsePerArea";
public static final String KEY_SOIL_COND_INDEX_STIR_VAL = "soilCondIndexStirVal";
public static final String KEY_SOIL_COND_INDEX_RESULT = "soilCondIndexResult";
public static final String KEY_LATITUDE = "latitude";
public static final String KEY_LONGITUDE = "longitude";
public static final String KEY_TVALUE = "tvalue";
public static final String KEY_DEGRADE = "degrade";
public static final String KEY_DELEGATOR = "delegator";
public static final String KEY_ALT_R2DB = "r2db";
public static final String KEY_CONTOUR_SYSTEM_PTR = "contour";
public static final String KEY_STRIP_BARRIER_SYSTEM_PTR = "strip_barrier";
public static final String KEY_HYD_ELEM_SYSTEM_PTR = "diversion";
public static final String KEY_CLIMATE_URL = "climate_url";
public static final String KEY_CLIMATE = "climate";
// rusle 2 - request results
public static final String RES_SLOPE_DELIVERY = "SLOPE_DELIVERY";
public static final String RES_SLOPE_T_VALUE = "SLOPE_T_VALUE";
public static final String RES_SLOPE_DEGRAD = "SLOPE_DEGRAD";
public static final String RES_SIMPLE_ROCK_COVER = "SIMPLE_ROCK_COVER";
public static final String RES_SLOPE_EQUIV_DIESEL_USE_PER_AREA = "SLOPE_EQUIV_DIESEL_USE_PER_AREA";
public static final String RES_SOIL_COND_INDEX_STIR_VAL = "#RD:SOIL_COND_INDEX_PTR:SOIL_COND_INDEX_STIR_VAL";
public static final String RES_SEG_SIM_DAY_LIVE_BIOMASS = "SEG_SIM_DAY_LIVE_BIOMASS";
public static final String RES_SEG_SIM_DAY_COVER_MASS_SUM = "SEG_SIM_DAY_COVER_MASS_SUM";
public static final String RES_SEG_SIM_DAY_STAND_MASS_SUM = "SEG_SIM_DAY_STAND_MASS_SUM";
public static final String RES_SEG_SIM_DAY_CANOPY_COVER = "SEG_SIM_DAY_CANOPY_COVER";
public static final String RES_SEG_SIM_DAY_PERENN_VEG_LIVE_HEIGHT = "SEG_SIM_DAY_PERENN_VEG_LIVE_HEIGHT";
public static final String RES_SLOPE_SIM_DAY_DEGRAD = "SLOPE_SIM_DAY_DEGRAD";
public static final String RES_SURF_RES_OUTPUTS_SURF_COV_AT_OP = "#RD:SURF_COVER_OUTPUT_PTR:SURF_RES_OUTPUTS_SURF_COV_AT_OP";
// rusle 2 = sci request results
public static final String RES_SOIL_COND_INDEX_RESULT = "#RD:SOIL_COND_INDEX_PTR:SOIL_COND_INDEX_RESULT";
public static final String RES_SOIL_COND_INDEX_OM_SUBFACTOR = "#RD:SOIL_COND_INDEX_PTR:SOIL_COND_INDEX_OM_SUBFACTOR";
public static final String RES_SOIL_COND_INDEX_FO_SUBFACTOR = "#RD:SOIL_COND_INDEX_PTR:SOIL_COND_INDEX_FO_SUBFACTOR";
public static final String RES_SOIL_COND_INDEX_ER_SUBFACTOR = "#RD:SOIL_COND_INDEX_PTR:SOIL_COND_INDEX_ER_SUBFACTOR";
public static final String KEY_SCI_VALUE = "sci_value";
public static final String KEY_SCI_OM = "sci_om";
public static final String KEY_SCI_FO = "sci_fo";
public static final String KEY_SCI_ER = "sci_er";
// rusle 2 - STIR
public static final String KEY_END_START_SET_CHOICE = "end_start_set_choice";
public static final String KEY_ESSC_USER = "user";
public static final String KEY_ESSC_KILL = "kill";
public static final String KEY_ESSC_KILL_AND_BEGIN = "kill_and_begin";
public static final String KEY_MAN_OP_VEG_CROP_YEAR_END_START_SET_CHOICE = "MAN_OP_VEG_CROP_YEAR_END_START_SET_CHOICE";
public static final String KEY_CROP_YEAR_END_START_SET_CHOICE_USER = "CROP_YEAR_END_START_SET_CHOICE_USER";
public static final String KEY_CROP_YEAR_END_START_SET_CHOICE_KILL = "CROP_YEAR_END_START_SET_CHOICE_KILL";
public static final String KEY_CROP_YEAR_END_START_SET_CHOICE_KILL_AND_BEGIN = "CROP_YEAR_END_START_SET_CHOICE_KILL_AND_BEGIN";
public static final String KEY_CROP_YEAR_END_START_SET_CHOICE_NONE = "CROP_YEAR_END_START_SET_CHOICE_NONE"; // not used presently
public static final String KEY_CROP_YEAR_CALC_METHOD = "cropYearCalcMethod";
public static final String KEY_CROP_YEAR_END_START_VALS = "cropYearEndStartVals";
public static final String KEY_MGMT_FILE = "mgmtFilename";
public static final String KEY_DURATION_IN_MAN = "durationInMan";
public static final String KEY_MAN_BASE_ROTATION_CHOICE = "manBaseRotationChoice";
public static final String KEY_OP_DATE = "opDateSize";
public static final String KEY_OP_DATE_VALUES = "opDateValues";
public static final String KEY_OP_PTR_VALUES = "opPtrValues";
public static final String KEY_VEG_PTR_VALUES = "vegPtrValues";
public static final String KEY_MAN_OP_VEG_NUM_HARV_UNITS = "manOpVegNumHarvUnits";
public static final String KEY_MAN_STIR = "manStir";
public static final String KEY_MAN_CROP_YEAR_NUM_YRS = "manCropYearNumYrs";
public static final String KEY_MAN_CROP_YEAR_START_DATE = "manCropYearStartDate";
public static final String KEY_MAN_CROP_YEAR_END_DATE = "manCropYearEndDate";
public static final String KEY_MAN_CROP_YEAR_CROP_NAME = "manCropYearCropName";
public static final String KEY_MAN_CROP_YEAR_STIR = "manCropYearStir";
// rusle 2 STIR - results
public static final String RES_DURATION_IN_MAN = "DURATION_IN_MAN";;
public static final String RES_MAN_BASE_ROTATION_CHOICE = "MAN_BASE_ROTATION_CHOICE";
public static final String RES_OP_DATE = "OP_DATE";
public static final String RES_OP_DATE_SIZE = "OP_DATE_SIZE";
public static final String RES_OP_PTR = "OP_PTR";
public static final String RES_VEG_PTR = "VEG_PTR";
public static final String RES_MAN_OP_VEG_NUM_HARV_UNITS = "MAN_OP_VEG_NUM_HARV_UNITS";
public static final String RES_MAN_STIR = "MAN_STIR";
public static final String RES_MAN_CROP_YEAR_NUM_YRS = "MAN_CROP_YEAR_NUM_YRS";
public static final String RES_MAN_CROP_YEAR_START_DATE = "MAN_CROP_YEAR_START_DATE";
public static final String RES_MAN_CROP_YEAR_END_DATE = "MAN_CROP_YEAR_END_DATE";
public static final String RES_MAN_CROP_YEAR_CROP_NAME = "MAN_CROP_YEAR_CROP_NAME";
public static final String RES_MAN_CROP_YEAR_STIR = "MAN_CROP_YEAR_STIR";
public static final String RES_MAN_DURATION = "man_duration";
public static final String RES_ANNUAL_STIR = "annual_stir";
public static final String RES_ROTATION_STIR = "rotation_stir";
public static final String RES_OP_STIR_TABLE = "op_stir_table";
public static final String RES_OP_NAME = "op_name";
public static final String RES_OP_STIR = "op_stir";
public static final String RES_OP_URL = "op_url";
// r2 ann
public static final String ANNNAME = "annName";
public static final String SLOPE = "slope";
public static final String LENGTH = "length";
public static final String STIR = "stir";
public static final String CONTOUR = "contour";
public static final String KFFACT = "kffact";
public static final String SAND = "sand";
public static final String SILT = "silt";
public static final String CLAY = "clay";
public static final String BIOMASS = "biomass";
public static final String R_FACTOR = "r_factor";
public static final String KEY_ANN_EROSION = "ann_erosion";
// RUSLE 2 error messages
public static final String R2_MISSING_XML_FILES_WARNING_MSG = "MISSING XML FILES, EROSION RESULT IS LIKELY INCORRECT!";
public static final String R2_NO_SOIL_FOR_PROVIDED_COKEY = "NO RUSLE2 SOIL FILE IS AVAILABLE FOR PROVIDED COKEY";
}