public enum ERole extends Enum<ERole>
| Modifier and Type | Method and Description |
|---|---|
static ERole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ERole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ERole MANAGER
public static final ERole MEMBER
public static final ERole VIEWER
public static ERole[] values()
for (ERole c : ERole.values()) System.out.println(c);
public static ERole 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 nullCopyright © 2019 Communote team. All rights reserved.