public enum PassageTypeEnumeration extends Enum<PassageTypeEnumeration>
Java class for PassageTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PassageTypeEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="pathway"/>
<enumeration value="corridor"/>
<enumeration value="overpass"/>
<enumeration value="underpass"/>
<enumeration value="tunnel"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CORRIDOR |
NONE |
OTHER |
OVERPASS |
PATHWAY |
TUNNEL |
UNDERPASS |
| Modifier and Type | Method and Description |
|---|---|
static PassageTypeEnumeration |
fromValue(String v) |
String |
value() |
static PassageTypeEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PassageTypeEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PassageTypeEnumeration NONE
public static final PassageTypeEnumeration PATHWAY
public static final PassageTypeEnumeration CORRIDOR
public static final PassageTypeEnumeration OVERPASS
public static final PassageTypeEnumeration UNDERPASS
public static final PassageTypeEnumeration TUNNEL
public static final PassageTypeEnumeration OTHER
public static PassageTypeEnumeration[] values()
for (PassageTypeEnumeration c : PassageTypeEnumeration.values()) System.out.println(c);
public static PassageTypeEnumeration 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 String value()
public static PassageTypeEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.