public enum RequestMethodTypeEnumeration extends Enum<RequestMethodTypeEnumeration>
Java class for RequestMethodTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RequestMethodTypeEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="noneRequired"/>
<enumeration value="handSignal"/>
<enumeration value="turnOnLight"/>
<enumeration value="stopButton"/>
<enumeration value="phoneCall"/>
<enumeration value="mobileApp"/>
<enumeration value="sms"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
HAND_SIGNAL |
MOBILE_APP |
NONE_REQUIRED |
OTHER |
PHONE_CALL |
SMS |
STOP_BUTTON |
TURN_ON_LIGHT |
| Modifier and Type | Method and Description |
|---|---|
static RequestMethodTypeEnumeration |
fromValue(String v) |
String |
value() |
static RequestMethodTypeEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestMethodTypeEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestMethodTypeEnumeration NONE_REQUIRED
public static final RequestMethodTypeEnumeration HAND_SIGNAL
public static final RequestMethodTypeEnumeration TURN_ON_LIGHT
public static final RequestMethodTypeEnumeration STOP_BUTTON
public static final RequestMethodTypeEnumeration PHONE_CALL
public static final RequestMethodTypeEnumeration MOBILE_APP
public static final RequestMethodTypeEnumeration SMS
public static final RequestMethodTypeEnumeration OTHER
public static RequestMethodTypeEnumeration[] values()
for (RequestMethodTypeEnumeration c : RequestMethodTypeEnumeration.values()) System.out.println(c);
public static RequestMethodTypeEnumeration 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 RequestMethodTypeEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.