Package net.dona.doip.client

# Class SortField

java.lang.Object
net.dona.doip.client.SortField

public class SortField extends Object
A specification of part of a sort order for `QueryParams`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SortField(String name)`
  `SortField(String name, boolean reverse)`
  Constructs a SortField.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getName()`
  `boolean`
  `isReverse()`

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

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

- ## Constructor Details

  - ### SortField

    public SortField(String name, boolean reverse)
    Constructs a SortField.
    Parameters:
      `name` - the name of the field to sort on
      `reverse` - if true, reverse the sort order

  - ### SortField

    public SortField(String name)

- ## Method Details

  - ### getName

    public String getName()

  - ### isReverse

    public boolean isReverse()