Enum EntityTypeDto

    • Enum Constant Detail

      • RESERVED

        public static final EntityTypeDto RESERVED
        reserved entity type.
      • NEMESIS_BLOCK_HEADER

        public static final EntityTypeDto NEMESIS_BLOCK_HEADER
        Nemesis block header.
      • NORMAL_BLOCK_HEADER

        public static final EntityTypeDto NORMAL_BLOCK_HEADER
        Normal block header.
      • IMPORTANCE_BLOCK_HEADER

        public static final EntityTypeDto IMPORTANCE_BLOCK_HEADER
        Importance block header.
      • ACCOUNT_KEY_LINK_TRANSACTION

        public static final EntityTypeDto ACCOUNT_KEY_LINK_TRANSACTION
        Account key link transaction.
      • NODE_KEY_LINK_TRANSACTION

        public static final EntityTypeDto NODE_KEY_LINK_TRANSACTION
        Node key link transaction.
      • AGGREGATE_COMPLETE_TRANSACTION

        public static final EntityTypeDto AGGREGATE_COMPLETE_TRANSACTION
        Aggregate complete transaction.
      • AGGREGATE_BONDED_TRANSACTION

        public static final EntityTypeDto AGGREGATE_BONDED_TRANSACTION
        Aggregate bonded transaction.
      • VOTING_KEY_LINK_TRANSACTION

        public static final EntityTypeDto VOTING_KEY_LINK_TRANSACTION
        Voting key link transaction.
      • VOTING_KEY_LINK_V1_TRANSACTION

        public static final EntityTypeDto VOTING_KEY_LINK_V1_TRANSACTION
        Voting key link v1 transaction.
      • VRF_KEY_LINK_TRANSACTION

        public static final EntityTypeDto VRF_KEY_LINK_TRANSACTION
        Vrf key link transaction.
      • HASH_LOCK_TRANSACTION

        public static final EntityTypeDto HASH_LOCK_TRANSACTION
        Hash lock transaction.
      • SECRET_LOCK_TRANSACTION

        public static final EntityTypeDto SECRET_LOCK_TRANSACTION
        Secret lock transaction.
      • SECRET_PROOF_TRANSACTION

        public static final EntityTypeDto SECRET_PROOF_TRANSACTION
        Secret proof transaction.
      • ACCOUNT_METADATA_TRANSACTION

        public static final EntityTypeDto ACCOUNT_METADATA_TRANSACTION
        Account metadata transaction.
      • MOSAIC_METADATA_TRANSACTION

        public static final EntityTypeDto MOSAIC_METADATA_TRANSACTION
        Mosaic metadata transaction.
      • NAMESPACE_METADATA_TRANSACTION

        public static final EntityTypeDto NAMESPACE_METADATA_TRANSACTION
        Namespace metadata transaction.
      • MOSAIC_DEFINITION_TRANSACTION

        public static final EntityTypeDto MOSAIC_DEFINITION_TRANSACTION
        Mosaic definition transaction.
      • MOSAIC_SUPPLY_CHANGE_TRANSACTION

        public static final EntityTypeDto MOSAIC_SUPPLY_CHANGE_TRANSACTION
        Mosaic supply change transaction.
      • MULTISIG_ACCOUNT_MODIFICATION_TRANSACTION

        public static final EntityTypeDto MULTISIG_ACCOUNT_MODIFICATION_TRANSACTION
        Multisig account modification transaction.
      • ADDRESS_ALIAS_TRANSACTION

        public static final EntityTypeDto ADDRESS_ALIAS_TRANSACTION
        Address alias transaction.
      • MOSAIC_ALIAS_TRANSACTION

        public static final EntityTypeDto MOSAIC_ALIAS_TRANSACTION
        Mosaic alias transaction.
      • NAMESPACE_REGISTRATION_TRANSACTION

        public static final EntityTypeDto NAMESPACE_REGISTRATION_TRANSACTION
        Namespace registration transaction.
      • ACCOUNT_ADDRESS_RESTRICTION_TRANSACTION

        public static final EntityTypeDto ACCOUNT_ADDRESS_RESTRICTION_TRANSACTION
        Account address restriction transaction.
      • ACCOUNT_MOSAIC_RESTRICTION_TRANSACTION

        public static final EntityTypeDto ACCOUNT_MOSAIC_RESTRICTION_TRANSACTION
        Account mosaic restriction transaction.
      • ACCOUNT_OPERATION_RESTRICTION_TRANSACTION

        public static final EntityTypeDto ACCOUNT_OPERATION_RESTRICTION_TRANSACTION
        Account operation restriction transaction.
      • MOSAIC_ADDRESS_RESTRICTION_TRANSACTION

        public static final EntityTypeDto MOSAIC_ADDRESS_RESTRICTION_TRANSACTION
        Mosaic address restriction transaction.
      • MOSAIC_GLOBAL_RESTRICTION_TRANSACTION

        public static final EntityTypeDto MOSAIC_GLOBAL_RESTRICTION_TRANSACTION
        Mosaic global restriction transaction.
      • TRANSFER_TRANSACTION

        public static final EntityTypeDto TRANSFER_TRANSACTION
        Transfer transaction.
    • 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 name
        java.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:
        getSize in interface Serializer
        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:
        serialize in interface Serializer
        Returns:
        Serialized bytes.