public static enum AuthRepository.AccountStatus extends Enum<AuthRepository.AccountStatus>
Enum Constant and Description |
---|
active |
disabled |
paid |
pending |
system |
vip |
Modifier and Type | Method and Description |
---|---|
static AuthRepository.AccountStatus |
byValue(int value) |
int |
getValue() |
static AuthRepository.AccountStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthRepository.AccountStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthRepository.AccountStatus active
public static final AuthRepository.AccountStatus disabled
public static final AuthRepository.AccountStatus pending
public static final AuthRepository.AccountStatus system
public static final AuthRepository.AccountStatus vip
public static final AuthRepository.AccountStatus paid
public static AuthRepository.AccountStatus[] values()
for (AuthRepository.AccountStatus c : AuthRepository.AccountStatus.values()) System.out.println(c);
public static AuthRepository.AccountStatus 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 AuthRepository.AccountStatus byValue(int value)
public int getValue()
Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.