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