public static enum ResultReason.Reason extends java.lang.Enum<ResultReason.Reason>
Enum Constant and Description |
---|
CAFE_ITEM_NAME |
EMAIL |
PHONE_NUMBER |
RESOURCE |
ROOM_ALTERNATE_NAME |
ROOM_FORMATTED_NUMBER |
ROOM_NUMBER |
STAFF |
Modifier and Type | Method and Description |
---|---|
int |
getLocalisedReason() |
static ResultReason.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultReason.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultReason.Reason PHONE_NUMBER
public static final ResultReason.Reason STAFF
public static final ResultReason.Reason ROOM_NUMBER
public static final ResultReason.Reason ROOM_FORMATTED_NUMBER
public static final ResultReason.Reason ROOM_ALTERNATE_NAME
public static final ResultReason.Reason CAFE_ITEM_NAME
public static final ResultReason.Reason RESOURCE
public static final ResultReason.Reason EMAIL
public static ResultReason.Reason[] values()
for (ResultReason.Reason c : ResultReason.Reason.values()) System.out.println(c);
public static ResultReason.Reason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@StringRes public int getLocalisedReason()
ResultReason
.