01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.jdo.query.mem;
12:
13: import com.versant.core.jdo.QueryStateWrapper;
14:
15: /**
16: * This is the interface that the dynamic queries will implement.
17: */
18: public abstract class BCodeQuery {
19: public boolean exec(QueryStateWrapper state, Object[] params) {
20: return true;
21: }
22:
23: public int compare(QueryStateWrapper state1,
24: QueryStateWrapper state2) {
25: return 0;
26: }
27: }
|