com.stratelia.silverpeas.treeManager.model
Class Tree

java.lang.Object
  extended by com.stratelia.silverpeas.treeManager.model.Tree
All Implemented Interfaces:
Serializable

public class Tree
extends Object
implements Serializable

Class declaration

Author:
See Also:
Serialized Form

Constructor Summary
Tree(List<TreeNode> treeNodes)
          Constructor declaration
 
Method Summary
 int getDepth()
          Method declaration
 TreeNode getRoot()
          Method declaration
 List<TreeNode> getTree()
          Method declaration
 void setTree(List<TreeNode> treeNodes)
          Method declaration
 String toString()
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tree

public Tree(List<TreeNode> treeNodes)
Constructor declaration

Parameters:
treeNodes -
See Also:
Method Detail

getTree

public List<TreeNode> getTree()
Method declaration

Returns:
See Also:

setTree

public void setTree(List<TreeNode> treeNodes)
Method declaration

Parameters:
treeNodes -
See Also:

getDepth

public int getDepth()
Method declaration

Returns:
See Also:

getRoot

public TreeNode getRoot()
Method declaration

Returns:
See Also:

toString

public String toString()
Method declaration

Overrides:
toString in class Object
Returns:
See Also:


Copyright © 2016 Silverpeas. All Rights Reserved.