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