public static enum AuthService.AgeAuthLevel extends Enum<AuthService.AgeAuthLevel>
Modifier and Type | Method and Description |
---|---|
static AuthService.AgeAuthLevel |
convertByName(String name) |
String |
getName() |
String |
getValue() |
static AuthService.AgeAuthLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthService.AgeAuthLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthService.AgeAuthLevel LEVEL_1
public static final AuthService.AgeAuthLevel LEVEL_2
public static AuthService.AgeAuthLevel convertByName(String name)
public String getName()
public String getValue()
public static AuthService.AgeAuthLevel 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 AuthService.AgeAuthLevel[] values()
for (AuthService.AgeAuthLevel c : AuthService.AgeAuthLevel.values()) System.out.println(c);