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