Package ru.curs.celesta.score
Class BinaryLogicalOp
- java.lang.Object
-
- ru.curs.celesta.score.Expr
-
- ru.curs.celesta.score.LogicValuedExpr
-
- ru.curs.celesta.score.BinaryLogicalOp
-
public final class BinaryLogicalOp extends LogicValuedExpr
AND/OR.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExprVisitor visitor)
List<Expr>
getAllOperands()
List<Expr>
getOperands()
Returns the operands.int
getOperator()
Returns the operator.-
Methods inherited from class ru.curs.celesta.score.LogicValuedExpr
getMeta
-
Methods inherited from class ru.curs.celesta.score.Expr
getCSQL, getSQL, resolveFieldRefs
-
-
-
-
Field Detail
-
AND
public static final int AND
Index for conjunction operator.- See Also:
- Constant Field Values
-
OR
public static final int OR
Index for disjunction operator.- See Also:
- Constant Field Values
-
-
Method Detail
-
getOperator
public int getOperator()
Returns the operator.
-
getAllOperands
public List<Expr> getAllOperands()
- Specified by:
getAllOperands
in classLogicValuedExpr
-
accept
public void accept(ExprVisitor visitor) throws ParseException
- Throws:
ParseException
-
-