Package nl.vpro.domain.media.search
Enum MediaSortField
- java.lang.Object
-
- java.lang.Enum<MediaSortField>
-
- nl.vpro.domain.media.search.MediaSortField
-
- All Implemented Interfaces:
Serializable
,Comparable<MediaSortField>
,SortField
public enum MediaSortField extends Enum<MediaSortField> implements SortField
- Since:
- 5.0
- Author:
- Michiel Meeuwissen
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nl.vpro.domain.media.search.SortField
SortField.Type
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
field()
String
sortField()
SortField.Type
type()
static MediaSortField
valueOf(String name)
Returns the enum constant of this type with the specified name.static MediaSortField
valueOf(MediaSortField sortTitle, nl.vpro.domain.media.support.OwnerType ownerType)
static MediaSortField
valueOfNullable(String string)
static MediaSortField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
sortTitle
public static final MediaSortField sortTitle
-
sortTitle_NPO
public static final MediaSortField sortTitle_NPO
-
mid
public static final MediaSortField mid
-
type
public static final MediaSortField type
-
mediaType
public static final MediaSortField mediaType
-
sortDate
public static final MediaSortField sortDate
-
lastModified
public static final MediaSortField lastModified
-
creationDate
public static final MediaSortField creationDate
-
publishStop
public static final MediaSortField publishStop
-
publishStart
public static final MediaSortField publishStart
-
lastPublished
public static final MediaSortField lastPublished
-
lastModifiedBy
public static final MediaSortField lastModifiedBy
-
createdBy
public static final MediaSortField createdBy
-
locations
public static final MediaSortField locations
-
memberofCount
public static final MediaSortField memberofCount
-
episodeofCount
public static final MediaSortField episodeofCount
-
scheduleEventsCount
public static final MediaSortField scheduleEventsCount
-
firstScheduleEvent
public static final MediaSortField firstScheduleEvent
-
firstScheduleEventNoRerun
public static final MediaSortField firstScheduleEventNoRerun
-
lastScheduleEvent
public static final MediaSortField lastScheduleEvent
-
lastScheduleEventNoRerun
public static final MediaSortField lastScheduleEventNoRerun
-
-
Method Detail
-
values
public static MediaSortField[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MediaSortField c : MediaSortField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaSortField valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
type
public SortField.Type type()
-
valueOfNullable
public static MediaSortField valueOfNullable(String string)
-
valueOf
public static MediaSortField valueOf(MediaSortField sortTitle, nl.vpro.domain.media.support.OwnerType ownerType)
-
-