Class Storage.MetadataStorageModifier

  • All Implemented Interfaces:
    Codec
    Enclosing interface:
    Storage

    public static class Storage.MetadataStorageModifier
    extends EnumType
    • Constructor Detail

      • MetadataStorageModifier

        public MetadataStorageModifier​(java.lang.Object value)
      • MetadataStorageModifier

        public MetadataStorageModifier​(java.lang.Object value,
                                       int index)
    • Method Detail

      • isOptional

        public boolean isOptional()
        `true` if the storage entry is optional
      • toJson

        public java.lang.Object toJson()
        Description copied from class: EnumType
        Converts the Object to JSON, typically used for RPC transfers
        Specified by:
        toJson in interface Codec
        Overrides:
        toJson in class EnumType