nameconstants.java

来自「Java的框架」· Java 代码 · 共 101 行

JAVA
101
字号
package mcaps.apps.prrm.roaddefect.util;


/**
 * A collection of constants used in the road defect module.
 * 
 * @author jov
 * @date 30-Aug-2005
 * @version 1.0.1.0
 */
public class NameConstants {

	/**
   * The request scope attribute that holds the road defect list
   */
  public static final String ROADDEFECT_LIST = "roadDefectList";
  
  /**
   * The request scope attribute that holds the road defect 
   */
  public static final String ROADDEFECT_OBJ = "roadDefect";

  /**
   * The request scope attribute that holds the road defect search command object 
   */
  public static final String ROADDEFECT_SEARCHDATE = "roadDefectSearchDateCommand";
 
  
  /**
   * The request scope attribute that holds the road 
   */
  public static final String ROAD = "road";


  /**
   * The request scope attribute that holds the road list
   */
  public static final String ROAD_LIST = "roadList";

  /**
   * The request scope attribute that holds the road bbox
   */
  public static final String ROAD_BBOX = "roadBbox";

  //====================================================================================
  //Resource bundle key for form title and heading
  //====================================================================================
  
  /**
   * The message key in resource bundle property for delete road defect form title
   */
  public static final String DELETE_ROADDEFECT_TITLE = "deleteRoadDefect.title";

  /**
   * The message key in resource bundle property for delete road defect form heading
   */
  public static final String DELETE_ROADDEFECT_HEADING = "deleteRoadDefect.heading";

  
  /**
   * The message key in resource bundle property for change road defect status form title
   */
  public static final String STATUS_ROADDEFECT_TITLE = "statusRoadDefect.title";

  /**
   * The message key in resource bundle property for change road defect status form heading
   */
  public static final String STATUS_ROADDEFECT_HEADING = "statusRoadDefect.heading";

	//====================================================================================
	//View url
	//====================================================================================

  /**
   * The view url for the report list page
   */
  public static final String ROADDEFECTS_VIEW_URL = "roadDefects.action";
  public static final String ROADDEFECTS_SEARCH_URL = "searchRoadDefect.action";
 
  //======================================================================
  //MAP RELATED
  //======================================================================
  
	public static final String PRRM_NS = "prrm";
	public static final String PRRM_URL = "http://www.capdeveloper.com/prrm";
//	public static final String PRRM_SCHEMA_LOC = PRRM_URL + " " + MAPSERVER_URL + "/wfs/DescribeFeatureType?typeName=prrm:road_defect";  

  //====================================================================================
  //Resource bundle key for error messages
  //====================================================================================

   /**
   * The message key in resource bundle property for 
   */
  public static final String ERROR_DELETE_ROADDEFECT_FAIL = "errors.roaddefect.delete.fail";
  
  public static final String ERROR_STATUS_ROADDEFECT_FAIL = "errors.roaddefect.status.fail";


}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?