Enum EntityTypeDto

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EntityTypeDto>

    public enum EntityTypeDto
    extends java.lang.Enum<EntityTypeDto>
    enumeration of entity types.
    • Enum Constant Detail

      • RESERVED

        public static final EntityTypeDto RESERVED
        reserved entity type.
      • 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.
      • ACCOUNT_LINK_TRANSACTION

        public static final EntityTypeDto ACCOUNT_LINK_TRANSACTION
        Account link transaction.
      • ACCOUNT_METADATA_TRANSACTION

        public static final EntityTypeDto ACCOUNT_METADATA_TRANSACTION
        Account metadata transaction version
      • MOSAIC_METADATA_TRANSACTION

        public static final EntityTypeDto MOSAIC_METADATA_TRANSACTION
        Mosaic metadata transaction version
      • NAMESPACE_METADATA_TRANSACTION

        public static final EntityTypeDto NAMESPACE_METADATA_TRANSACTION
        Namespace metadata transaction version
      • ADDRESS_ALIAS_TRANSACTION

        public static final EntityTypeDto ADDRESS_ALIAS_TRANSACTION
        Address alias transaction.
      • AGGREGATE_BONDED_TRANSACTION

        public static final EntityTypeDto AGGREGATE_BONDED_TRANSACTION
        Aggregate bonded transaction.
      • AGGREGATE_COMPLETE_TRANSACTION

        public static final EntityTypeDto AGGREGATE_COMPLETE_TRANSACTION
        Aggregate complete transaction.
      • HASH_LOCK_TRANSACTION

        public static final EntityTypeDto HASH_LOCK_TRANSACTION
        Hash lock transaction.
      • MODIFY_MULTISIG_ACCOUNT_TRANSACTION

        public static final EntityTypeDto MODIFY_MULTISIG_ACCOUNT_TRANSACTION
        Modify multisig account 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.
      • MOSAIC_ALIAS_TRANSACTION

        public static final EntityTypeDto MOSAIC_ALIAS_TRANSACTION
        Mosaic alias transaction.
      • REGISTER_NAMESPACE_TRANSACTION

        public static final EntityTypeDto REGISTER_NAMESPACE_TRANSACTION
        Register namespace 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.
      • TRANSFER_TRANSACTION

        public static final EntityTypeDto TRANSFER_TRANSACTION
        Transfer transaction.
      • MOSAIC_ADDRESS_RESTRICTION

        public static final EntityTypeDto MOSAIC_ADDRESS_RESTRICTION
        Mosaic address restriction transaction
      • MOSAIC_GLOBAL_RESTRICTION

        public static final EntityTypeDto MOSAIC_GLOBAL_RESTRICTION
        Mosaic global restriction 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)
        Get enum value.
        Parameters:
        value - Raw value of the enum.
        Returns:
        Enum value.
      • loadFromBinary

        public static EntityTypeDto loadFromBinary​(java.io.DataInput stream)
        Create an instance of EntityTypeDto from a stream.
        Parameters:
        stream - Byte stream to use to serialize the object.
        Returns:
        Instance of EntityTypeDto.
      • getSize

        public int getSize()
        Get the size of the object.
        Returns:
        Size in bytes.
      • serialize

        public byte[] serialize()
        Serialize the object to bytes.
        Returns:
        Serialized bytes.
      • getValue

        public short getValue()