HierarchicalElement

Represents an element which belongs to some hierarchy.

Since

1.0

Inheritors

Functions

Link copied to clipboard
Returns the child elements, or the empty set if there are no child elements.
Link copied to clipboard
@Nullable
abstract fun getDescription(): @Nullable String
Returns the description of the element, or null if it has no description.
Link copied to clipboard
abstract fun getName(): String
Returns the name of the element.
Link copied to clipboard
@Nullable
abstract fun getParent(): @Nullable HierarchicalElement
Returns the parent of this element, or null if there is no parent.