Enum Class MediaSortField

java.lang.Object
java.lang.Enum<MediaSortField>
nl.vpro.domain.media.search.MediaSortField
All Implemented Interfaces:
Serializable, Comparable<MediaSortField>, java.lang.constant.Constable, SortField

public enum MediaSortField extends Enum<MediaSortField> implements SortField
Since:
5.0
Author:
Michiel Meeuwissen
  • Enum Constant Details

  • Method Details

    • values

      public static MediaSortField[] 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 MediaSortField 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
    • type

      public SortField.Type type()
      Specified by:
      type in interface SortField
    • field

      public String field()
      Specified by:
      field in interface SortField
    • sortField

      public String sortField()
      Specified by:
      sortField in interface SortField
    • valueOfNullable

      public static MediaSortField valueOfNullable(String string)
    • valueOf

      public static MediaSortField valueOf(MediaSortField sortTitle, nl.vpro.domain.media.support.OwnerType ownerType)