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