Package com.microstrategy.utils
Interface GenericTreeNode<T>
-
- All Known Subinterfaces:
FlattenedTreeNode
,MutableTreeNode<T>
- All Known Implementing Classes:
FlattenedTreeNodeImpl
,GenericTreeNodeImpl
,MutableTreeNodeImpl
public interface GenericTreeNode<T>
- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getChildCount()
Returns the number of children for this node.java.util.Enumeration<GenericTreeNode<T>>
getChildren()
Returns the enumeration of children for this node.java.lang.String
getName()
Returns the name associated with this node, if any.GenericTreeNode<T>
getParent()
Returns the parent of this node.java.lang.Object
getValue()
Returns the value associated with this node, if any.
-
-
-
Method Detail
-
getParent
GenericTreeNode<T> getParent()
Returns the parent of this node.- Returns:
- The
GenericTreeNode
which is the parent of this node, if any.
-
getName
java.lang.String getName()
Returns the name associated with this node, if any.- Returns:
- The name associated with this node, if any.
-
getValue
java.lang.Object getValue()
Returns the value associated with this node, if any.- Returns:
- The value associated with this node, if any.
-
getChildren
java.util.Enumeration<GenericTreeNode<T>> getChildren()
Returns the enumeration of children for this node. It will always return a non-null Enumeration, though it may be empty.- Returns:
- The
Enumeration
of children.
-
getChildCount
int getChildCount()
Returns the number of children for this node.- Returns:
- The number of children for this node.
-
-