⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usersearchactionform.java

📁 基于Struts的电子银行系统
💻 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 UserSearchActionForm extends ActionForm {
	private String accountID = null;
	private String startDateYear = null;
	private String startDateMonth = null;
	private String startDateDay = null;
	private String endDateYear = null;
	private String endDateMonth = null;
	private String endDateDay = null;
	
	public UserSearchActionForm(){}
	
	/**
	 * @return Returns the accountID.
	 */
	public String getAccountID() {
		return accountID;
	}
	/**
	 * @param accountID The accountID to set.
	 */
	public void setAccountID(String accountID) {
		this.accountID = accountID;
	}
	/**
	 * @return Returns the endDateDay.
	 */
	public String getEndDateDay() {
		return endDateDay;
	}
	/**
	 * @param endDateDay The endDateDay to set.
	 */
	public void setEndDateDay(String endDateDay) {
		this.endDateDay = endDateDay;
	}
	/**
	 * @return Returns the endDateMonth.
	 */
	public String getEndDateMonth() {
		return endDateMonth;
	}
	/**
	 * @param endDateMonth The endDateMonth to set.
	 */
	public void setEndDateMonth(String endDateMonth) {
		this.endDateMonth = endDateMonth;
	}
	/**
	 * @return Returns the endDateYear.
	 */
	public String getEndDateYear() {
		return endDateYear;
	}
	/**
	 * @param endDateYear The endDateYear to set.
	 */
	public void setEndDateYear(String endDateYear) {
		this.endDateYear = endDateYear;
	}
	/**
	 * @return Returns the startDateDay.
	 */
	public String getStartDateDay() {
		return startDateDay;
	}
	/**
	 * @param startDateDay The startDateDay to set.
	 */
	public void setStartDateDay(String startDateDay) {
		this.startDateDay = startDateDay;
	}
	/**
	 * @return Returns the startDateMonth.
	 */
	public String getStartDateMonth() {
		return startDateMonth;
	}
	/**
	 * @param startDateMonth The startDateMonth to set.
	 */
	public void setStartDateMonth(String startDateMonth) {
		this.startDateMonth = startDateMonth;
	}
	/**
	 * @return Returns the startDateYear.
	 */
	public String getStartDateYear() {
		return startDateYear;
	}
	/**
	 * @param startDateYear The startDateYear to set.
	 */
	public void setStartDateYear(String startDateYear) {
		this.startDateYear = startDateYear;
	}
	/**
	 * @return 返回起始日期.
	 */
	public String getStartDate(){
		if(this.startDateDay==null){
			return null;
		}
		else{
			return this.startDateYear+"-"+this.startDateMonth+"-"+this.startDateDay;	
		}
	}
	/**
	 * @return 返回结束日期.
	 */
	public String getEndDate(){
		if(this.endDateDay==null){
			return null;
		}
		else{
			return this.endDateYear+"-"+this.endDateMonth+"-"+this.endDateDay;	
		}
	}
	/**
	 * @param actionMapping 该项目的映射对象.
	 * @param request HTTP请求对象.
	 */
	public void reset(ActionMapping actionMapping, HttpServletRequest request) {
		super.reset(actionMapping, request);
		this.accountID = null;
		this.endDateDay = null;
		this.endDateDay = null;
		this.endDateYear = null;
		this.startDateDay = null;
		this.startDateMonth = null;
		this.startDateYear = null;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -