KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > query > mem > BCodeQuery


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.jdo.query.mem;
13
14 import com.versant.core.jdo.QueryStateWrapper;
15
16 /**
17  * This is the interface that the dynamic queries will implement.
18  */

19 public abstract class BCodeQuery {
20     public boolean exec(QueryStateWrapper state, Object JavaDoc[] params) {
21         return true;
22     }
23
24     public int compare(QueryStateWrapper state1, QueryStateWrapper state2) {
25         return 0;
26     }
27 }
28
Popular Tags