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