Package nl.vpro.domain.media
Enum RoleType
- java.lang.Object
-
- java.lang.Enum<RoleType>
-
- nl.vpro.domain.media.RoleType
-
- All Implemented Interfaces:
Serializable
,Comparable<RoleType>
,Displayable
public enum RoleType extends Enum<RoleType> implements Displayable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTOR
ASSISTANT_DIRECTOR
Supported by bindincCAMERA
Supported by bindincCHIEF_EDITOR
CHOREOGRAPHY
Supported by bindincCOMMENTATOR
COMPOSER
DIRECTOR
DUBBING
Supported by bindincEDITOR
GUEST
INTERVIEWER
MAKEUP
Supported by bindincNEWS_PRESENTER
For radio shows this seems usefulPARTICIPANT
See https://jira.vpro.nl/browse/MSE-4371PRESENTER
PRODUCER
PRODUCTION_MANAGEMENT
Supported by bindincREPORTER
RESEARCH
SCRIPTWRITER
SIDEKICK
For radio shows this seems usefulSTAGING
Supported by bindincSTUNT
Supported by bindincSUBJECT
https://jira.vpro.nl/browse/MSE-4371UNDEFINED
VISUAL_EFFECTS
Supported by bindinc
-
Field Summary
-
Fields inherited from interface nl.vpro.i18n.Displayable
NULL
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
display()
static RoleType
fromToString(String string)
String
getDisplayName()
Optional<LocalizedString>
getPluralDisplayName()
String
getRole()
String
getString()
String
toString()
static RoleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RoleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Methods inherited from interface nl.vpro.i18n.Displayable
getDisplayName, getIcon, getIconClass, getPluralDisplayName
-
-
-
-
Enum Constant Detail
-
DIRECTOR
public static final RoleType DIRECTOR
-
CHIEF_EDITOR
public static final RoleType CHIEF_EDITOR
-
EDITOR
public static final RoleType EDITOR
-
PRESENTER
public static final RoleType PRESENTER
-
INTERVIEWER
public static final RoleType INTERVIEWER
-
PRODUCER
public static final RoleType PRODUCER
-
RESEARCH
public static final RoleType RESEARCH
-
GUEST
public static final RoleType GUEST
-
REPORTER
public static final RoleType REPORTER
-
ACTOR
public static final RoleType ACTOR
-
COMMENTATOR
public static final RoleType COMMENTATOR
-
COMPOSER
public static final RoleType COMPOSER
-
SCRIPTWRITER
public static final RoleType SCRIPTWRITER
-
NEWS_PRESENTER
public static final RoleType NEWS_PRESENTER
For radio shows this seems useful- Since:
- 5.8
-
SIDEKICK
public static final RoleType SIDEKICK
For radio shows this seems useful- Since:
- 5.9
-
SUBJECT
public static final RoleType SUBJECT
https://jira.vpro.nl/browse/MSE-4371- Since:
- 5.11
-
PARTICIPANT
public static final RoleType PARTICIPANT
See https://jira.vpro.nl/browse/MSE-4371- Since:
- 5.11
-
ASSISTANT_DIRECTOR
public static final RoleType ASSISTANT_DIRECTOR
Supported by bindinc- Since:
- 5.20
-
CAMERA
public static final RoleType CAMERA
Supported by bindinc- Since:
- 5.20
-
CHOREOGRAPHY
public static final RoleType CHOREOGRAPHY
Supported by bindinc- Since:
- 5.20
-
DUBBING
public static final RoleType DUBBING
Supported by bindinc- Since:
- 5.20
-
MAKEUP
public static final RoleType MAKEUP
Supported by bindinc- Since:
- 5.20
-
PRODUCTION_MANAGEMENT
public static final RoleType PRODUCTION_MANAGEMENT
Supported by bindinc- Since:
- 5.20
-
STAGING
public static final RoleType STAGING
Supported by bindinc- Since:
- 5.20
-
STUNT
public static final RoleType STUNT
Supported by bindinc- Since:
- 5.20
-
VISUAL_EFFECTS
public static final RoleType VISUAL_EFFECTS
Supported by bindinc- Since:
- 5.20
-
UNDEFINED
public static final RoleType UNDEFINED
-
-
Method Detail
-
values
public static RoleType[] 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 (RoleType c : RoleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoleType 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
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceDisplayable
-
getPluralDisplayName
public Optional<LocalizedString> getPluralDisplayName()
- Specified by:
getPluralDisplayName
in interfaceDisplayable
-
display
public boolean display()
- Specified by:
display
in interfaceDisplayable
-
getString
public String getString()
-
getRole
public String getRole()
-
-