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