Enum KeyTag

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

    public enum KeyTag
    extends java.lang.Enum<KeyTag>
    implements Tag
    Since:
    0.0.1
    See Also:
    StoredValueData
    • Enum Constant Detail

      • ACCOUNT

        public static final KeyTag ACCOUNT
      • HASH

        public static final KeyTag HASH
      • UREF

        public static final KeyTag UREF
      • TRANSFER

        public static final KeyTag TRANSFER
      • DEPLOY_INFO

        public static final KeyTag DEPLOY_INFO
      • ERA_INFO

        public static final KeyTag ERA_INFO
      • BALANCE

        public static final KeyTag BALANCE
      • BID

        public static final KeyTag BID
      • WITHDRAW

        public static final KeyTag WITHDRAW
      • DICTIONARY

        public static final KeyTag DICTIONARY
      • SYSTEM_ENTITY_REGISTRY

        public static final KeyTag SYSTEM_ENTITY_REGISTRY
      • ERA_SUMMARY

        public static final KeyTag ERA_SUMMARY
      • UNBOND

        public static final KeyTag UNBOND
      • CHAINSPEC_REGISTRY

        public static final KeyTag CHAINSPEC_REGISTRY
      • CHECKSUM_REGISTRY

        public static final KeyTag CHECKSUM_REGISTRY
      • BID_ADDR

        public static final KeyTag BID_ADDR
      • PACKAGE

        public static final KeyTag PACKAGE
      • ADDRESSABLE_ENTITY

        public static final KeyTag ADDRESSABLE_ENTITY
      • BYTE_CODE

        public static final KeyTag BYTE_CODE
      • MESSAGE

        public static final KeyTag MESSAGE
      • NAMED_KEY

        public static final KeyTag NAMED_KEY
      • BLOCK_GLOBAL

        public static final KeyTag BLOCK_GLOBAL
      • ENTRY_POINT

        public static final KeyTag ENTRY_POINT
      • BALANCE_HOLD

        public static final KeyTag BALANCE_HOLD
    • Method Detail

      • values

        public static KeyTag[] 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 (KeyTag c : KeyTag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KeyTag 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
      • getKeyName

        public java.lang.String getKeyName()
      • getByteTag

        public byte getByteTag()
        Specified by:
        getByteTag in interface Tag
      • getKeyClass

        public java.lang.Class<? extends Key> getKeyClass()
      • getKeyNames

        public java.lang.String[] getKeyNames()