Enum Class MTQuery.SortColumn

java.lang.Object
java.lang.Enum<MTQuery.SortColumn>
se.conciliate.extensions.store.query.MTQuery.SortColumn
All Implemented Interfaces:
Serializable, Comparable<MTQuery.SortColumn>, Constable
Enclosing interface:
MTQuery

public static enum MTQuery.SortColumn extends Enum<MTQuery.SortColumn>
The column on which to sort when performing a sort operation. Note that not all columns are valid for all query types. Using an incompatible sort column will result in the result being sorted on the default column, usually the title.
  • Enum Constant Details

  • Method Details

    • values

      public static MTQuery.SortColumn[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MTQuery.SortColumn valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null