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;
12:
13: /**
14: * A not equal test.
15: */
16: public class NotEqualNode extends EqualNode {
17:
18: public NotEqualNode(Node left, Node right) {
19: super (left, right);
20: }
21:
22: public Object accept(NodeVisitor visitor, Object[] results) {
23: return visitor.visitNotEqualNode(this , results);
24: }
25:
26: public Field visit(MemVisitor visitor, Object obj) {
27: return visitor.visitNotEqualNode(this , obj);
28: }
29:
30: public Object arrive(NodeVisitor v, Object msg) {
31: return v.arriveNotEqualNode(this, msg);
32: }
33:
34: }
|