public enum AccountStatusBO extends Enum<AccountStatusBO>
| Modifier and Type | Method and Description |
|---|---|
static Optional<AccountStatusBO> |
getByValue(String value) |
String |
getValue() |
static AccountStatusBO |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountStatusBO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountStatusBO ENABLED
public static final AccountStatusBO DELETED
public static final AccountStatusBO BLOCKED
public static AccountStatusBO[] values()
for (AccountStatusBO c : AccountStatusBO.values()) System.out.println(c);
public static AccountStatusBO 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 getValue()
public static Optional<AccountStatusBO> getByValue(String value)
Copyright © 2020. All rights reserved.