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