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