public static enum UserId.Type extends Enum<UserId.Type>
| Modifier and Type | Method and Description |
|---|---|
static UserId.Type |
jsonValueOf(String jsonType)
Return the Type enum value given a specific jsonType
|
static UserId.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserId.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserId.Type me
public static final UserId.Type viewer
public static final UserId.Type owner
public static final UserId.Type userId
public static UserId.Type[] values()
for (UserId.Type c : UserId.Type.values()) System.out.println(c);
public static UserId.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 static UserId.Type jsonValueOf(String jsonType)
Copyright © 2007-2012. All Rights Reserved.