01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.algebra;
07:
08: /**
09: * A boolean OR operator operating on two boolean expressions.
10: */
11: public class Or extends BinaryValueOperator {
12:
13: /*--------------*
14: * Constructors *
15: *--------------*/
16:
17: public Or() {
18: }
19:
20: public Or(ValueExpr leftArg, ValueExpr rightArg) {
21: super (leftArg, rightArg);
22: }
23:
24: /*---------*
25: * Methods *
26: *---------*/
27:
28: public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
29: throws X {
30: visitor.meet(this );
31: }
32:
33: @Override
34: public Or clone() {
35: return (Or) super.clone();
36: }
37: }
|