public enum AccountOperationRestrictionFlags extends java.lang.Enum<AccountOperationRestrictionFlags> implements AccountRestrictionFlags
AccountRestrictionFlag
that creates a AccountOperationRestrictionFlags
.
Type of account restriction types:
0x4004 (16388 decimal) - Allow only outgoing transactions with a given transaction type.
0xC004 (49156 decimal) - Block outgoing transactions with a given transaction type.
Enum Constant and Description |
---|
ALLOW_OUTGOING_TRANSACTION_TYPE
Allow only outgoing transactions of a given type.
|
BLOCK_OUTGOING_TRANSACTION_TYPE
Block outgoing transactions for a given transactionType.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AccountRestrictionFlag> |
getFlags() |
AccountRestrictionTargetType |
getTargetType() |
int |
getValue()
Returns enum value.
|
static AccountOperationRestrictionFlags |
rawValueOf(int value)
Gets enum value.
|
static AccountOperationRestrictionFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountOperationRestrictionFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final AccountOperationRestrictionFlags ALLOW_OUTGOING_TRANSACTION_TYPE
public static final AccountOperationRestrictionFlags BLOCK_OUTGOING_TRANSACTION_TYPE
public static AccountOperationRestrictionFlags[] values()
for (AccountOperationRestrictionFlags c : AccountOperationRestrictionFlags.values()) System.out.println(c);
values
in interface AccountRestrictionFlags
public static AccountOperationRestrictionFlags 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 static AccountOperationRestrictionFlags rawValueOf(int value)
rawValueOf
in interface AccountRestrictionFlags
value
- Raw value of the enum.public int getValue()
getValue
in interface AccountRestrictionFlags
public java.util.List<AccountRestrictionFlag> getFlags()
getFlags
in interface AccountRestrictionFlags
public AccountRestrictionTargetType getTargetType()
getTargetType
in interface AccountRestrictionFlags