Package com.enonic.xp.query.expr

## Class OrderExpr

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

- All Implemented Interfaces:
    `Expression`
  Direct Known Subclasses:
    `DslOrderExpr`, `DynamicOrderExpr`, `FieldOrderExpr`

      @PublicApi
      public abstract class OrderExpr
      extends Object
      implements Expression

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `OrderExpr.Direction` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `OrderExpr​(OrderExpr.Direction direction)` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `OrderExpr.Direction` | `getDirection()` |
    `int` | `hashCode()` |
    `abstract String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### OrderExpr

          public OrderExpr​(OrderExpr.Direction direction)

  - ### Method Detail

    - #### getDirection

          public final OrderExpr.Direction getDirection()

    - #### toString

          public abstract String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`