public enum StandardPriority extends java.lang.Enum<StandardPriority> implements IPriority, IEnumType
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
asInteger()
Returns the integer representation of the implementing object.
|
java.lang.String |
asString()
Returns the name of the enum value.
|
int |
getValue() |
java.lang.String |
toString() |
static StandardPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandardPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
getDeclaringClass, name, ordinal
public static final StandardPriority LOWEST
public static final StandardPriority LOW
public static final StandardPriority MEDIUM
public static final StandardPriority HIGH
public static final StandardPriority HIGHEST
public static StandardPriority[] values()
for (StandardPriority c : StandardPriority.values()) System.out.println(c);
public static StandardPriority valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Integer asInteger()
IIntegerRepresentation
asInteger
in interface IIntegerRepresentation
public java.lang.String asString()
asString
in interface IStringRepresentation
public int getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<StandardPriority>