org.apache.olingo.ext.proxy.api

## Class Sort

- java.lang.Object
- - org.apache.olingo.ext.proxy.api.Sort

- All Implemented Interfaces:
    Map.Entry<String,Sort.Direction>

      public class Sort
      extends Object
      implements Map.Entry<String,Sort.Direction>

  Sort option for queries.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Sort.Direction` Enumeration for sort directions.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Sort(String key, Sort.Direction value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getKey()`
    `Sort.Direction` | `getValue()`
    `Sort.Direction` | `setValue(Sort.Direction value)`

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

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

    - ### Methods inherited from interface java.util.Map.Entry

      `comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode`

- - ### Constructor Detail

    - #### Sort

          public Sort(String key,
                      Sort.Direction value)

  - ### Method Detail

    - #### getKey

          public String getKey()

      Specified by:
        `getKey` in interface `Map.Entry<String,Sort.Direction>`

    - #### getValue

          public Sort.Direction getValue()

      Specified by:
        `getValue` in interface `Map.Entry<String,Sort.Direction>`

    - #### setValue

          public Sort.Direction setValue(Sort.Direction value)

      Specified by:
        `setValue` in interface `Map.Entry<String,Sort.Direction>`

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.