Interface TreeNode<T extends TreeNode<T>>

Type Parameters:
T - type of the tree-nodes.
All Superinterfaces:
io.github.mmm.property.AttributeReadOnly, Entity, EntityBean, io.github.mmm.marshall.MarshallableObject, io.github.mmm.marshall.Marshaller<Object>, io.github.mmm.marshall.Marshalling<Object>, io.github.mmm.marshall.MarshallingObject, ReadableBean, io.github.mmm.value.ReadablePath, io.github.mmm.marshall.id.StructuredIdMappingObject, io.github.mmm.marshall.UnmarshallableObject, io.github.mmm.marshall.Unmarshaller<Object>, io.github.mmm.validation.Validatable, WritableBean, io.github.mmm.value.WritablePath

@AbstractInterface public interface TreeNode<T extends TreeNode<T>> extends EntityBean
EntityBean that represents a node in a tree. The tree hierarchy is defined by the parent relation.
Since:
1.0.0
  • Method Details

    • Parent

      LinkProperty<T> Parent()
      Returns:
      the parent node or null if this is the root node.