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