Package com.microstrategy.utils
Interface FlattenedTreeNode
-
- All Superinterfaces:
GenericTreeNode
- All Known Implementing Classes:
FlattenedTreeNodeImpl
public interface FlattenedTreeNode extends GenericTreeNode
When a Tree is flattened into an Enumeration, the objects returned are of this type. As they are "flattened", they have a "location" string which identifies their place in the surrounding tree. Moreover, the nodes returned are not mutable (as changing their position in the tree would invalidate the location strings that were generated).- Since:
- MicroStrategy Web 9.0.0
- See Also:
PreorderEnumeration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLocation()
Returns the location of this node in the larger tree using a modified Dewey Decimal notation.-
Methods inherited from interface com.microstrategy.utils.GenericTreeNode
getChildCount, getChildren, getName, getParent, getValue
-
-
-
-
Method Detail
-
getLocation
java.lang.String getLocation()
Returns the location of this node in the larger tree using a modified Dewey Decimal notation. The location of the root node in the first tree is "0". The location of the second root node (assuming it is a forest of tree node that we are flattening) is "1". The first child of the first root node is "0/0".- Returns:
- The location of this node in the tree it is contained in.
-
-