📄 group1form.java
字号:
package com.relationinfo.txl.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 Group1Form extends ActionForm
{
private String groupid;
private String groupname;
private String crudMethod;
/**
* 设置 groupid
*/
public void setGroupid(String groupid)
{
this.groupid = groupid;
}
/**
* 获得 groupid
*/
public String getGroupid()
{
return groupid;
}
/**
* 设置 groupname
*/
public void setGroupname(String groupname)
{
this.groupname = groupname;
}
/**
* 获得 groupname
*/
public String getGroupname()
{
return groupname;
}
/**
* 设置 crudMethod
*/
public void setCrudMethod(String crudMethod)
{
this.crudMethod = crudMethod;
}
/**
* 获得 crudMethod
*/
public String getCrudMethod()
{
return crudMethod;
}
/**
* Method 'reset'
*
*/
public void reset()
{
groupid = "";
groupname = "";
}
/**
* 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 + -