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