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