public enum AssetControlTxTypesEnum extends java.lang.Enum<AssetControlTxTypesEnum>
Enum Constant and Description |
---|
ASK_ORDER_CANCELLATION |
ASK_ORDER_PLACEMENT |
ASSET_DELETE |
ASSET_INCREASE |
ASSET_PROPERTY_DELETE |
ASSET_PROPERTY_SET |
ASSET_TRANSFER |
BID_ORDER_CANCELLATION |
BID_ORDER_PLACEMENT |
DIVIDEND_PAYMENT |
SET_ASSET_CONTROL |
SET_ASSET_TRADE_ROYALTIES |
Modifier and Type | Field and Description |
---|---|
static java.util.Set<AssetControlTxTypesEnum> |
DEFAULT_TYPES
These are the transaction types to which the first version of the Asset Control, introduced in 2.0.4, was applied.
|
Modifier and Type | Method and Description |
---|---|
static java.util.BitSet |
bitSetFromSet(java.util.Set<AssetControlTxTypesEnum> enumSet) |
static java.util.EnumSet<AssetControlTxTypesEnum> |
bitSetToSet(java.util.BitSet bs) |
static AssetControlTxTypesEnum |
getByTransactionType(TransactionType type) |
int |
getCode() |
TransactionType |
getTransactionType() |
static org.json.simple.JSONArray |
jsonArrayFromSet(java.util.Set<AssetControlTxTypesEnum> enumSet) |
static long |
longBitmaskFromSet(java.util.Set<AssetControlTxTypesEnum> enumSet) |
static java.util.EnumSet<AssetControlTxTypesEnum> |
longBitmaskToSet(long longBitmask) |
long |
toLongBitmask() |
static AssetControlTxTypesEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssetControlTxTypesEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetControlTxTypesEnum ASSET_TRANSFER
public static final AssetControlTxTypesEnum ASK_ORDER_PLACEMENT
public static final AssetControlTxTypesEnum BID_ORDER_PLACEMENT
public static final AssetControlTxTypesEnum ASK_ORDER_CANCELLATION
public static final AssetControlTxTypesEnum BID_ORDER_CANCELLATION
public static final AssetControlTxTypesEnum DIVIDEND_PAYMENT
public static final AssetControlTxTypesEnum ASSET_DELETE
public static final AssetControlTxTypesEnum ASSET_INCREASE
public static final AssetControlTxTypesEnum SET_ASSET_CONTROL
public static final AssetControlTxTypesEnum ASSET_PROPERTY_SET
public static final AssetControlTxTypesEnum ASSET_PROPERTY_DELETE
public static final AssetControlTxTypesEnum SET_ASSET_TRADE_ROYALTIES
public static final java.util.Set<AssetControlTxTypesEnum> DEFAULT_TYPES
public static AssetControlTxTypesEnum[] values()
for (AssetControlTxTypesEnum c : AssetControlTxTypesEnum.values()) System.out.println(c);
public static AssetControlTxTypesEnum 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 getCode()
public TransactionType getTransactionType()
public long toLongBitmask()
public static AssetControlTxTypesEnum getByTransactionType(TransactionType type)
public static java.util.EnumSet<AssetControlTxTypesEnum> longBitmaskToSet(long longBitmask)
public static long longBitmaskFromSet(java.util.Set<AssetControlTxTypesEnum> enumSet)
public static java.util.EnumSet<AssetControlTxTypesEnum> bitSetToSet(java.util.BitSet bs) throws NxtException.NotValidException
NxtException.NotValidException
public static java.util.BitSet bitSetFromSet(java.util.Set<AssetControlTxTypesEnum> enumSet)
public static org.json.simple.JSONArray jsonArrayFromSet(java.util.Set<AssetControlTxTypesEnum> enumSet)