public enum PriorityRegulatedBy extends Enum<PriorityRegulatedBy>
Clase Java para PriorityRegulatedBy.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="PriorityRegulatedBy">
<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"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AGENT |
NEITHER |
ONLY_HORIZONTAL_SIGNALS |
OTHER_SIGNALS |
PEDESTRIAN_CROSSING |
STOP |
TRAFFIC_LIGTH |
YIELD_SIGN |
| Modifier and Type | Method and Description |
|---|---|
static PriorityRegulatedBy |
fromValue(int v) |
int |
value() |
static PriorityRegulatedBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PriorityRegulatedBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PriorityRegulatedBy AGENT
public static final PriorityRegulatedBy TRAFFIC_LIGTH
public static final PriorityRegulatedBy STOP
public static final PriorityRegulatedBy YIELD_SIGN
public static final PriorityRegulatedBy ONLY_HORIZONTAL_SIGNALS
public static final PriorityRegulatedBy PEDESTRIAN_CROSSING
public static final PriorityRegulatedBy OTHER_SIGNALS
public static final PriorityRegulatedBy NEITHER
public static PriorityRegulatedBy[] values()
for (PriorityRegulatedBy c : PriorityRegulatedBy.values()) System.out.println(c);
public static PriorityRegulatedBy 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 PriorityRegulatedBy fromValue(int v)
Copyright © 2018. All rights reserved.