public enum InvolvementRolesEnum extends Enum<InvolvementRolesEnum>
Java class for InvolvementRolesEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InvolvementRolesEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="cyclist"/>
<enumeration value="pedestrian"/>
<enumeration value="unknown"/>
<enumeration value="vehicleDriver"/>
<enumeration value="vehicleOccupant"/>
<enumeration value="vehiclePassenger"/>
<enumeration value="witness"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CYCLIST |
PEDESTRIAN |
UNKNOWN |
VEHICLE_DRIVER |
VEHICLE_OCCUPANT |
VEHICLE_PASSENGER |
WITNESS |
| Modifier and Type | Method and Description |
|---|---|
static InvolvementRolesEnum |
fromValue(String v) |
String |
value() |
static InvolvementRolesEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvolvementRolesEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvolvementRolesEnum CYCLIST
public static final InvolvementRolesEnum PEDESTRIAN
public static final InvolvementRolesEnum UNKNOWN
public static final InvolvementRolesEnum VEHICLE_DRIVER
public static final InvolvementRolesEnum VEHICLE_OCCUPANT
public static final InvolvementRolesEnum VEHICLE_PASSENGER
public static final InvolvementRolesEnum WITNESS
public static InvolvementRolesEnum[] values()
for (InvolvementRolesEnum c : InvolvementRolesEnum.values()) System.out.println(c);
public static InvolvementRolesEnum 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 InvolvementRolesEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.