Package nl.vpro.domain.media.support
Enum Class TextualType
- All Implemented Interfaces:
Serializable
,Comparable<TextualType>
,Constable
Some textual values can have multiple types, and are stored in the same collection.
E.g. main titles, sub titles.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
value()
static TextualType
Returns the enum constant of this class with the specified name.static TextualType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAIN
The main text. For aProgramType.BROADCAST
this may be the title of the program (the title of the series?) -
LONG
A long description -
SHORT
-
SUB
A sub text. This may be the descriptive title of a broadcast if it is an episode of a series. -
EPISODE
Deprecated.UseSUB
-
ORIGINAL
If the program was translated, this may contain one text in the original language. -
KICKER
-
LEXICO
-
WORK
-
ABBREVIATION
-
-
Field Details
-
TITLES
-
DESCRIPTIONS
-
-
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
-
isDeprecated
public boolean isDeprecated() -
value
-
fromValue
-
SUB