org.modeshape.jcr.api.query.qom
Interface ArithmeticOperand

All Superinterfaces:
javax.jcr.query.qom.DynamicOperand, javax.jcr.query.qom.Operand
All Known Implementing Classes:
JcrArithmeticOperand

public interface ArithmeticOperand
extends javax.jcr.query.qom.DynamicOperand

A dynamic operand that represents a (binary) arithmetic operation upon one or more other operands, used in Comparison and Ordering components.


Method Summary
 javax.jcr.query.qom.DynamicOperand getLeft()
          Get the left-hand operand.
 String getOperator()
          Get the operator for this binary operand.
 javax.jcr.query.qom.DynamicOperand getRight()
          Get the right-hand operand.
 

Method Detail

getOperator

String getOperator()
Get the operator for this binary operand.

Returns:
the operator; never null

getLeft

javax.jcr.query.qom.DynamicOperand getLeft()
Get the left-hand operand.

Returns:
the left-hand operator; never null

getRight

javax.jcr.query.qom.DynamicOperand getRight()
Get the right-hand operand.

Returns:
the right-hand operator; never null


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.