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