Package nl.vpro.domain.media.search
Enum Class MediaSortField
- All Implemented Interfaces:
Serializable
,Comparable<MediaSortField>
,java.lang.constant.Constable
,SortField
- Since:
- 5.0
- Author:
- Michiel Meeuwissen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface nl.vpro.domain.media.search.SortField
SortField.Type
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionfield()
type()
static MediaSortField
Returns the enum constant of this class 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 class, in the order they are declared.
-
Enum Constant Details
-
sortTitle
-
sortTitle_NPO
-
mid
-
type
-
mediaType
-
sortDate
-
lastModified
-
creationDate
-
publishStop
-
publishStart
-
lastPublished
-
lastModifiedBy
-
createdBy
-
locations
-
memberofCount
-
episodeofCount
-
scheduleEventsCount
-
firstScheduleEvent
-
firstScheduleEventNoRerun
-
lastScheduleEvent
-
lastScheduleEventNoRerun
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
type
-
field
-
sortField
-
valueOfNullable
-
valueOf
public static MediaSortField valueOf(MediaSortField sortTitle, nl.vpro.domain.media.support.OwnerType ownerType)
-