【Java开源代码栏目提醒】:网学会员Java开源代码为您提供CustomerTypeForm.java参考,解决您在CustomerTypeForm.java学习中工作中的难题,参考学习。
package com.relationinfo.customertrace.struts.forms;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
public class CustomerTypeForm extends ActionForm
{
private String customertypecode;
private String customertypename;
private String crudMethod;
/**
* 设置 customertypecode
*/
public void setCustomertypecode(String customertypecode)
{
this.customertypecode = customertypecode;
}
/**
* 获得 customertypecode
*/
public String getCustomertypecode()
{
return customertypecode;
}
/**
* 设置 customertypename
*/
public void setCustomertypename(String customertypename)
{
this.customertypename = customertypename;
}
/**
* 获得 customertypename
*/
public String getCustomertypename()
{
return customertypename;
}
/**
* 设置 crudMethod
*/
public void setCrudMethod(String crudMethod)
{
this.crudMethod = crudMethod;
}
/**
* 获得 crudMethod
*/
public String getCrudMethod()
{
return crudMethod;
}
/**
* Method 'reset'
*
*/
public void reset()
{
customertypecode = "";
customertypename = "";
}
/**
* Method 'validate'
*
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
{
ActionErrors _errors = new ActionErrors();
return _errors;
}
}