public enum SeverityEnum extends Enum<SeverityEnum>
Java class for SeverityEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SeverityEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="highest"/>
<enumeration value="high"/>
<enumeration value="medium"/>
<enumeration value="low"/>
<enumeration value="lowest"/>
<enumeration value="none"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
HIGH |
HIGHEST |
LOW |
LOWEST |
MEDIUM |
NONE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static SeverityEnum |
fromValue(String v) |
String |
value() |
static SeverityEnum |
valueOf(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 HIGHEST
public static final SeverityEnum HIGH
public static final SeverityEnum MEDIUM
public static final SeverityEnum LOW
public static final SeverityEnum LOWEST
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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static SeverityEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.