public enum DrivingConditionTypeEnum extends java.lang.Enum<DrivingConditionTypeEnum>
Java class for DrivingConditionTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DrivingConditionTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="hazardous"/> </restriction> </simpleType>
Enum Constant and Description |
---|
HAZARDOUS
Driving conditions are hazardous due to environmental conditions.
|
Modifier and Type | Method and Description |
---|---|
static DrivingConditionTypeEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static DrivingConditionTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrivingConditionTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrivingConditionTypeEnum HAZARDOUS
public static DrivingConditionTypeEnum[] values()
for (DrivingConditionTypeEnum c : DrivingConditionTypeEnum.values()) System.out.println(c);
public static DrivingConditionTypeEnum 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 DrivingConditionTypeEnum fromValue(java.lang.String v)