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