📄 searchcriteria.java
字号:
package com.ebusiness.ebank.criteria;/** * <p>Title: </p> * <p>Description: This is a super class for Search Criteria. All search criteria * shall extends this class. The search criteria is used in the situation * in which there might be multiple records returned. * If there are so many possible records returned, the concrete * search criteria class should have some range limitation for the return values</p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public abstract class SearchCriteria implements java.io.Serializable{ private int maxReturn = 1000; //default to 1000 records public String getCriteriaType() { String className = this.getClass().getName(); return className.substring(className.lastIndexOf('.') + 1, className.indexOf("SearchCriteria")); } public int getMaxReturn() { return this.maxReturn; } public void setMaxReturn(int maxReturn) { this.maxReturn = maxReturn; } public abstract String toString();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -