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