Package org.polkadot.types.primitive
Class StorageKey.StorageFunction
- java.lang.Object
-
- org.polkadot.types.primitive.StorageKey.StorageFunction
-
- All Implemented Interfaces:
IFunction<byte[]>
- Direct Known Subclasses:
Types.QueryableStorageFunction
- Enclosing class:
- StorageKey
public abstract static class StorageKey.StorageFunction extends java.lang.Object implements IFunction<byte[]>
-
-
Field Summary
Fields Modifier and Type Field Description protected Modules.StorageFunctionMetadatametaprotected java.lang.Stringmethodprotected java.lang.Stringsection
-
Constructor Summary
Constructors Constructor Description StorageFunction()
-
Method Summary
Modifier and Type Method Description abstract byte[]apply(java.lang.Object... args)StorageKeygetHeadKey()Modules.StorageFunctionMetadatagetMeta()java.lang.StringgetMethod()java.lang.StringgetSection()voidsetHeadKey(StorageKey headKey)voidsetMeta(Modules.StorageFunctionMetadata meta)voidsetMethod(java.lang.String method)voidsetSection(java.lang.String section)abstract java.lang.ObjecttoJson()
-
-
-
Field Detail
-
meta
protected Modules.StorageFunctionMetadata meta
-
method
protected java.lang.String method
-
section
protected java.lang.String section
-
-
Method Detail
-
apply
public abstract byte[] apply(java.lang.Object... args)
-
toJson
public abstract java.lang.Object toJson()
-
getMeta
public Modules.StorageFunctionMetadata getMeta()
-
setMeta
public void setMeta(Modules.StorageFunctionMetadata meta)
-
getMethod
public java.lang.String getMethod()
-
setMethod
public void setMethod(java.lang.String method)
-
getSection
public java.lang.String getSection()
-
setSection
public void setSection(java.lang.String section)
-
getHeadKey
public StorageKey getHeadKey()
-
setHeadKey
public void setHeadKey(StorageKey headKey)
-
-