public enum TrafficSpecialMeasures extends Enum<TrafficSpecialMeasures>
Clase Java para TrafficSpecialMeasures.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="TrafficSpecialMeasures">
<restriction base="{http://www.w3.org/2001/XMLSchema}int">
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NEITHER |
OTHER_MEASURE |
REVERSIBLE_LANE |
SHOULDER |
| Modifier and Type | Method and Description |
|---|---|
static TrafficSpecialMeasures |
fromValue(int v) |
int |
value() |
static TrafficSpecialMeasures |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficSpecialMeasures[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficSpecialMeasures REVERSIBLE_LANE
public static final TrafficSpecialMeasures SHOULDER
public static final TrafficSpecialMeasures OTHER_MEASURE
public static final TrafficSpecialMeasures NEITHER
public static TrafficSpecialMeasures[] values()
for (TrafficSpecialMeasures c : TrafficSpecialMeasures.values()) System.out.println(c);
public static TrafficSpecialMeasures 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 int value()
public static TrafficSpecialMeasures fromValue(int v)
Copyright © 2018. All rights reserved.