KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > genimen > djeneric > test > strong > Oql


1 package com.genimen.djeneric.test.strong;
2
3 import java.util.HashMap JavaDoc;
4
5 // Place your custom code BETWEEN the following tags
6
//<DjenericManualCode id="1">
7
//</DjenericManualCode>
8
public interface Oql
9 {
10
11   public void clearBaseRestrictions();
12
13   public void addBaseRestriction(String JavaDoc restriction);
14
15   public void setWhereExpression(String JavaDoc expression);
16
17   public void setParameter(String JavaDoc name, Object JavaDoc value);
18
19   public void setParameter(String JavaDoc name, int value);
20
21   public void setParameter(String JavaDoc name, long value);
22
23   public void setParameter(String JavaDoc name, double value);
24
25   public void setParameter(String JavaDoc name, boolean value);
26
27   public void setParameters(HashMap JavaDoc parameters);
28
29   // Place your custom code BETWEEN the following tags
30
//<DjenericManualCode>
31
//</DjenericManualCode>
32
}
Popular Tags