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