Package org.symbol.sdk.nem.descriptors
Class NamespaceIdDescriptor
java.lang.Object
org.symbol.sdk.nem.descriptors.NamespaceIdDescriptor
- All Implemented Interfaces:
- NamespaceIdDescriptor
Type safe descriptor used to generate a descriptor map for NamespaceIdDescriptor.
binary layout for a namespace id
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NamespaceIdDescriptor
public NamespaceIdDescriptor(byte[] name) Creates a descriptor for NamespaceId.- Parameters:
name- name (field is omitted when null)
-
-
Method Details
-
toMap
- NamespaceIdDescriptor.toMap
Builds a representation of this descriptor that can be passed to a factory function.
- Specified by:
toMapin interfaceTypedDescriptor- Returns:
Descriptor map that can be passed to a transaction factory.
-