public enum InjuryLocation extends Enum<InjuryLocation>
Clase Java para InjuryLocation.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="InjuryLocation">
<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"/>
<enumeration value="6"/>
<enumeration value="7"/>
<enumeration value="8"/>
<enumeration value="9"/>
<enumeration value="10"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ABDOMEN |
BACK |
CHEST |
FACE |
HEAD |
IGNORED |
LOWER_LIMBS |
NECK |
NO_DATA |
UPPER_LIMBS |
WHOLE_BODY |
| Modifier and Type | Method and Description |
|---|---|
static InjuryLocation |
fromValue(int v) |
int |
value() |
static InjuryLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InjuryLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InjuryLocation NO_DATA
public static final InjuryLocation HEAD
public static final InjuryLocation FACE
public static final InjuryLocation NECK
public static final InjuryLocation CHEST
public static final InjuryLocation BACK
public static final InjuryLocation ABDOMEN
public static final InjuryLocation UPPER_LIMBS
public static final InjuryLocation LOWER_LIMBS
public static final InjuryLocation WHOLE_BODY
public static final InjuryLocation IGNORED
public static InjuryLocation[] values()
for (InjuryLocation c : InjuryLocation.values()) System.out.println(c);
public static InjuryLocation 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 InjuryLocation fromValue(int v)
Copyright © 2018. All rights reserved.