statementsearchcriteria.java
来自「我在加拿大学习的一个比较复杂的在线银行程序.」· Java 代码 · 共 59 行
JAVA
59 行
package com.ebusiness.ebank.criteria;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
*/
public class StatementSearchCriteria extends SearchCriteria
{
private String accountNo;
private String accountType;
private int monthsWithin = 1;
public String getAccountNo()
{
return this.accountNo;
}
public void setAccountNo(String accountNo)
{
this.accountNo = accountNo;
}
public String getAccountType()
{
return this.accountType;
}
public void setAccountType(String accountType)
{
this.accountType = accountType;
}
public int getMonthsWithin()
{
return this.monthsWithin;
}
public void setMonthsWithin(int monthsWithin)
{
this.monthsWithin = monthsWithin;
}
/**
* toString
*
* @return String
*/
public String toString()
{
return "AccountNo = " + this.accountNo + ", AccountType = " + this.accountType + ", MonthsWithin = " + this.monthsWithin;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?