Package org.polkadot.types.metadata.v1
Class MetadataV1.MetadataModule
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Codec>
-
- org.polkadot.types.codec.Struct
-
- org.polkadot.types.metadata.v1.MetadataV1.MetadataModule
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
- Enclosing class:
- MetadataV1
public static class MetadataV1.MetadataModule extends Struct
The definition of a module in the system- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetadataModule(java.lang.Object value)
-
Method Summary
Modifier and Type Method Description Option<Vector<Calls.MetadataCall>>getCalls()the module callsOption<Vector<Events.MetadataEvent>>getEvents()the module eventsTextgetName()the module nameTextgetPrefix()the module prefixOption<Vector<Storage.MetadataStorageV1>>getStorage()the associated module storage-
Methods inherited from class org.polkadot.types.codec.Struct
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
getCalls
public Option<Vector<Calls.MetadataCall>> getCalls()
the module calls
-
getEvents
public Option<Vector<Events.MetadataEvent>> getEvents()
the module events
-
getName
public Text getName()
the module name
-
getPrefix
public Text getPrefix()
the module prefix
-
getStorage
public Option<Vector<Storage.MetadataStorageV1>> getStorage()
the associated module storage
-
-