1
2
3
4
5
6
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 }