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