public static enum MsgType.Type extends Enum<MsgType.Type>
| Enum Constant and Description |
|---|
EMERGENCY |
MOBILE |
PERSONAL |
VACATION |
WORK |
| Modifier and Type | Method and Description |
|---|---|
String |
uri() |
static MsgType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MsgType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsgType.Type PERSONAL
public static final MsgType.Type WORK
public static final MsgType.Type MOBILE
public static final MsgType.Type VACATION
public static final MsgType.Type EMERGENCY
private String uri
public static MsgType.Type[] values()
for (MsgType.Type c : MsgType.Type.values()) System.out.println(c);
public static MsgType.Type 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 uri()
Copyright © 1999–2015. All rights reserved.