Package nl.vpro.domain.media.gtaa
Enum GTAAStatus
- java.lang.Object
-
- java.lang.Enum<GTAAStatus>
-
- nl.vpro.domain.media.gtaa.GTAAStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<GTAAStatus>
,Displayable
public enum GTAAStatus extends Enum<GTAAStatus> implements Displayable
- Since:
- 5.11
- Author:
- Michiel Meeuwissen
-
-
Enum Constant Summary
Enum Constants Enum Constant Description approved
candidate
deleted
not_compliant
obsolete
redirected
rejected
-
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 String
getDisplayName()
static GTAAStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static GTAAStatus[]
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, toString, valueOf
-
Methods inherited from interface nl.vpro.i18n.Displayable
display, getDisplayName, getIcon, getIconClass, getPluralDisplayName, getPluralDisplayName
-
-
-
-
Enum Constant Detail
-
candidate
public static final GTAAStatus candidate
-
approved
public static final GTAAStatus approved
-
redirected
public static final GTAAStatus redirected
-
not_compliant
public static final GTAAStatus not_compliant
-
rejected
public static final GTAAStatus rejected
-
obsolete
public static final GTAAStatus obsolete
-
deleted
public static final GTAAStatus deleted
-
-
Method Detail
-
values
public static GTAAStatus[] 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 (GTAAStatus c : GTAAStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GTAAStatus 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
-
-