Package nxt.ae
Enum Class AssetControlTxTypesEnum
- All Implemented Interfaces:
Serializable,Comparable<AssetControlTxTypesEnum>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Set<AssetControlTxTypesEnum>These are the transaction types to which the first version of the Asset Control, introduced in 2.0.4, was applied. -
Method Summary
Modifier and TypeMethodDescriptionstatic BitSetbitSetFromSet(Set<AssetControlTxTypesEnum> enumSet) static EnumSet<AssetControlTxTypesEnum>bitSetToSet(BitSet bs) static AssetControlTxTypesEnumintgetCode()static org.json.simple.JSONArrayjsonArrayFromSet(Set<AssetControlTxTypesEnum> enumSet) static longlongBitmaskFromSet(Set<AssetControlTxTypesEnum> enumSet) static EnumSet<AssetControlTxTypesEnum>longBitmaskToSet(long longBitmask) longstatic AssetControlTxTypesEnumReturns the enum constant of this class with the specified name.static AssetControlTxTypesEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASSET_TRANSFER
-
ASK_ORDER_PLACEMENT
-
BID_ORDER_PLACEMENT
-
ASK_ORDER_CANCELLATION
-
BID_ORDER_CANCELLATION
-
DIVIDEND_PAYMENT
-
ASSET_DELETE
-
ASSET_INCREASE
-
SET_ASSET_CONTROL
-
ASSET_PROPERTY_SET
-
ASSET_PROPERTY_DELETE
-
SET_ASSET_TRADE_ROYALTIES
-
-
Field Details
-
DEFAULT_TYPES
These are the transaction types to which the first version of the Asset Control, introduced in 2.0.4, was applied.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode() -
getTransactionType
-
toLongBitmask
public long toLongBitmask() -
getByTransactionType
-
longBitmaskToSet
-
longBitmaskFromSet
-
bitSetToSet
public static EnumSet<AssetControlTxTypesEnum> bitSetToSet(BitSet bs) throws NxtException.NotValidException - Throws:
NxtException.NotValidException
-
bitSetFromSet
-
jsonArrayFromSet
-