📄 relationform.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 RelationForm extends ActionForm
{
private String relationcode;
private String customercode;
private String relationname;
private String crudMethod;
/**
* 设置 relationcode
*/
public void setRelationcode(String relationcode)
{
this.relationcode = relationcode;
}
/**
* 获得 relationcode
*/
public String getRelationcode()
{
return relationcode;
}
/**
* 设置 customercode
*/
public void setCustomercode(String customercode)
{
this.customercode = customercode;
}
/**
* 获得 customercode
*/
public String getCustomercode()
{
return customercode;
}
/**
* 设置 relationname
*/
public void setRelationname(String relationname)
{
this.relationname = relationname;
}
/**
* 获得 relationname
*/
public String getRelationname()
{
return relationname;
}
/**
* 设置 crudMethod
*/
public void setCrudMethod(String crudMethod)
{
this.crudMethod = crudMethod;
}
/**
* 获得 crudMethod
*/
public String getCrudMethod()
{
return crudMethod;
}
/**
* Method 'reset'
*
*/
public void reset()
{
relationcode = "";
customercode = "";
relationname = "";
}
/**
* Method 'validate'
*
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
{
ActionErrors _errors = new ActionErrors();
return _errors;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -