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