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