📄 adminfreezedactionform.java
字号:
/*
* Created on 2005-7-24
*
*/
package banksystem.VO;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* @author 曲本盛
*
* TODO Struts 项目实践
*/
public class AdminFreezedActionForm extends ActionForm {
private String action = null;
private String accountID = null;
public AdminFreezedActionForm(){}
/**
* @param action 存储操作类型.
* @param accountID 存储帐号ID.
*/
public AdminFreezedActionForm(String action, String accountID) {
super();
this.action = action;
this.accountID = accountID;
}
/**
* @return accountID 返回帐户ID的值.
*/
public String getAccountID() {
return accountID;
}
/**
* @param accountID 设置帐户ID.
*/
public void setAccountID(String accountID) {
this.accountID = accountID;
}
/**
* @return action 返回操作类型的值.
*/
public String getAction() {
return action;
}
/**
* @param action 设置操作类型的值.
*/
public void setAction(String action) {
this.action = action;
}
/**
* @param actionMapping 该项目的映射对象.
* @param request HTTP请求对象.
*/
public void reset(ActionMapping actionMapping, HttpServletRequest request) {
super.reset(actionMapping, request);
this.accountID=null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -