Package io.nem.symbol.catapult.builders
Enum EntityTypeDto
- java.lang.Object
-
- java.lang.Enum<EntityTypeDto>
-
- io.nem.symbol.catapult.builders.EntityTypeDto
-
- All Implemented Interfaces:
Serializer,java.io.Serializable,java.lang.Comparable<EntityTypeDto>
public enum EntityTypeDto extends java.lang.Enum<EntityTypeDto> implements Serializer
Enumeration of entity types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_ADDRESS_RESTRICTION_TRANSACTION_BUILDERAccount address restriction transaction builder.ACCOUNT_KEY_LINK_TRANSACTION_BUILDERAccount key link transaction builder.ACCOUNT_METADATA_TRANSACTION_BUILDERAccount metadata transaction builder.ACCOUNT_MOSAIC_RESTRICTION_TRANSACTION_BUILDERAccount mosaic restriction transaction builder.ACCOUNT_OPERATION_RESTRICTION_TRANSACTION_BUILDERAccount operation restriction transaction builder.ADDRESS_ALIAS_TRANSACTION_BUILDERAddress alias transaction builder.AGGREGATE_BONDED_TRANSACTION_BUILDERAggregate bonded transaction builder.AGGREGATE_COMPLETE_TRANSACTION_BUILDERAggregate complete transaction builder.HASH_LOCK_TRANSACTION_BUILDERHash lock transaction builder.MOSAIC_ADDRESS_RESTRICTION_TRANSACTION_BUILDERMosaic address restriction transaction builder.MOSAIC_ALIAS_TRANSACTION_BUILDERMosaic alias transaction builder.MOSAIC_DEFINITION_TRANSACTION_BUILDERMosaic definition transaction builder.MOSAIC_GLOBAL_RESTRICTION_TRANSACTION_BUILDERMosaic global restriction transaction builder.MOSAIC_METADATA_TRANSACTION_BUILDERMosaic metadata transaction builder.MOSAIC_SUPPLY_CHANGE_TRANSACTION_BUILDERMosaic supply change transaction builder.MULTISIG_ACCOUNT_MODIFICATION_TRANSACTION_BUILDERMultisig account modification transaction builder.NAMESPACE_METADATA_TRANSACTION_BUILDERNamespace metadata transaction builder.NAMESPACE_REGISTRATION_TRANSACTION_BUILDERNamespace registration transaction builder.NODE_KEY_LINK_TRANSACTION_BUILDERNode key link transaction builder.RESERVEDreserved entity type.SECRET_LOCK_TRANSACTION_BUILDERSecret lock transaction builder.SECRET_PROOF_TRANSACTION_BUILDERSecret proof transaction builder.TRANSFER_TRANSACTION_BUILDERTransfer transaction builder.VOTING_KEY_LINK_TRANSACTION_BUILDERVoting key link transaction builder.VRF_KEY_LINK_TRANSACTION_BUILDERVrf key link transaction builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSize()Gets the size of the object.shortgetValue()Gets the value of the enum.static EntityTypeDtoloadFromBinary(java.io.DataInputStream stream)Creates an instance of EntityTypeDto from a stream.static EntityTypeDtorawValueOf(short value)Gets enum value.byte[]serialize()Serializes an object to bytes.static EntityTypeDtovalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EntityTypeDto[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESERVED
public static final EntityTypeDto RESERVED
reserved entity type.
-
MOSAIC_DEFINITION_TRANSACTION_BUILDER
public static final EntityTypeDto MOSAIC_DEFINITION_TRANSACTION_BUILDER
Mosaic definition transaction builder.
-
ACCOUNT_KEY_LINK_TRANSACTION_BUILDER
public static final EntityTypeDto ACCOUNT_KEY_LINK_TRANSACTION_BUILDER
Account key link transaction builder.
-
NODE_KEY_LINK_TRANSACTION_BUILDER
public static final EntityTypeDto NODE_KEY_LINK_TRANSACTION_BUILDER
Node key link transaction builder.
-
AGGREGATE_COMPLETE_TRANSACTION_BUILDER
public static final EntityTypeDto AGGREGATE_COMPLETE_TRANSACTION_BUILDER
Aggregate complete transaction builder.
-
AGGREGATE_BONDED_TRANSACTION_BUILDER
public static final EntityTypeDto AGGREGATE_BONDED_TRANSACTION_BUILDER
Aggregate bonded transaction builder.
-
VOTING_KEY_LINK_TRANSACTION_BUILDER
public static final EntityTypeDto VOTING_KEY_LINK_TRANSACTION_BUILDER
Voting key link transaction builder.
-
VRF_KEY_LINK_TRANSACTION_BUILDER
public static final EntityTypeDto VRF_KEY_LINK_TRANSACTION_BUILDER
Vrf key link transaction builder.
-
HASH_LOCK_TRANSACTION_BUILDER
public static final EntityTypeDto HASH_LOCK_TRANSACTION_BUILDER
Hash lock transaction builder.
-
SECRET_LOCK_TRANSACTION_BUILDER
public static final EntityTypeDto SECRET_LOCK_TRANSACTION_BUILDER
Secret lock transaction builder.
-
SECRET_PROOF_TRANSACTION_BUILDER
public static final EntityTypeDto SECRET_PROOF_TRANSACTION_BUILDER
Secret proof transaction builder.
-
ACCOUNT_METADATA_TRANSACTION_BUILDER
public static final EntityTypeDto ACCOUNT_METADATA_TRANSACTION_BUILDER
Account metadata transaction builder.
-
MOSAIC_METADATA_TRANSACTION_BUILDER
public static final EntityTypeDto MOSAIC_METADATA_TRANSACTION_BUILDER
Mosaic metadata transaction builder.
-
NAMESPACE_METADATA_TRANSACTION_BUILDER
public static final EntityTypeDto NAMESPACE_METADATA_TRANSACTION_BUILDER
Namespace metadata transaction builder.
-
MOSAIC_SUPPLY_CHANGE_TRANSACTION_BUILDER
public static final EntityTypeDto MOSAIC_SUPPLY_CHANGE_TRANSACTION_BUILDER
Mosaic supply change transaction builder.
-
MULTISIG_ACCOUNT_MODIFICATION_TRANSACTION_BUILDER
public static final EntityTypeDto MULTISIG_ACCOUNT_MODIFICATION_TRANSACTION_BUILDER
Multisig account modification transaction builder.
-
ADDRESS_ALIAS_TRANSACTION_BUILDER
public static final EntityTypeDto ADDRESS_ALIAS_TRANSACTION_BUILDER
Address alias transaction builder.
-
MOSAIC_ALIAS_TRANSACTION_BUILDER
public static final EntityTypeDto MOSAIC_ALIAS_TRANSACTION_BUILDER
Mosaic alias transaction builder.
-
NAMESPACE_REGISTRATION_TRANSACTION_BUILDER
public static final EntityTypeDto NAMESPACE_REGISTRATION_TRANSACTION_BUILDER
Namespace registration transaction builder.
-
ACCOUNT_ADDRESS_RESTRICTION_TRANSACTION_BUILDER
public static final EntityTypeDto ACCOUNT_ADDRESS_RESTRICTION_TRANSACTION_BUILDER
Account address restriction transaction builder.
-
ACCOUNT_MOSAIC_RESTRICTION_TRANSACTION_BUILDER
public static final EntityTypeDto ACCOUNT_MOSAIC_RESTRICTION_TRANSACTION_BUILDER
Account mosaic restriction transaction builder.
-
ACCOUNT_OPERATION_RESTRICTION_TRANSACTION_BUILDER
public static final EntityTypeDto ACCOUNT_OPERATION_RESTRICTION_TRANSACTION_BUILDER
Account operation restriction transaction builder.
-
MOSAIC_ADDRESS_RESTRICTION_TRANSACTION_BUILDER
public static final EntityTypeDto MOSAIC_ADDRESS_RESTRICTION_TRANSACTION_BUILDER
Mosaic address restriction transaction builder.
-
MOSAIC_GLOBAL_RESTRICTION_TRANSACTION_BUILDER
public static final EntityTypeDto MOSAIC_GLOBAL_RESTRICTION_TRANSACTION_BUILDER
Mosaic global restriction transaction builder.
-
TRANSFER_TRANSACTION_BUILDER
public static final EntityTypeDto TRANSFER_TRANSACTION_BUILDER
Transfer transaction builder.
-
-
Method Detail
-
values
public static EntityTypeDto[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityTypeDto c : EntityTypeDto.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityTypeDto valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
rawValueOf
public static EntityTypeDto rawValueOf(short value)
Gets enum value.- Parameters:
value- Raw value of the enum.- Returns:
- Enum value.
-
getSize
public int getSize()
Gets the size of the object.- Specified by:
getSizein interfaceSerializer- Returns:
- Size in bytes.
-
getValue
public short getValue()
Gets the value of the enum.- Returns:
- Value of the enum.
-
loadFromBinary
public static EntityTypeDto loadFromBinary(java.io.DataInputStream stream)
Creates an instance of EntityTypeDto from a stream.- Parameters:
stream- Byte stream to use to serialize the object.- Returns:
- Instance of EntityTypeDto.
-
serialize
public byte[] serialize()
Serializes an object to bytes.- Specified by:
serializein interfaceSerializer- Returns:
- Serialized bytes.
-
-