public enum AccountFlag extends java.lang.Enum<AccountFlag>
enum
that can be used in SetOptionsOperation
.Enum Constant and Description |
---|
AUTH_IMMUTABLE_FLAG
Authorization immutable (0x4): If this is set then none of the authorization flags can be set and the account can never be deleted.
|
AUTH_REQUIRED_FLAG
Authorization required (0x1): Requires the issuing account to give other accounts permission before they can hold the issuing account’s credit.
|
AUTH_REVOCABLE_FLAG
Authorization revocable (0x2): Allows the issuing account to revoke its credit held by other accounts.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static AccountFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountFlag AUTH_REQUIRED_FLAG
public static final AccountFlag AUTH_REVOCABLE_FLAG
public static final AccountFlag AUTH_IMMUTABLE_FLAG
public static AccountFlag[] values()
for (AccountFlag c : AccountFlag.values()) System.out.println(c);
public static AccountFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()