📄 existclieatform.java
字号:
/*
* Created on 2006-6-25
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.funddeal.view.actionform.client;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import com.funddeal.base.StringUtil;
/**
* @author Administrator
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class ExistClieatForm extends ActionForm {
/**
*
*/
private static final long serialVersionUID = 1L;
private String client_no;
private String fun;
/**
* @return Returns the fun.
*/
public String getFun() {
return fun;
}
/**
* @param fun The fun to set.
*/
public void setFun(String fun) {
this.fun = fun;
}
/**
* @return Returns the client_no.
*/
public String getClient_no() {
return client_no;
}
/**
* @param client_no The client_no to set.
*/
public void setClient_no(String client_no) {
this.client_no = StringUtil.toGBK(client_no);
}
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request){
ActionErrors errors=new ActionErrors();
if(client_no.equals(""))
errors.add("client_no",new ActionMessage("Client.no.Client_no"));
return errors;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -