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