Package com.enonic.xp.query.expr

## Class LogicalExpr

- java.lang.Object
- - com.enonic.xp.query.expr.LogicalExpr

- All Implemented Interfaces:
    `ConstraintExpr`, `Expression`

      @PublicApi
      public final class LogicalExpr
      extends Object
      implements ConstraintExpr

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `LogicalExpr.Operator` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static LogicalExpr` | `and​(ConstraintExpr left, ConstraintExpr right)` |
    `ConstraintExpr` | `getLeft()` |
    `LogicalExpr.Operator` | `getOperator()` |
    `ConstraintExpr` | `getRight()` |
    `static LogicalExpr` | `or​(ConstraintExpr left, ConstraintExpr right)` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getLeft

          public ConstraintExpr getLeft()

    - #### getRight

          public ConstraintExpr getRight()

    - #### getOperator

          public LogicalExpr.Operator getOperator()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### and

          public static LogicalExpr and​(ConstraintExpr left,
                                        ConstraintExpr right)

    - #### or

          public static LogicalExpr or​(ConstraintExpr left,
                                       ConstraintExpr right)