Interface Node<N extends Node>

Type Parameters:
N - a node
All Superinterfaces:
Identifiable
All Known Subinterfaces:
Collection, Subtopic, Webpage
All Known Implementing Classes:
CollectionImpl, NodeImpl, SubtopicImpl, WebpageImpl

public interface Node<N extends Node>
extends Identifiable
Node is used to structure cultural content hierarchically.
  • Method Details

    • getParent

      N getParent()
    • setParent

      void setParent​(N parent)
    • getChildren

      java.util.List<N> getChildren()
    • setChildren

      void setChildren​(java.util.List<N> children)
    • addChild

      default void addChild​(N child)