com.ibm.openpages.api.configuration

## Class SortField

- java.lang.Object
- - com.ibm.openpages.api.configuration.SortField

- All Implemented Interfaces:
    java.io.Serializable

      public class SortField
      extends java.lang.Object
      implements java.io.Serializable

  Represents sorting field for the configuration data query, used by `IFindOption` .
  Since:
    8.1
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SortField.SortDirection` Type of sorting direction

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SortField()`
    `SortField(java.lang.String name, SortField.SortDirection direction)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SortField.SortDirection` | `getDirection()` Returns the sorting direction
    `java.lang.String` | `getName()` Returns the name of the column used for sorting

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

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

- - ### Constructor Detail

    - #### SortField

          public SortField()

    - #### SortField

          public SortField(java.lang.String name,
                           SortField.SortDirection direction)

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      Returns the name of the column used for sorting
      Returns:

    - #### getDirection

          public SortField.SortDirection getDirection()

      Returns the sorting direction
      Returns:

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.