org.modeshape.jcr.api.query.qom

## Interface ArithmeticOperand

- All Superinterfaces:
    DynamicOperand, Operand
  All Known Implementing Classes:
    ArithmeticOperand

      public interface ArithmeticOperand
      extends DynamicOperand

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DynamicOperand` | `getLeft()` Get the left-hand operand.
    `String` | `getOperator()` Get the operator for this binary operand.
    `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

          DynamicOperand getLeft()

      Get the left-hand operand.
      Returns:
        the left-hand operator; never null

    - #### getRight

          DynamicOperand getRight()

      Get the right-hand operand.
      Returns:
        the right-hand operator; never null

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