示例#1
0
 @SuppressWarnings("rawtypes")
 public static Vector createComboParameter(String parameter, String values, String description) {
   return ParameterUtil.createParameterDefinition(
       parameter,
       "",
       ParameterType.PARAM_COMBOBOX,
       StringUtil.toStringVector(values, StringPool.COMMA),
       description);
 }
示例#2
0
 @SuppressWarnings("rawtypes")
 public static Vector createMaskParameter(String parameter, String mask, String description) {
   return ParameterUtil.createParameterDefinition(
       parameter, "", ParameterType.PARAM_TEXTBOX_MASK, mask, description);
 }
示例#3
0
 @SuppressWarnings("rawtypes")
 public static Vector createPasswordParameter(String parameter, String description) {
   return ParameterUtil.createParameterDefinition(
       parameter, "", ParameterType.PARAM_PASSWORD, "", description);
 }
示例#4
0
 @SuppressWarnings("rawtypes")
 public static Vector createTextParameter(String parameter, int length, String description) {
   return ParameterUtil.createParameterDefinition(
       parameter, "", ParameterType.PARAM_TEXTBOX_MAX, length, description);
 }