View Javadoc

1   /*
2    * Joey and its relative products are published under the terms
3    * of the Apache Software License.
4    */
5   /*
6    * Created on 2003/12/29
7    */
8   package org.asyrinx.joey.om;
9   
10  import java.io.Serializable;
11  
12  /***
13   * @author akima
14   */
15  public interface SearchCondition extends Serializable, Cloneable {
16  
17  	public int getMaxRecordCount();
18  	public void setMaxRecordCount(int value);
19  
20  	public void attach(ConditionTranslator conditionTranslater);
21  
22  	public static SearchCondition NONE = new SearchCondition() {
23  		public void attach(ConditionTranslator conditionTranslater) {
24  		}
25  		public int getMaxRecordCount() {
26  			return -1;
27  		}
28  		public void setMaxRecordCount(int value) {
29  
30  		}
31  	};
32  
33  }