Class RootNamespaceHistoryBuilder

    • Constructor Detail

      • RootNamespaceHistoryBuilder

        protected RootNamespaceHistoryBuilder​(java.io.DataInputStream stream)
        Constructor - Creates an object from stream.
        Parameters:
        stream - Byte stream to use to serialize the object.
      • RootNamespaceHistoryBuilder

        protected RootNamespaceHistoryBuilder​(short version,
                                              NamespaceIdDto id,
                                              AddressDto ownerAddress,
                                              NamespaceLifetimeBuilder lifetime,
                                              NamespaceAliasBuilder rootAlias,
                                              java.util.List<NamespacePathBuilder> paths)
        Constructor.
        Parameters:
        version - Serialization version.
        id - Id of the root namespace history.
        ownerAddress - Namespace owner address.
        lifetime - Lifetime in blocks.
        rootAlias - Root namespace alias.
        paths - Save child sub-namespace paths.
    • Method Detail

      • loadFromBinary

        public static RootNamespaceHistoryBuilder loadFromBinary​(java.io.DataInputStream stream)
        Creates an instance of RootNamespaceHistoryBuilder from a stream.
        Parameters:
        stream - Byte stream to use to serialize the object.
        Returns:
        Instance of RootNamespaceHistoryBuilder.
      • getId

        public NamespaceIdDto getId()
        Gets id of the root namespace history.
        Returns:
        Id of the root namespace history.
      • getOwnerAddress

        public AddressDto getOwnerAddress()
        Gets namespace owner address.
        Returns:
        Namespace owner address.
      • getRootAlias

        public NamespaceAliasBuilder getRootAlias()
        Gets root namespace alias.
        Returns:
        Root namespace alias.
      • getPaths

        public java.util.List<NamespacePathBuilder> getPaths()
        Gets save child sub-namespace paths.
        Returns:
        Save child sub-namespace paths.