public enum SeverityEnum extends java.lang.Enum<SeverityEnum>
Java-Klasse für SeverityEnum.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<simpleType name="SeverityEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="high"/>
<enumeration value="medium"/>
<enumeration value="low"/>
<enumeration value="none"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
HIGH
Perceived by supplier as being of a high level.
|
LOW
Perceived by supplier as being of a low level.
|
MEDIUM
Perceived by supplier as being of a medium level.
|
NONE
Perceived by supplier as having a severity rating of none.
|
UNKNOWN
Perceived by supplier as being of an unknown level.
|
| Modifier and Type | Method and Description |
|---|---|
static SeverityEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static SeverityEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SeverityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeverityEnum HIGH
public static final SeverityEnum MEDIUM
public static final SeverityEnum LOW
public static final SeverityEnum NONE
public static final SeverityEnum UNKNOWN
public static SeverityEnum[] values()
for (SeverityEnum c : SeverityEnum.values()) System.out.println(c);
public static SeverityEnum 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.String value()
public static SeverityEnum fromValue(java.lang.String v)