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