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