org.fourthline.cling.support.model

## Class SortCriterion

- java.lang.Object
- - org.fourthline.cling.support.model.SortCriterion

-     public class SortCriterion
      extends Object

  Author:
    Christian Bauer

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected boolean` | `ascending`
    `protected String` | `propertyName`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SortCriterion(boolean ascending, String propertyName)`
    `SortCriterion(String criterion)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getPropertyName()`
    `boolean` | `isAscending()`
    `String` | `toString()`
    `static String` | `toString(SortCriterion[] criteria)`
    `static SortCriterion[]` | `valueOf(String s)`

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

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

- - ### Field Detail

    - #### ascending

          protected final boolean ascending

    - #### propertyName

          protected final String propertyName

  - ### Constructor Detail

    - #### SortCriterion

          public SortCriterion(boolean ascending,
                               String propertyName)

    - #### SortCriterion

          public SortCriterion(String criterion)

  - ### Method Detail

    - #### isAscending

          public boolean isAscending()

    - #### getPropertyName

          public String getPropertyName()

    - #### valueOf

          public static SortCriterion[] valueOf(String s)

    - #### toString

          public static String toString(SortCriterion[] criteria)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.